Update story 50: add integration tests and lifecycle coverage

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dave
2026-02-20 15:43:17 +00:00
parent b1b9799e9e
commit 26023bcb06

View File

@@ -18,8 +18,12 @@ As a developer, I want a single `.story_kit/current/` directory (outside of `sto
- [ ] All existing references to `.story_kit/stories/current/` are updated (server code, tests, MCP tools) - [ ] All existing references to `.story_kit/stories/current/` are updated (server code, tests, MCP tools)
- [ ] Migrate any files currently in `.story_kit/stories/current/` to `.story_kit/current/` - [ ] Migrate any files currently in `.story_kit/stories/current/` to `.story_kit/current/`
- [ ] Auto-commits use deterministic messages for all moves - [ ] Auto-commits use deterministic messages for all moves
- [ ] Integration test: full story lifecycle — create_story → start_agent (moves to current/) → check_criterion → accept_story (moves to stories/archived/)
- [ ] Integration test: full bug lifecycle — create_bug → start_agent (moves to current/) → close_bug (moves to bugs/archive/)
- [ ] Integration test: full spike lifecycle — start_agent (moves to current/) → completion (moves back or archives)
- [ ] All deterministic MCP tools (`create_story`, `accept_story`, `close_bug`, `check_criterion`, `set_test_plan`, `start_agent`) resolve paths correctly against the new directory layout
- [ ] `list_current` MCP tool (or update `list_agents`) shows all items in `.story_kit/current/` with their type (story/bug/spike)
## Out of Scope ## Out of Scope
- Spike lifecycle (create/archive) — can follow later
- UI changes to display current work items - UI changes to display current work items