Files

93 lines
1.4 KiB
Markdown

# stage plan
```prompt
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.
```
```tools
read
glob
grep
```
```configs
provider=default
model=default
retries=2
timeout=30m
```
```notify
on=failure
```
```edges
success -> decide
blocked -> #failure
error -> #failure
```
# stage decide
```prompt
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.
```
```configs
type=human
```
```notify
on=waiting
```
```edges
approve -> act
revise -> plan
abort -> #failure
error -> #failure
```
# stage act
```prompt
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.
```
```tools
read
glob
grep
edit
shell
```
```checks
none: changes stay uncommitted; the stage runs focused checks and the user runs the full suite
```
```configs
provider=default
model=default
retries=1
timeout=30m
```
```notify
on=success,failure
```
```edges
success -> #success
blocked -> #failure
error -> #failure
```