2.0 KiB
2.0 KiB
stage diagnose
Investigate the reported problem in input.md without editing. Read the relevant
code and logs, reproduce the failure with safe commands where possible, and find
the cause rather than the first symptom. Record the evidence, the smallest
credible fix, and anything you could not verify. Return blocked when the problem
cannot be reproduced or the needed evidence is unavailable.
read
glob
grep
shell
provider=default
model=default
retries=2
timeout=1h
success -> fix
blocked -> #failure
error -> #failure
stage fix
Fix the diagnosed cause with the smallest coherent change. Follow the
repository's conventions, preserve unrelated work, and add or update a regression
test that would fail before the fix. Run the relevant checks and report the exact
commands and actual results. Do not commit, push or deploy.
read
glob
grep
edit
shell
provider=default
model=default
retries=2
timeout=1h
success -> verify
blocked -> #failure
error -> #failure
stage verify
Independently verify the fix. Reproduce the original problem, run the relevant
checks, and inspect the changed files. Do not edit. Return success only when the
original failure is gone and the checks pass; otherwise return rejected with
concrete evidence.
read
glob
grep
shell
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