diff --git a/commands/gsd/verify-work.md b/commands/gsd/verify-work.md index c5ebb53a8..8cd4f5c30 100644 --- a/commands/gsd/verify-work.md +++ b/commands/gsd/verify-work.md @@ -61,6 +61,150 @@ Phase: $ARGUMENTS (optional) - Don't fix issues during testing — log as gaps, diagnose after all tests complete + +Output this markdown directly (not as a code block). Route based on UAT results: + +| Status | Route | +|--------|-------| +| All tests pass + more phases | Route A (next phase) | +| All tests pass + last phase | Route B (milestone complete) | +| Issues found + fix plans ready | Route C (execute fixes) | +| Issues found + planning blocked | Route D (manual intervention) | + +--- + +**Route A: All tests pass, more phases remain** + +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + GSD ► PHASE {Z} VERIFIED ✓ +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + +**Phase {Z}: {Name}** + +{N}/{N} tests passed +UAT complete ✓ + +─────────────────────────────────────────────────────────────── + +## ▶ Next Up + +**Phase {Z+1}: {Name}** — {Goal from ROADMAP.md} + +/gsd:discuss-phase {Z+1} — gather context and clarify approach + +/clear first → fresh context window + +─────────────────────────────────────────────────────────────── + +**Also available:** +- /gsd:plan-phase {Z+1} — skip discussion, plan directly +- /gsd:execute-phase {Z+1} — skip to execution (if already planned) + +─────────────────────────────────────────────────────────────── + +--- + +**Route B: All tests pass, milestone complete** + +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + GSD ► PHASE {Z} VERIFIED ✓ +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + +**Phase {Z}: {Name}** + +{N}/{N} tests passed +Final phase verified ✓ + +─────────────────────────────────────────────────────────────── + +## ▶ Next Up + +**Audit milestone** — verify requirements, cross-phase integration, E2E flows + +/gsd:audit-milestone + +/clear first → fresh context window + +─────────────────────────────────────────────────────────────── + +**Also available:** +- /gsd:complete-milestone — skip audit, archive directly + +─────────────────────────────────────────────────────────────── + +--- + +**Route C: Issues found, fix plans ready** + +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + GSD ► PHASE {Z} ISSUES FOUND ⚠ +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + +**Phase {Z}: {Name}** + +{N}/{M} tests passed +{X} issues diagnosed +Fix plans verified ✓ + +### Issues Found + +{List issues with severity from UAT.md} + +─────────────────────────────────────────────────────────────── + +## ▶ Next Up + +**Execute fix plans** — run diagnosed fixes + +/gsd:execute-phase {Z} + +/clear first → fresh context window + +─────────────────────────────────────────────────────────────── + +**Also available:** +- cat .planning/phases/{phase_dir}/*-PLAN.md — review fix plans +- /gsd:plan-phase {Z} --gaps — regenerate fix plans + +─────────────────────────────────────────────────────────────── + +--- + +**Route D: Issues found, planning blocked** + +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + GSD ► PHASE {Z} BLOCKED ✗ +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + +**Phase {Z}: {Name}** + +{N}/{M} tests passed +Fix planning blocked after {X} iterations + +### Unresolved Issues + +{List blocking issues from planner/checker output} + +─────────────────────────────────────────────────────────────── + +## ▶ Next Up + +**Manual intervention required** + +Review the issues above and either: +1. Provide guidance for fix planning +2. Manually address blockers +3. Accept current state and continue + +─────────────────────────────────────────────────────────────── + +**Options:** +- /gsd:plan-phase {Z} --gaps — retry fix planning with guidance +- /gsd:discuss-phase {Z} — gather more context before replanning + +─────────────────────────────────────────────────────────────── + + - [ ] UAT.md created with tests from SUMMARY.md - [ ] Tests presented one at a time with expected behavior