diff --git a/.huskies/work/1_backlog/492_story_remove_filesystem_pipeline_state_and_store_story_content_in_database.md b/.huskies/work/1_backlog/492_story_remove_filesystem_pipeline_state_and_store_story_content_in_database.md new file mode 100644 index 00000000..4d22295d --- /dev/null +++ b/.huskies/work/1_backlog/492_story_remove_filesystem_pipeline_state_and_store_story_content_in_database.md @@ -0,0 +1,23 @@ +--- +name: "Remove filesystem pipeline state and store story content in database" +--- + +# Story 492: Remove filesystem pipeline state and store story content in database + +## User Story + +As a developer, I want to remove the .huskies/work/ stage directories entirely and store story content (markdown, front matter) in the database, so the CRDT + SQLite is the sole source of truth. + +## Acceptance Criteria + +- [ ] Story markdown content and front matter stored in SQLite (backend-agnostic schema) +- [ ] .huskies/work/ stage directories no longer used for pipeline state or story storage +- [ ] All pipeline operations (create, move, read, delete stories) work against the database +- [ ] Migration path for existing projects: on startup, import any .huskies/work/ stories into the DB and archive the directories +- [ ] Worktrees and config files (project.toml, agents.toml, bot.toml) remain on filesystem +- [ ] agent: coder-opus +- [ ] depends_on: [491] + +## Out of Scope + +- TBD