Files
pipelines/examples/three-stage.md
T

1.5 KiB

stage planner

{ task, plan, acceptance_checks }
Turn input.prompt into a focused implementation plan and acceptance checks.
Preserve the user's task and constraints in the output. Do not invent evidence.
read
glob
grep
provider=opencode-go
model=deepseek-v4.1-flash
retries=0
success -> implementer
error -> #failure

stage implementer

{ task, plan, acceptance_checks, changed_files, implementation_summary }
Implement the supplied plan within the approved existing Go files. Preserve the
task, plan, and acceptance checks. Record actual changes; if the required edit
scope or tools are unavailable, return blocked. Do not commit or push.
read
glob
grep
edit
provider=opencode-go
model=deepseek-v4.1-flash
retries=0
success -> reviewer
blocked -> #failure
error -> #failure

stage reviewer

{ summary, changed_files, verification_evidence, findings }
Review the actual changes against the supplied task and acceptance checks.
Run relevant Go verification checks with the approved tools. Report commands,
outcomes, and remaining findings. Return success only with observed passing
checks; otherwise return rejected. Do not edit files or claim unexecuted checks.
read
glob
grep
shell
provider=opencode-go
model=deepseek-v4.1-flash
retries=0
success -> #success
rejected -> #failure
error -> #failure