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>
3.1 KiB
3.1 KiB
name, description, allowed-tools
| name | description | allowed-tools | |||
|---|---|---|---|---|---|
| gsd:settings | Configure GSD workflow toggles (research, plan checker, verifier) |
|
Updates .planning/config.json with workflow preferences that control whether research, plan checking, and verification agents are spawned.
1. Validate Environment
ls .planning/config.json 2>/dev/null
If not found: Error - run /gsd:new-project first.
2. Read Current Config
cat .planning/config.json
Parse current values (default to true if not present):
workflow.research— spawn researcher during plan-phaseworkflow.plan_check— spawn plan checker during plan-phaseworkflow.verifier— spawn verifier during execute-phase
3. Present Settings
Use AskUserQuestion with current values shown:
AskUserQuestion([
{
question: "Spawn Plan Researcher? (researches domain before planning)",
header: "Research",
multiSelect: false,
options: [
{ label: "Yes", description: "Research phase goals before planning" },
{ label: "No", description: "Skip research, plan directly" }
]
},
{
question: "Spawn Plan Checker? (verifies plans before execution)",
header: "Plan Check",
multiSelect: false,
options: [
{ label: "Yes", description: "Verify plans meet phase goals" },
{ label: "No", description: "Skip plan verification" }
]
},
{
question: "Spawn Execution Verifier? (verifies phase completion)",
header: "Verifier",
multiSelect: false,
options: [
{ label: "Yes", description: "Verify must-haves after execution" },
{ label: "No", description: "Skip post-execution verification" }
]
}
])
Pre-select based on current config values.
4. Update Config
Merge new workflow settings into existing config.json:
{
...existing_config,
"workflow": {
"research": true/false,
"plan_check": true/false,
"verifier": true/false
}
}
Write updated config to .planning/config.json.
5. Confirm Changes
Display:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
GSD ► SETTINGS UPDATED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
| Setting | Value |
|----------------------|-------|
| Plan Researcher | {On/Off} |
| Plan Checker | {On/Off} |
| Execution Verifier | {On/Off} |
These settings apply to future /gsd:plan-phase and /gsd:execute-phase runs.
Override per-invocation with flags:
- /gsd:plan-phase --research (force research)
- /gsd:plan-phase --skip-research (skip research)
- /gsd:plan-phase --skip-verify (skip plan check)
<success_criteria>
- Current config read
- User presented with 3 toggle questions
- Config updated with workflow section
- Changes confirmed to user </success_criteria>