The refund went through. The confirmation didn’t.
The instruction was to refund $25 once. The store recorded the refund. Before the caller received a receipt, the connection timed out.
The caller tried again. The second request produced a receipt. An inspection of the store found two refunds for the same order.
In a second run, both attempts carried the same operation key. The store recognized the retry and returned the first receipt. One instruction, two attempts, one refund.
In both runs the caller eventually received confirmation. Only the store could say how many times the customer had been refunded.
The record
Ankit Goel’s Python example scripts the timeout and retry against a simulated store. It uses no model or payment service. I4MD reran the example and checked the resulting counts.
Goel also tested model-driven workflows. With faults set to 20% in a 30-task simulated support store, stable keys raised task success by 9–19 percentage points over retries alone across four models. The same study found no detectable gain on τ²-bench, where the models seldom repeated writes.