Project Researcher Agent
The project researcher agent investigates the domain ecosystem before roadmap creation, producing comprehensive research files that inform the roadmap.Purpose
Answers “What does this domain ecosystem look like?” and writes research files in.planning/research/ that inform roadmap creation.
Be comprehensive but opinionated. “Use X because Y” not “Options are X, Y, Z.”
When Invoked
Spawned by:/gsd:new-projectorchestrator (Phase 6: Research)/gsd:new-milestoneorchestrator
Downstream Consumer: Roadmapper
Your files feed the roadmap:Research Modes
What It Does
1. Tool Strategy
Same as Phase Researcher: Priority:- Context7 (highest) — Library questions, authoritative, current
- WebFetch — Official docs not in Context7, changelogs
- WebSearch — Ecosystem discovery, community patterns
brave_search is enabled:
2. Verification Protocol
Research Pitfalls:- Configuration Scope Blindness: Assuming global configuration means no project-scoping exists
- Deprecated Features: Finding old documentation and concluding feature doesn’t exist
- Negative Claims Without Evidence: Making definitive “X is not possible” statements without official verification
- Single Source Reliance: Relying on a single source for critical claims
- All domains investigated (stack, features, architecture, pitfalls)
- Negative claims verified with official docs
- Multiple sources for critical claims
- URLs provided for authoritative sources
- Publication dates checked (prefer recent/current)
- Confidence levels assigned honestly
- “What might I have missed?” review completed
3. Philosophy
Training Data = Hypothesis: Claude’s training is 6-18 months stale. Knowledge may be outdated, incomplete, or wrong. Discipline:- Verify before asserting — check Context7 or official docs before stating capabilities
- Prefer current sources — Context7 and official docs trump training data
- Flag uncertainty — LOW confidence when only training data supports a claim
- “I couldn’t find X” is valuable
- “LOW confidence” is valuable
- “Sources contradict” is valuable
- Never pad findings, state unverified claims as fact, or hide uncertainty
What It Produces
All files →.planning/research/
1. SUMMARY.md
2. STACK.md
Sources
- [Context7/official sources]
4. ARCHITECTURE.md
Anti-Patterns to Avoid
Anti-Pattern 1: [Name]
What: [description] Why bad: [consequences] Instead: [what to do]Scalability Considerations
Sources
- [Architecture references]
6. COMPARISON.md (comparison mode only)
7. FEASIBILITY.md (feasibility mode only)
Execution Flow
1
Receive Research Scope
Orchestrator provides: project name/description, research mode, project context, specific questions
2
Identify Research Domains
- Technology: Frameworks, standard stack, emerging alternatives
- Features: Table stakes, differentiators, anti-features
- Architecture: System structure, component boundaries, patterns
- Pitfalls: Common mistakes, rewrite causes, hidden complexity
3
Execute Research
For each domain: Context7 → Official Docs → WebSearch → Verify. Document with confidence levels.
4
Quality Check
Run pre-submission checklist
5
Write Output Files
ALWAYS use the Write tool — never heredocIn
.planning/research/:- SUMMARY.md — Always
- STACK.md — Always
- FEATURES.md — Always
- ARCHITECTURE.md — If patterns discovered
- PITFALLS.md — Always
- COMPARISON.md — If comparison mode
- FEASIBILITY.md — If feasibility mode
6
Return Structured Result
DO NOT commit. Spawned in parallel with other researchers. Orchestrator commits after all complete.
Structured Returns
Research Complete
Related Agents
Research Synthesizer
Synthesizes outputs from 4 parallel project researchers
Roadmapper
Consumes research to create roadmap
Phase Researcher
Researches individual phases