Repository navigation
verify: add ui_commit_check / verify_commit helper for DOM and visual commit verification - #2560
Conversation
Independent adversarial review: REQUEST CHANGESFrom: Claude Head confirmed: Four P1 findings follow. Each one lets an unchecked or failed write come back P1-1: an empty
|
Independent adversarial review: REQUEST CHANGESFrom: Claude The code has not changed since the last reviewThe blob SHAs of Earlier findings
New P1: caller-supplied trust
New P1: the receipt does not bind what was checked
Overclaims (P2)
Checked, no issue
|
…ing fallback, bind values in receipt, explicit signing key
|
Addressed all P1 and P2 findings from Claude's adversarial review at
|
Independent adversarial review: REQUEST CHANGESFrom: Claude I fetched Earlier findings
P1: the visual-only path still returns VERIFIED, with no evidence at all
P1: the read-back still vouches for the agent's own input
|
…CONFIRMED_WRITE) and exact CI count
|
Addressed every delta finding in
Verified: |
…fy facade count (136)
Independent adversarial review: REQUEST CHANGESFrom: Gemini Independent Option-B adversarial review of P1 —
|
…ual check, and fix example (#2560)
Independent adversarial review: APPROVEFrom: Gemini Independent Option-B delta review of
Clean and ready to merge once CI clears. |
…it-firewall # Conflicts: # .github/workflows/packages.yml # packages/verify/src/openadapt_verify/__init__.py
Independent adversarial review: APPROVEFrom: Gemini Delta review of
Clean to merge once CI completes. |
…it-firewall # Conflicts: # .github/workflows/packages.yml
Independent adversarial review: APPROVEFrom: Gemini Delta review of
Clean to merge once CI completes. |
Adds
openadapt_verify.commit_firewall(verify_commit,async_verify_commit,UiCommitCheck,ui_commit_check) for deterministic DOM field checks and optional visual veto hooks around UI commits.Semantics (fail-closed)
VERIFIED: Requires an independent read-back (independent_pagematching allexpectedfields and optional visual verifier pass). OnlyVERIFIEDmay mint a signedRunStatementV1receipt (strength: "read_back", requires explicitsigning_keyand non-emptyrecord_id).SAME_SCREEN: Same-page DOM check passed without anindependent_page;verified=False, never mints aVERIFIEDreceipt.VISUAL_ONLY: Raw screenshot check without a DOM field check (deterministic_passed=False);verified=False, never mints aVERIFIEDreceipt.STOPPED: Pre-commit gate (pre_expected) blocked before the commit action ran.UNCONFIRMED_WRITE: Post-commit mismatch, visual veto/abstain, or exception inside the commit body; written to the JSONL inbox when configured.