Screenshots Are Not State: Transactional Verification and Compilation for GUI Agents
Abstract
GUI agents still fail silently on multi-step enterprise tasks, reporting completion when a form was never submitted, a required tab was missed, or a policy was violated.
A vision-language critic before every step backfires: per-step false positives compound with horizon length, and one screenshot cannot see off-screen tabs, closed folders, or writes that no view shows.
We introduce CommitJIT, a runtime wrapper that checks only the few state-changing and policy boundaries.
It combines deterministic before-commit checks, a write-ahead saga log, graded post-write read-back, a calibrated local 4B visual verifier, and verified replay that repairs across UI upgrades with zero raw field-value egress.
CommitJIT cuts Silent Error Rate (SER) without degrading completion on 3-app ST-WebAgentBench (95.5% to 27.3%, N=44, p=1.9e-9, CuP 4.5% to 6.8%), OS-Harm (35.0% to 5.0%, N=20, p=0.031, VCR 60% both), ERPBench (31.3% to 0%, N=16, p=0.0625, VCR 68.8% to 81.3%), and 60 real Docker upgrades (93.3% autonomous and 100% zero-egress survival at 0% SER).
Where default-deny trades coverage for safety, HealthAdminBench SER falls from 61.5% to 1.9% (N=52, p=9.3e-10; VCR 38.5% to 11.5%) and from 32.6% to 17.8% on the full 135-task zero-SOP suite (p=5.4e-4; VCR 6.7% to 3.7%).
On a 32-episode worker-crash rerun where every arm sees the page text, all arms finish exactly once with zero duplicates; the wrapper's gain is 100 vs.
280 model calls.
Boundaries remain for unwritten clinic rules, clinical judgment (MedHarnessBench N=12: 0% SER at 0% VCR, abstaining 12/12), non-visual desktop state, and compressed remote-desktop streams. v2 corrects a v1 crash-duplicate result whose baseline could not see page text.