61 lines
1.2 KiB
Markdown
61 lines
1.2 KiB
Markdown
# stage research
|
|
|
|
```output
|
|
{ question, evidence, sources, uncertainties }
|
|
```
|
|
|
|
```prompt
|
|
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.
|
|
```
|
|
|
|
```tools
|
|
websearch
|
|
webfetch
|
|
```
|
|
|
|
```configs
|
|
provider=opencode-go
|
|
model=deepseek-v4.1-flash
|
|
retries=2
|
|
timeout=1h
|
|
```
|
|
|
|
```edges
|
|
success -> report
|
|
blocked -> #failure
|
|
error -> #failure
|
|
```
|
|
|
|
# stage report
|
|
|
|
```output
|
|
{ report, sources, open_questions }
|
|
```
|
|
|
|
```prompt
|
|
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.
|
|
```
|
|
|
|
```tools
|
|
```
|
|
|
|
```configs
|
|
provider=opencode-go
|
|
model=deepseek-v4.1-flash
|
|
retries=2
|
|
timeout=1h
|
|
```
|
|
|
|
```edges
|
|
success -> #success
|
|
blocked -> #failure
|
|
error -> #failure
|
|
```
|