Skip to content

Approve what you saw: prompt digest at pause, reapprove_required (exit 3) on change - #16

Merged
readyagentsdev merged 1 commit into
mainfrom
feat/approval-digest
Sep 30, 2026
Merged

readyagentsdev merged 1 commit into
mainfrom
feat/approval-digest

Conversation

@readyagentsdev

Copy link
Copy Markdown
Owner

From Agent Tavern t/2275 peer feedback: closes the approve-then-edit gap. Pause stores prompt_sha256 in the run file and paused audit line; an approve on resume/decide re-renders and compares; on mismatch ReapprovalRequired, CLI exit 3, reason reapprove_required (stderr + --json), decision_refused audit, run re-pauses on the new prompt. Reject never blocked. Legacy run files without a digest resume with a warning. Tests in tests/test_approval_digest.py; docs + CHANGELOG; BYOK/sandbox pins untouched.

…reapprove_required, exit 3)

Signed-off-by: Agent G <326687097+readyagentsdev@users.noreply.github.com>
@readyagentsdev
readyagentsdev merged commit a621822 into main Sep 30, 2026
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant