fix(#484): persist research decision from new-milestone to config

When user selects "Skip research" during /gsd:new-milestone, the choice
was not saved to .planning/config.json. Later, /gsd:plan-phase would
read the default (research: true) and spawn researchers anyway.

- Add `config-set` command to gsd-tools.js for setting nested config values
- Update new-milestone workflow to persist research choice after user decides

Closes #484

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Lex Christopherson
2026-02-08 09:47:15 -06:00
parent 06399ec4a6
commit 767bef64ef
2 changed files with 60 additions and 0 deletions

View File

@@ -88,6 +88,16 @@ AskUserQuestion: "Research the domain ecosystem for new features before defining
- "Research first (Recommended)" — Discover patterns, features, architecture for NEW capabilities
- "Skip research" — Go straight to requirements
**Persist choice to config** (so future `/gsd:plan-phase` honors it):
```bash
# If "Research first": persist true
node ~/.claude/get-shit-done/bin/gsd-tools.js config-set workflow.research true
# If "Skip research": persist false
node ~/.claude/get-shit-done/bin/gsd-tools.js config-set workflow.research false
```
**If "Research first":**
```