recover

suspend fun recover(store: DurableStore): ClockRecovery

Reload (seq, frontier) from store, arming the clock. Call once at startup: until a read lands, tick and persist refuse. A missing entry answers ClockRecovery.Recovered and an undecodable one ClockRecovery.Undecodable, and both arm the clock at seq=0, or at the floor a landed span read already raised (WarpSpanExporter, #3407). A read never moves seq backwards: an entry older than what this clock already minted is ignored.

A refused read, including a cancellation the store minted, answers ClockRecovery.Refused and is logged at ERROR. A clock whose read had not landed stays unable to mint or persist until a later call here reads the store, so the durable high-water mark is never overwritten and no dot is minted twice (#3390). A clock whose read had landed keeps minting. A cancellation of the caller's own job still propagates.