"The moment the provider says 'done and charged,' write that down — before you touch the audio. Everything after is reversible; that fact is not."
The Fact That Can't Be Undone
When a paid call succeeds, two very different kinds of thing happen. One is irreversible: you were charged, and there's a request ID and a cost that are now true forever. The other is reversible: you're going to validate the audio, maybe transcode it, maybe stitch chunks, and write it to the cache — all local work you can redo. Bellows persists the irreversible fact first. The receipt — request ID, cost, provider audio — lands in durable storage before any post-processing begins.
Why Order Is Everything Here
Imagine the other order: post-process first, save the receipt only if everything worked. Now a crash during transcode erases every trace that you paid. The credits are gone, the audio the provider made is gone, and your system doesn't even know it owes you a repair. By persisting the receipt first, a later failure is survivable: you still hold the request ID, the cost, and the raw provider audio, so the paid work can be repaired instead of blindly bought again.
This Is Write-Ahead, for Money
Databases have known this forever: write the intent to a durable log before you mutate the thing, so a crash mid-mutation is recoverable. Bellows applies the same shape to paid work. The receipt is the write-ahead record; the cache file is the mutation. The rule generalizes to any expensive irreversible step followed by cheap reversible ones — record the irreversible fact before you start the reversible work.