Commit Graph

13 Commits

Author SHA1 Message Date
Dave
31037f5bf5 Remove test_plan gate from the codebase
The test_plan field was a gate from the old interactive web UI workflow
where a human would approve a test plan before the LLM could write code.
With autonomous coder agents, this gate is dead weight — coders sometimes
obey the README's "wait for approval" instruction and produce no code.

Removes: TestPlanStatus enum, ensure_test_plan_approved checks in fs/shell,
set_test_plan MCP tool + handler, test_plan from story/bug front matter
creation, test_plan validation in validate_story_dirs, and all related tests.
Updates README to remove Step 2 (Test Planning) and renumber steps.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 19:12:05 +00:00
Dave
da9e41293c Removing concrete technology mentions in story kit README, those living tech specs 2026-02-23 11:53:06 +00:00
Dave
83b2e0e700 Bringing README up to date. 2026-02-23 11:51:35 +00:00
Dave
b089d314ba Add user testing step to bug workflow before merge
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 12:03:22 +00:00
Dave
44fdaf4fd6 Update bug workflow: require failing test first and worktree
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 11:54:55 +00:00
Dave
94d05c905b Noting existence of mcp server 2026-02-19 19:46:48 +00:00
Dave
45f1234a06 Accept spike 2: MCP HTTP endpoint for workflow and agent tools
Adds POST /mcp endpoint speaking MCP Streamable HTTP (JSON-RPC 2.0)
with 12 tools for workflow management and agent orchestration.
Supports both JSON and SSE response modes. Includes real-time agent
output streaming over SSE, Content-Type validation, and 15 integration
tests (134 total).

Tools: create_story, validate_stories, list_upcoming, get_story_todos,
record_tests, ensure_acceptance, start_agent, stop_agent, list_agents,
get_agent_config, reload_agent_config, get_agent_output.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 19:34:03 +00:00
Dave
c94b3d4450 Accept story 36: Enforce Front Matter on All Story Files
Add POST /workflow/stories/create endpoint that auto-assigns story
numbers, generates correct front matter, and writes to upcoming/.
Add slugify_name and next_story_number helpers with full test coverage.
Add frontend createStory API method and types.
Update README to recommend creation API for agents.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 18:02:48 +00:00
Dave
8f684a6ca4 Story 27: Coverage tracking (full-stack)
Add end-to-end coverage tracking: backend collects vitest coverage,
records metrics with threshold/baseline tracking, and blocks acceptance
on regression. Frontend displays coverage in gate/review panels with
a "Collect Coverage" button. Includes 20 Rust tests, 17 Vitest tests,
and 14 Playwright E2E tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 14:45:57 +00:00
Dave
d0a1da2176 Update Story Kit workflow docs and move story 26 2026-02-17 14:12:45 +00:00
Dave
3302b62839 Rename workflow to story-driven test workflow 2026-02-17 13:38:31 +00:00
Dave
4c887d93b5 Refocus workflow on TDD and reorganize stories 2026-02-17 13:34:32 +00:00
Dave
3865883998 Renamed living spec to Story Kit 2026-02-16 15:44:20 +00:00