Screenshots Are Not State: Transactional Verification and Compilation for GUI Agents
Richard Abrich in Agents
A GUI agent needs proof beyond the screen
Screenshots Are Not State: Transactional Verification and Compilation for GUI Agents
An active pane is not the full state

Panel (a) shows false-veto compounding and why an active-pane screenshot misses off-screen state. Panel (b) maps CommitJIT: commit checks, graded read-back, calibration and zero-egress replay.
The check happens where state changes
- 1
Let navigation run
Navigation leaves backend state unchanged, so CommitJIT skips visual checks until a commit.
- 2
Guard the commit
Before a save or send, provenance and policy checks run in under 5 ms; a durable write-ahead log records pending work.
- 3
Read the saved state
Verify on-screen or by reopening; a local 4B vision model helps when DOM is absent. After two repairs, unresolved cases pause for human sign-off.
Why checking every action can backfire
With independent false alarms, K≪T: checking every step compounds risk; K commit checks bound false-veto probability by Kα if every state change passes a commit.
- ϵ
- Per-action false-positive rate
- T
- Total action steps
- α
- Per-commit false-positive rate
- K
- State-changing commit sinks
On the 3-app ST-WebAgentBench suite, PREPARE beats commit-only gating
gpt-5.4, N=44; brackets: 95% Wilson CIs; 2.09M tokens/arm; p=1.9×10⁻⁹ vs unwrapped. SER=silent-error rate; CuP=policy-compliant completion.
The safety gain comes with an autonomy cost
On 26 tasks × 2 models (N=52), unwrapped SER was 61.5% [48.0, 73.5]; VCR was 38.5%.
Multi-tab checks plus default-deny closure lowered SER to 1.9% [0.3, 10.1] (1/52; p=9.31×10⁻¹⁰), while VCR fell to 11.5%; 45/52 runs escalated.
Near-zero SER came with much lower autonomous completion.
Verified traces can survive an interface upgrade
- 1
Compile verified work
Only read-back-verified traces become deterministic replay plans.
- 2
Re-ground after drift
After an upgrade, re-ground against live DOM; if a schema change breaks the match, repair against an offline structural twin.
- 3
Keep raw values out
The twin replaces values with session-local symbols, so cloud repair receives no raw payload; promote the replay only after live read-back passes.
Zero-egress replay verifies all 60 upgrade tasks
Four pinned Docker app upgrades, v1→v2, N=60; REST API ground truth. PREPARE used two cards; twin sent 0 B raw payload.
Version 2 retracts the crash-duplicate claim

Panel (b), N=32, one-worker SIGKILL: all arms had matched page text and crash-wiped notes; each finished 32/32 exactly once, 0/32 duplicates. Model calls: CommitJIT 100, unwrapped 280, retry-prompt 462; v1's gap is retracted.
Where verification still stops short
Policies must be supplied
On the 12-task zero-SOP EHR slice, generic wrapping had 0% verified completion vs 16.7% unwrapped (p=0.45, not significant); it cannot infer unwritten rules.
Abstention is not judgment
MedHarnessBench abstained 12/12: silent-error rate was 0%, but verified completion was also 0%; clinical correctness remained unjudged.
Pixels leave blind spots
With 2-frame checks on four unseen desktop apps, ~45% of silent failures were non-visual; Windows H.264 RDP falsely stopped 40/105 runs despite 0/105 wrong writes.
Crash evidence stays narrow
32-task rerun: one worker, listed records; 0/32 is consistent with a ~9% one-sided 95% upper bound. Delayed, concurrent and unsearchable writes lack fair page-text tests.
Why it matters
- A click is an action, not proof the intended state reached the system of record.
- Verify at commits, read back the target, and pause when evidence is missing.
- Can a write-ahead log plus read-back protect delayed, concurrent, or unsearchable writes against a page-reading baseline?
1 like 11 slides, 3 min
4 days ago