Files
pipelines/examples/human-decision.md
T

1.4 KiB

stage plan

Plan the change requested in input.md: the steps, the files likely to change,
the risks and how to check the result. If input.md holds a person's revise
feedback, update the plan to address it. Read only; change nothing. Return
blocked if the request is unclear.
read
glob
grep
provider=default
model=default
retries=2
timeout=30m
on=failure
success -> decide
blocked -> #failure
error -> #failure

stage decide

Read the plan above. Choose approve to carry it out, revise to send your
feedback back to the planner, or abort to stop the run.
type=human
on=waiting
approve -> act
revise -> plan
abort -> #failure
error -> #failure

stage act

Carry out the plan the person approved (see memory.md), including any feedback
given with the decision. Change only local files in the workspace and leave them
uncommitted; never commit, push or deploy. Run focused checks for the touched
code only. Report changed paths and checks run. Return blocked if the plan
cannot be followed.
read
glob
grep
edit
shell
none: changes stay uncommitted; the stage runs focused checks and the user runs the full suite
provider=default
model=default
retries=1
timeout=30m
on=success,failure
success -> #success
blocked -> #failure
error -> #failure