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 <noreply@anthropic.com>
This commit is contained in:
Lex Christopherson
2026-01-16 11:52:10 -06:00
parent daa54737cf
commit 3ca4f0a4fa
2 changed files with 19 additions and 6 deletions

View File

@@ -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:

View File

@@ -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)
</role>
<downstream_consumer>
@@ -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]