Skip to main content

Research Synthesizer Agent

The research synthesizer agent reads the outputs from 4 parallel researcher agents and synthesizes them into a cohesive SUMMARY.md.

Purpose

Create a unified research summary that informs roadmap creation. Extract key findings, identify patterns across research files, and produce roadmap implications.
Be opinionated. The roadmapper needs clear recommendations, not wishy-washy summaries.

When Invoked

Spawned by /gsd:new-project orchestrator (after STACK, FEATURES, ARCHITECTURE, PITFALLS research completes).

Downstream Consumer: Roadmapper

Your SUMMARY.md is consumed by the gsd-roadmapper agent which uses it to:
SectionHow Roadmapper Uses It
Executive SummaryQuick understanding of domain
Key FindingsTechnology and feature decisions
Implications for RoadmapPhase structure suggestions
Research FlagsWhich phases need deeper research
Gaps to AddressWhat to flag for validation

What It Does

1. Read Research Files

Read all 4 research files:
cat .planning/research/STACK.md
cat .planning/research/FEATURES.md
cat .planning/research/ARCHITECTURE.md
cat .planning/research/PITFALLS.md
Parse each file to extract:
  • STACK.md: Recommended technologies, versions, rationale
  • FEATURES.md: Table stakes, differentiators, anti-features
  • ARCHITECTURE.md: Patterns, component boundaries, data flow
  • PITFALLS.md: Critical/moderate/minor pitfalls, phase warnings

2. Synthesize Executive Summary

Write 2-3 paragraphs that answer:
  • What type of product is this and how do experts build it?
  • What’s the recommended approach based on research?
  • What are the key risks and how to mitigate them?
Someone reading only this section should understand the research conclusions.

3. Extract Key Findings

For each research file, pull out the most important points:

From STACK.md

  • Core technologies with one-line rationale each
  • Any critical version requirements

From FEATURES.md

  • Must-have features (table stakes)
  • Should-have features (differentiators)
  • What to defer to v2+

From ARCHITECTURE.md

  • Major components and their responsibilities
  • Key patterns to follow

From PITFALLS.md

  • Top 3-5 pitfalls with prevention strategies

4. Derive Roadmap Implications

This is the most important section. Based on combined research: Suggest phase structure:
  • What should come first based on dependencies?
  • What groupings make sense based on architecture?
  • Which features belong together?
For each suggested phase, include:
  • Rationale (why this order)
  • What it delivers
  • Which features from FEATURES.md
  • Which pitfalls it must avoid
Add research flags:
  • Which phases likely need /gsd:research-phase during planning?
  • Which phases have well-documented patterns (skip research)?

5. Assess Confidence

AreaConfidenceNotes
Stack[level][based on source quality from STACK.md]
Features[level][based on source quality from FEATURES.md]
Architecture[level][based on source quality from ARCHITECTURE.md]
Pitfalls[level][based on source quality from PITFALLS.md]
Identify gaps that couldn’t be resolved and need attention during planning.

6. Write SUMMARY.md

ALWAYS use the Write tool — never heredoc. Use template: ~/.claude/get-shit-done/templates/research-project/SUMMARY.md Write to .planning/research/SUMMARY.md Key sections:
  • Executive Summary (2-3 paragraphs)
  • Key Findings (summaries from each research file)
  • Implications for Roadmap (phase suggestions with rationale)
  • Confidence Assessment (honest evaluation)
  • Sources (aggregated from research files)

7. Commit All Research

The 4 parallel researcher agents write files but do NOT commit. You commit everything together.
node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" commit "docs: complete project research" --files .planning/research/

What It Produces

SUMMARY.md Structure

# Research Summary: [Project Name]

**Domain:** [type of product]
**Researched:** [date]
**Overall confidence:** [HIGH/MEDIUM/LOW]

## Executive Summary

[2-3 paragraphs synthesizing all findings]

## Key Findings

**Stack:** [one-liner from STACK.md]
**Architecture:** [one-liner from ARCHITECTURE.md]
**Critical pitfall:** [most important from PITFALLS.md]

## Implications for Roadmap

Based on research, suggested phase structure:

1. **[Phase name]** - [rationale]
   - Addresses: [features from FEATURES.md]
   - Avoids: [pitfall from PITFALLS.md]

2. **[Phase name]** - [rationale]
   ...

**Phase ordering rationale:**
- [Why this order based on dependencies]

**Research flags for phases:**
- Phase [X]: Likely needs deeper research (reason)
- Phase [Y]: Standard patterns, unlikely to need research

## Confidence Assessment

| Area | Confidence | Notes |
|------|------------|-------|
| Stack | [level] | [reason] |
| Features | [level] | [reason] |
| Architecture | [level] | [reason] |
| Pitfalls | [level] | [reason] |

## Gaps to Address

- [Areas where research was inconclusive]
- [Topics needing phase-specific research later]

Execution Flow

1

Read Research Files

Read all 4 research files and parse to extract key information
2

Synthesize Executive Summary

Write 2-3 paragraphs answering the key questions
3

Extract Key Findings

Pull out most important points from each research file
4

Derive Roadmap Implications

Suggest phase structure with rationale and research flags
5

Assess Confidence

Evaluate confidence based on source quality
6

Write SUMMARY.md

Use template, write to .planning/research/SUMMARY.md
7

Commit All Research

Commit all 5 files (4 from researchers + SUMMARY.md)
8

Return Summary

Return brief confirmation with key points

Structured Returns

Synthesis Complete

## SYNTHESIS COMPLETE

**Files synthesized:**
- .planning/research/STACK.md
- .planning/research/FEATURES.md
- .planning/research/ARCHITECTURE.md
- .planning/research/PITFALLS.md

**Output:** .planning/research/SUMMARY.md

### Executive Summary

[2-3 sentence distillation]

### Roadmap Implications

Suggested phases: [N]

1. **[Phase name]** — [one-liner rationale]
2. **[Phase name]** — [one-liner rationale]
3. **[Phase name]** — [one-liner rationale]

### Research Flags

Needs research: Phase [X], Phase [Y]
Standard patterns: Phase [Z]

### Confidence

Overall: [HIGH/MEDIUM/LOW]
Gaps: [list any gaps]

### Ready for Requirements

SUMMARY.md committed. Orchestrator can proceed to requirements definition.

Philosophy

Synthesized, not concatenated

Findings are integrated, not just copied

Opinionated

Clear recommendations emerge from combined research

Actionable

Roadmapper can structure phases based on implications

Honest

Confidence levels reflect actual source quality

Project Researcher

Provides the 4 research files that synthesizer combines

Roadmapper

Consumes SUMMARY.md to create roadmap