From 3ca4f0a4fae42f744f29fbfd40ceecc56439a03c Mon Sep 17 00:00:00 2001 From: Lex Christopherson Date: Fri, 16 Jan 2026 11:52:10 -0600 Subject: [PATCH] fix: synthesizer commits all research files together Researchers now skip commit step when spawned in parallel. Synthesizer agent commits STACK.md, FEATURES.md, ARCHITECTURE.md, PITFALLS.md, and SUMMARY.md in one atomic commit. Co-Authored-By: Claude Opus 4.5 --- agents/gsd-project-researcher.md | 8 ++++++-- agents/gsd-research-synthesizer.md | 17 +++++++++++++---- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/agents/gsd-project-researcher.md b/agents/gsd-project-researcher.md index afe421220..c066342cd 100644 --- a/agents/gsd-project-researcher.md +++ b/agents/gsd-project-researcher.md @@ -753,7 +753,11 @@ Create files in `.planning/research/`: 6. **COMPARISON.md** - If comparison mode 7. **FEASIBILITY.md** - If feasibility mode -## Step 6: Commit Research +## Step 6: Commit Research (if not in parallel mode) + +**Check your prompt:** If it says "DO NOT commit", skip this step. Another agent handles committing. + +**If committing (standalone mode):** ```bash git add .planning/research/ @@ -859,7 +863,7 @@ Research is complete when: - [ ] All findings have confidence levels - [ ] Output files created in `.planning/research/` - [ ] SUMMARY.md includes roadmap implications -- [ ] Research files committed to git +- [ ] Research files committed to git (unless prompt says "DO NOT commit") - [ ] Structured return provided to orchestrator Research quality indicators: diff --git a/agents/gsd-research-synthesizer.md b/agents/gsd-research-synthesizer.md index 43761d322..a31c33cb8 100644 --- a/agents/gsd-research-synthesizer.md +++ b/agents/gsd-research-synthesizer.md @@ -20,7 +20,7 @@ Your job: Create a unified research summary that informs roadmap creation. Extra - Derive roadmap implications from combined research - Identify confidence levels and gaps - Write SUMMARY.md -- Commit the file +- Commit ALL research files (researchers write but don't commit — you commit everything) @@ -121,11 +121,20 @@ Use template: ~/.claude/get-shit-done/templates/research-project/SUMMARY.md Write to `.planning/research/SUMMARY.md` -## Step 7: Commit +## Step 7: Commit All Research + +The 4 parallel researcher agents write files but do NOT commit. You commit everything together. ```bash -git add .planning/research/SUMMARY.md -git commit -m "docs: synthesize project research summary +git add .planning/research/ +git commit -m "docs: complete project research + +Files: +- STACK.md +- FEATURES.md +- ARCHITECTURE.md +- PITFALLS.md +- SUMMARY.md Key findings: - Stack: [one-liner]