feat(settings): add /gsd:settings command for workflow toggles

Adds interactive settings command to toggle workflow agents:
- Plan Researcher (workflow.research)
- Plan Checker (workflow.plan_check)
- Execution Verifier (workflow.verifier)

Updates plan-phase.md and execute-phase.md to check config before
spawning these agents. Flags still override config per-invocation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Lex Christopherson
2026-01-19 23:42:48 -06:00
parent d77141e985
commit cffb3f24cd
5 changed files with 155 additions and 9 deletions

View File

@@ -79,6 +79,11 @@ Phase: $ARGUMENTS
**If clean:** Continue to verification.
7. **Verify phase goal**
Check config: `WORKFLOW_VERIFIER=$(cat .planning/config.json 2>/dev/null | grep -o '"verifier"[[:space:]]*:[[:space:]]*[^,}]*' | grep -o 'true\|false' || echo "true")`
**If `workflow.verifier` is `false`:** Skip to step 8 (treat as passed).
**Otherwise:**
- 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