Files
pipelines/examples/research.md

1.2 KiB

stage research

{ question, evidence, sources, uncertainties }
Research the topic in input.prompt using web search and relevant source pages.
Preserve the question and constraints. Record supporting excerpts or facts,
source URLs, and uncertainty; distinguish current evidence from assumptions.
Do not invent citations. Return blocked if search/fetch is unavailable or no
reliable supporting evidence can be obtained. Otherwise return success.
websearch
webfetch
provider=opencode-go
model=deepseek-v4.1-flash
retries=2
timeout=1h
success -> report
blocked -> #failure
error -> #failure

stage report

{ report, sources, open_questions }
Answer input.question using only the collected evidence and sources. Write a
concise report with citations and clearly marked uncertainties. Respect the
original constraints. Do not turn missing evidence into a confident answer.
Return success for a supported report or blocked when the evidence is insufficient.
provider=opencode-go
model=deepseek-v4.1-flash
retries=2
timeout=1h
success -> #success
blocked -> #failure
error -> #failure