Files
pipelines/examples/two-stages.md
T
alan a48e4a5b6a Replace starters with four graded examples seeded into new databases
The template catalog is now Example 1-4: one stage, two stages (handoff),
feedback loop (runner-owned limits, retries, timeout) and human decision
(type=human approve/revise/abort with notify hooks). All read-only or leave
changes uncommitted; none commits, pushes or deploys.

A brand-new database (schema created by this Open) gets the examples once at
server start, bound to the configured default model and harness. A
server_settings marker records the decision, so removed examples never come
back and existing installs are marked without any pipeline being added or
rewritten.
2026-11-03 19:35:47 +00:00

988 B

stage draft

Write the short document asked for in input.md (for example a summary or an
explanation of some files), using only what you can read. Put the text under
`# Draft` and the files you used under `# Sources`. Change nothing. Return
blocked, naming what is missing, if there is nothing to work from.
read
glob
grep
provider=default
model=default
retries=2
timeout=30m
success -> check
blocked -> #failure
error -> #failure

stage check

input.md is the previous stage's draft; memory.md holds the original request.
Check the draft against its sources and the request, correct mistakes and gaps,
and return the final text under `# Final` with a short list of corrections.
Change nothing. Return blocked if the draft cannot be checked.
read
glob
grep
provider=default
model=default
retries=2
timeout=30m
success -> #success
blocked -> #failure
error -> #failure