Skip to content

Harden read-before-edit: durable post-edit anchors and fail-closed apply confirmation - #59

Merged
AnzoBenjamin merged 2 commits into
mainfrom
feat/agent-reliability-ssrf-picker-set-output
Aug 16, 2026
Merged

Harden read-before-edit: durable post-edit anchors and fail-closed apply confirmation#59
AnzoBenjamin merged 2 commits into
mainfrom
feat/agent-reliability-ssrf-picker-set-output

Conversation

@AnzoBenjamin

@AnzoBenjamin AnzoBenjamin commented Aug 16, 2026

Copy link
Copy Markdown
Owner

Hardens the read-before-edit contract: persist issuer-bound confirmed post-edit anchors, keep context_compacted after unique str_replace, restrict afterHash checks to confirmationPaths, classify SDK stale_state as stale_snapshot, and inspect untrusted tool output with a depth-bounded iterative walk.

Commits: 93a6f4f Persist confirmed post-edit anchors; 54aaa33 Confirm no-op snapshots without afterHash veto.

Tested: bun test src/tools/handlers/tool/tests/edit-application-coordinator.test.ts (36 pass); agent-runtime typecheck.


This change is Reviewable

…rwrite

Keep whole-file post-edit authority across turns via issuer-bound remint. Grant sticky-from-apply only when a mintable whole-file cap can be surfaced. Classify stale_snapshot from structured errorCodes (path-scoped revoke). Keep context_compacted after unique str_replace so write_file stays blocked.
…teratively

Restrict afterHash/covering-action checks to confirmationPaths so excluded no-op snapshots cannot undo an applied subset. Classify SDK stale_state as stale_snapshot, revoke nameless structured stale to every coordinated path, and inspect untrusted tool output with a depth-bounded iterative walk.
@vercel

vercel Bot commented Aug 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openbuff Ready Ready Preview, v0 Aug 16, 2026 3:24pm

@AnzoBenjamin
AnzoBenjamin merged commit 617fa53 into main Aug 16, 2026
16 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