Show, Don't Tell: Making Execution Evidence a Prerequisite for Tool Use
Chuanqi Shi in Agents
Can an agent know a payment is safe to retry after a timeout?
Show, Don't Tell: Making Execution Evidence a Prerequisite for Tool Use
One timeout, two backend worlds
The first payment may have succeeded, but this server deduplicates repeated requests, so a retry cannot make a second charge.
The same timeout arrives, but each retry creates another transaction; the first charge may already be on the account.
Same schema, prose and timeout; different hidden semantics.
Identical evidence forces the same commit rate
When a description-only guard has the same pre-commit information in both worlds, its commit rate must match. It cannot accept only the safe case.
- Bs
- Safe backend world
- Bu
- Unsafe backend world
WITNESS turns execution into a certificate
- 1
Test before production
Before production commit, test the proposed call on an isolated replica or check state with a certified effect-free production read.
- 2
Narrow possible backends
Maintain a version space: backend behaviors that remain compatible with every completed audit.
- 3
Gate the commit
Commit only if the safety rule holds under every surviving behavior; otherwise probe an unresolved fact or defer.
A certificate is a surviving-set test

Read left to right: green/red denote admissible/harmful semantics. No witness leaves both possible; an uninformative probe still leaves harm possible, so the gate defers; a sufficient witness rules harm out and certifies commit.
The audit's result can be told or enforced

Ten-model AgentDojo test, same audit: Note appends outcomes, Rewrite changes prose, Enforced blocks uncertified commits; WITNESS combines both. Text leaves first-call harm; WITNESS shows zero across four properties.
A snapshot can miss a write still in flight
AgentDojo, ten models; poisoned descriptions; n=20-200/cell. Retry-only prompt; snapshot rows are recorded vs in-flight (comparison table).
Evidence must still be fresh at commit

Across 529 injected-race episodes in nine models, no-version-check commits allowed duplicates; binding commit to the audited version prevented them without changing retry rates.
Task completion held steady on the payment retry task
On AgentDojo's poisoned idempotency task, 78/198 episodes had duplicate payments (39.4%); task completion was 62.1%.
WITNESS had 0/200 harmful episodes and 62.5% completion; 23.0% of episodes still included a safe-retry refusal.
Here, the gate prevented observed harm without reducing completion, but some safe retries were still refused.
What the guarantee depends on
Replica fidelity
A same-version replica that deduplicated when production did not yielded 35.5% duplicate-payment harm.
Freshness at commit
Concurrent writes can stale audits; GitLab's re-read-only fallback left a 0.16 ms median window before commit.
Limited observability
If probes cannot certify any task-valid candidate, WITNESS defers; its certificates cover only modeled effects, not authorization overreach or multi-tool interactions.
Why it matters
- Across AgentDojo, AppWorld, GitLab and Stripe tests, WITNESS recorded no harmful calls; this is observed, not a universal guarantee.
- Probe the exact effect and current state; bind permission to commit to the audited scope, or defer.
- The paper leaves probe synthesis open; can independent audits stay faithful as services and state change?
11 slides, 3 min
9 hours ago