Update story 44: server auto-commits instead of rejecting uncommitted changes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dave
2026-02-20 14:51:57 +00:00
parent fc93475c78
commit 8003a98a35

View File

@@ -12,7 +12,7 @@ As an agent finishing work on a story, I want to report my completion status via
## Acceptance Criteria
- [ ] MCP tool report_completion(story_id, agent_name, summary) allows agents to signal they are done
- [ ] Server rejects the report if the agent's worktree has uncommitted changes
- [ ] Server auto-commits all changes in the worktree (git add -A && git commit) with a deterministic message before running gates — agents do NOT need to commit themselves
- [ ] Server runs acceptance gates (clippy, tests) automatically on report
- [ ] Completion status and results are stored on the agent record for retrieval by wait_for_agent or the supervisor
- [ ] Agent prompts are updated to call report_completion as their final action