feat: add gsd-research-synthesizer agent for SUMMARY.md creation

- Create dedicated synthesizer agent to handle research synthesis
- Move SUMMARY.md creation from main orchestrator to subagent
- Reduces main context usage (~2000+ lines of research output)
- Synthesizer reads 4 research files and produces unified summary

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Lex Christopherson
2026-01-16 11:26:19 -06:00
parent 18351fe3e4
commit 1d155e978b
2 changed files with 258 additions and 17 deletions

View File

@@ -464,28 +464,31 @@ Use template: ~/.claude/get-shit-done/templates/research-project/PITFALLS.md
", subagent_type="gsd-project-researcher", description="Pitfalls research")
```
After all agents complete, synthesize `.planning/research/SUMMARY.md`:
- Executive summary from all 4 files
- Key findings (one-liner each)
- Implications for roadmap (suggested phase structure)
- Confidence assessment
After all 4 agents complete, spawn synthesizer to create SUMMARY.md:
**Commit research:**
```
Task(prompt="
<task>
Synthesize research outputs into SUMMARY.md.
</task>
```bash
git add .planning/research/
git commit -m "$(cat <<'EOF'
docs: research [domain] ecosystem
<research_files>
Read these files:
- .planning/research/STACK.md
- .planning/research/FEATURES.md
- .planning/research/ARCHITECTURE.md
- .planning/research/PITFALLS.md
</research_files>
Key findings:
- Stack: [one-liner]
- Architecture: [one-liner]
- Critical pitfall: [one-liner]
EOF
)"
<output>
Write to: .planning/research/SUMMARY.md
Use template: ~/.claude/get-shit-done/templates/research-project/SUMMARY.md
Commit after writing.
</output>
", subagent_type="gsd-research-synthesizer", description="Synthesize research")
```
Display key findings summary to user.
Display key findings summary to user from synthesizer output.
**If "Skip research":** Continue to Phase 7.