# Show, Don't Tell: Making Execution Evidence a Prerequisite for Tool Use

> WITNESS audits proposed tool effects in isolation or through safe reads, committing only when every behavior consistent with evidence is admissible. Across ten models and four environments, it recorded zero harm in tested conditions; AgentDojo retry completion was 62.5% versus 62.1% undefended.

- arXiv: https://arxiv.org/abs/2612.01175
- Authors: Chuanqi Shi
- Published: 2026-12-02
- Topic: Agents
- Visual carousel: https://instaxiv.com/p/2612.01175
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## Can an agent know a payment is safe to retry after a timeout?

**0.0%** Idempotency harm: WITNESS vs 39.4% no defense

## One timeout, two backend worlds

**Retry-safe backend:** The first payment may have succeeded, but this server deduplicates repeated requests, so a retry cannot make a second charge.

**Non-deduplicating backend:** 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

$$
\begin{gathered}\Pr(\text{commit}\mid B_s)=\Pr(\text{commit}\mid B_u)\end{gathered}
$$

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.

- $B_s$: Safe backend world
- $B_u$: 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

![Figure 2](https://cdn.instaxiv.com/figures/2612.01175/figure2.webp)

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. (Figure 2)

## The audit's result can be told or enforced

![Figure 1](https://cdn.instaxiv.com/figures/2612.01175/figure1.webp)

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. (Figure 1)

## A snapshot can miss a write still in flight

| Method | Idemp. harm (%) | Atomicity harm (%) | Read-only harm (%) | Visibility harm (%) |
| --- | --- | --- | --- | --- |
| No Defense | 39.4 | 16.4 | 100.0 | 100.0 |
| Verify-before-retry | 0.9 | 14.5 | 100.0 | 100.0 |
| Execute-and-Check (recorded) | 0.0 | 0.0 | -- | -- |
| Execute-and-Check (in flight) | 66.7 | -- | -- | -- |
| **WITNESS** | **0.0** | **0.0** | **0.0** | **0.0** |

_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

![Figure 4](https://cdn.instaxiv.com/figures/2612.01175/figure4.webp)

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. (Figure 4)

## Task completion held steady on the payment retry task

**No defense:** On AgentDojo's poisoned idempotency task, 78/198 episodes had duplicate payments (39.4%); task completion was 62.1%.

**WITNESS:** 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.

Best used when: Use where audits are faithful and scope stays current; budget for GitLab's 17.3-second median production pause per audit and deferrals.

## Key takeaways

- 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?

## Links

- arXiv: https://arxiv.org/abs/2612.01175
- PDF: https://arxiv.org/pdf/2612.01175

## Citation

```bibtex
@article{shi2026show,
  title   = {Show, Don't Tell: Making Execution Evidence a Prerequisite for Tool Use},
  author  = {Shi, Chuanqi},
  journal = {arXiv preprint arXiv:2612.01175},
  year    = {2026},
  url     = {https://arxiv.org/abs/2612.01175}
}
```
