Files
pipelines/examples/three-stage.md
T

2.7 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 focused checks for the touched code only (quiet or summary output);
the committer runs the full checks once. Report the exact commands and actual
results, including what you could not test. Do not commit, push or deploy.
read
glob
grep
edit
shell
none: focused checks only; the committer runs the project's required checks once
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. Start with
`git diff --stat`, then read the changed hunks and only the related code you
need. Do not run test suites; judge the implementer's reported checks and name
any missing coverage. 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 no substantive
issue remains. Do not edit or commit.
read
glob
grep
shell
websearch
webfetch
none: read-only review; shell is used only for git diff
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 `git diff --stat`,
then the staged diff; stage only this run's work, never secrets or generated
files. Run the project's required checks once with quiet or summary output and
report the commands and results; return blocked with the failing output when one
fails. If nothing changed, say so rather than creating an empty commit. Do not
push, tag, deploy or rewrite history.
read
glob
grep
shell
none: generic starter has no project commands; with delivery=true list them here for the server to run
provider=default
model=default
retries=2
timeout=1h
success -> #success
blocked -> #failure
error -> #failure