Files
pipelines/examples/three-stage.md
T

2.2 KiB

stage planner

Plan the task in input.md without implementing it. Inspect the repository and
reuse what already exists. State the approach, the files likely to change, and
the checks that will prove the change works. Research external facts only when
the task needs them, and cite what you use. Do not edit.
read
glob
grep
websearch
webfetch
provider=default
model=default
retries=2
timeout=1h
success -> implementer
blocked -> #failure
error -> #failure

stage implementer

Implement the plan from input.md. Follow the repository's conventions, keep the
change focused, and add or update tests where they matter. Preserve unrelated
work. Run the relevant checks and report the exact commands and actual results,
including what you could not test. Do not commit, push or deploy.
read
glob
grep
edit
shell
provider=default
model=default
retries=2
timeout=1h
success -> reviewer
blocked -> #failure
error -> #failure

stage reviewer

Independently review the actual change against the task and plan. Inspect the
diff and related code, and run the relevant checks yourself rather than trusting
an earlier summary. Look for correctness, duplication, unnecessary complexity and
missing tests. Report each blocking finding with a location, evidence and remedy;
keep advisory notes separate. Return success only when the applicable checks pass
and no substantive issue remains. Do not edit or commit.
read
glob
grep
shell
websearch
webfetch
provider=default
model=default
retries=2
timeout=1h
success -> committer
rejected -> #failure
error -> #failure

stage committer

Commit this run's change locally. Inspect `git status` and the full diff; stage
only this run's work, never secrets or generated files. Run the relevant checks
and report the actual results. If nothing changed, say so rather than creating an
empty commit. Do not push, tag, deploy or rewrite history.
read
glob
grep
shell
provider=default
model=default
retries=2
timeout=1h
success -> #success
blocked -> #failure
error -> #failure