33 lines
1.0 KiB
Markdown
33 lines
1.0 KiB
Markdown
---
|
|
name: research-brief
|
|
description: Parallel web research + local code context → synthesis. Three-stage chain for well-sourced answers combining external evidence and local code.
|
|
---
|
|
|
|
## ollama-researcher
|
|
phase: External Research
|
|
label: Web research
|
|
as: web_research
|
|
output: research/web.md
|
|
progress: true
|
|
|
|
Research the external side of {task}. Search, evaluate sources, and produce a focused research brief with citations. Write to {output}.
|
|
|
|
## scout
|
|
phase: Local Context
|
|
label: Local code analysis
|
|
as: local_context
|
|
output: research/local.md
|
|
progress: true
|
|
|
|
Map the local codebase side of {task}. Identify relevant files, how they interact with the topic, and capture local patterns. Write to {output}.
|
|
|
|
## worker
|
|
phase: Synthesis
|
|
label: Combine and synthesize
|
|
as: synthesis
|
|
reads: research/web.md, research/local.md
|
|
output: research/brief.md
|
|
progress: true
|
|
|
|
Read {reads} and create a unified research brief. Include: direct answer, evidence from web, evidence from local code, contradictions, recommendation, and confidence level. Write to {output}.
|