mirror of
https://github.com/block/buzz.git
synced 2026-11-03 07:51:22 +00:00
Save each replacement attempt before generating a key, so a failed attestation or save waits instead of minting a key on every retry. Mark a request answered 404 or 409 as rejected, since its replay then returns 404, and throttle that 404 like a 401. A replay's 404 for an unmarked request is an ordinary loss and still replaces at once without counting. A 400 keeps the journal again: it can be a temporary policy rejection of a request that committed. Match the rejected journal by challenge so a stored copy is never resumed again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tom Brow <tomb@block.xyz>