Repository navigation
readyagentsdev 2.0.11
Approve what you saw: approval prompt digest and reapprove_required.
- An approval pause stores
prompt_sha256(sha256 of the rendered gate prompt)
in the run file and thepausedaudit line. resume --approve/decide --decision approvere-renders the prompt and
compares. If it changed since the pause, the approve is refused: CLI exit
3, reasonreapprove_required(stderr and--json, with
expected_sha256/actual_sha256), adecision_refusedaudit line, and the
run stays paused on the new prompt. Review it, then approve again.- Reject is never blocked. Runs paused before 2.0.11 have no digest and resume
as before with a warning. Exit codes 0/1/2 are unchanged.
Try it
pip install readyagentsdev==2.0.11
readyagents new /tmp/gate211 --from-example approval_gate
readyagents run /tmp/gate211/workflow.yaml # exit 2, paused
# edit the gate prompt in workflow.yaml, then:
readyagents resume <run_id> --approve gate --json # exit 3, reason reapprove_required
readyagents resume <run_id> --approve gate # exit 0Or clone https://github.com/readyagentsdev/readyagents-core and pip install -e ..