From 4c51258a17bf43bef3cbe2daf1574d1eec71b1ca Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 7 Apr 2026 12:33:14 +0000 Subject: [PATCH] huskies: create 492_story_remove_filesystem_pipeline_state_and_store_story_content_in_database --- ...ate_and_store_story_content_in_database.md | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .huskies/work/1_backlog/492_story_remove_filesystem_pipeline_state_and_store_story_content_in_database.md 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