feat: add gsd-verifier subagent for phase goal verification

- gsd-verifier.md: dedicated verification subagent with all logic baked in
- Goal-backward verification: checks codebase, not SUMMARY claims
- Creates VERIFICATION.md, returns status to orchestrator
- execute-phase spawns gsd-verifier instead of general-purpose

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Lex Christopherson
2026-01-15 09:51:14 -06:00
parent 82c522b8c3
commit f3f6707cbe
3 changed files with 711 additions and 20 deletions

View File

@@ -25,8 +25,6 @@ Context budget: ~15% orchestrator, 100% fresh per subagent.
<execution_context>
@~/.claude/get-shit-done/references/principles.md
@~/.claude/get-shit-done/workflows/execute-phase.md
@~/.claude/get-shit-done/templates/subagent-verify-prompt.md
@~/.claude/get-shit-done/workflows/verify-phase.md
</execution_context>
<context>
@@ -65,8 +63,9 @@ Phase: $ARGUMENTS
- Report phase completion status
6. **Verify phase goal**
- Spawn verification subagent (uses subagent-verify-prompt.md)
- Verify must_haves from plan frontmatter against actual codebase
- Spawn `gsd-verifier` subagent with phase directory and goal
- Verifier checks must_haves against actual codebase (not SUMMARY claims)
- Creates VERIFICATION.md with detailed report
- If gaps found: create fix plans, execute, re-verify (max 3 cycles)
- If human verification needed: present items to user
- Block until verification passes or user approves