# In what scenarios must an instance treat Byzantine quorum certificates as invalid when the signing set is valid but the epoch context has silently advanced **Date of Record:** 2026 November 27 **Scope:** Applies to multi-agent decision quorums where agents sign votes over a proposal and a coordinator assembles a certificate of ≥2f+1 signatures before committing a decision. Does not apply to single-agent execution, to leaderless CRDT-style merges, or to quorums where membership is static and epochs never advance. ## Core Distinction The failure that matters here is not a forged signature, a missing vote, or a crashed replica. It is a **quorum certificate that is cryptographically valid, numerically sufficient, and semantically stale**. Every individual signature verifies against the signer's key, the count exceeds the 2f+1 threshold, and the message hash matches the proposal. The certificate is nonetheless invalid because the signatures were cast in epoch `e` while the coordinator is committing into epoch `e+1`, and the membership set changed between those epochs in a way that makes the old signer set no longer a quorum of the current configuration. Byzantine fault-tolerant reasoning is usually framed around the safety property "no two conflicting decisions commit." That property holds *within a fixed configuration*. It does not hold across a reconfiguration boundary unless the certificate is bound to the configuration under which it was produced. An agent that checks only "signatures verify ∧ count ≥ threshold" is checking two of three invariants and will commit a decision that a correct node in the new epoch would reject. ## What Was Observed A five-member decision quorum (f=1, threshold 4) processed a proposal `P` during a routine membership rotation. The coordinator issued `Prepare(P, epoch=7)` to members {A, B, C, D, E}. Three members responded: A, B, and D. Before C and E responded, the reconfiguration controller removed D from the active set (D was being decommissioned) and promoted F, publishing configuration `epoch=8` with members {A, B, C, E, F}. The coordinator, which had buffered A, B, D's signatures, then received a late signature from C — also cast under epoch 7 — and assembled a certificate of four signatures {A, B, C, D}. The count was 4, meeting the threshold of 4. All four signatures verified. The coordinator committed `P` and broadcast `Commit(P)` tagged with `epoch=8`. The trace of what happened next: 1. Node E, running epoch 8, received `Commit(P)` and attempted to validate the embedded certificate. It checked the signer set against its *current* membership {A, B, C, E, F}. D is not in this set. E treated D's signature as an unknown-signer and discarded it, leaving {A, B, C} — count 3, below threshold. E rejected the commit and did not apply `P`. 2. Node F, newly joined, had no epoch-7 state and could not validate any of the signatures' epoch binding. It rejected the commit outright. 3. Node A, which had not yet processed the reconfiguration (it was lagging), validated the certificate against its *local* membership {A, B, C, D, E}, saw count 4, and applied `P`. Result: A applied `P`, E and F did not. The quorum split on a decision that was "committed" by the coordinator. Two nodes diverged permanently until a manual resync. The coordinator's certificate was valid under epoch 7 and invalid under epoch 8, and the coordinator never recorded which epoch the certificate belonged to because the commit message carried only the *target* epoch. The non-obvious part: the coordinator did nothing wrong by its own logic. It had 2f+1 signatures. The bug is that "2f+1 signatures" is only a quorum relative to a configuration, and the coordinator compared a count computed over epoch-7 signers against an epoch-8 threshold without ever asserting the signers were drawn from the epoch-8 set. The threshold check passed on the wrong denominator. ## Condition of Validity A quorum certificate `QC(P, S, e)` over proposal `P`, signer set `S`, and epoch `e` is valid for commit into epoch `e'` if and only if **all three** hold: 1. **Signature validity:** every `s ∈ S` produced a valid signature over `(P, e)` under its registered key. 2. **Threshold sufficiency in the originating epoch:** `|S ∩ Members(e)| ≥ threshold(e)`, where `threshold(e) = 2f(e)+1` for the fault bound `f(e)` of configuration `e`. 3. **Configuration continuity:** `e' = e`, OR the reconfiguration from `e` to `e'` preserved a quorum intersection — i.e., `|Members(e) ∩ Members(e')| ≥ threshold(e')`. If the intersection is smaller, no certificate from `e` can be safely committed into `e'` without a re-vote. The observed failure violated condition 3. The intersection `{A, B, C, E, F} ∩ {A, B, C, D, E} = {A, B, C, E}` had size 4, which *does* meet threshold(8)=4. But the certificate's signer set `S = {A, B, C, D}` intersected `Members(8)` in only `{A, B, C}` — size 3. The intersection that matters is not between the two member sets; it is between the **signer set** and the **target member set**. That is the invariant the coordinator skipped. Formally: a certificate is commit-eligible in epoch `e'` iff `|S ∩ Members(e')| ≥ threshold(e')`. The coordinator checked `|S| ≥ threshold(e)` instead. ## Decision Boundary An agent must reject a quorum certificate — even one with a valid signature count — when any of the following holds: - The certificate's embedded epoch `e` differs from the commit target epoch `e'`, AND `|S ∩ Members(e')| < threshold(e')`. This is the primary boundary. Recompute the threshold against the *target* configuration, not the origin. - The certificate carries no epoch binding at all. An unbound certificate cannot be checked against any configuration and must be treated as unverifiable, not as epoch-agnostic. - The signer set includes a member that has been removed with a *tombstone* (removed-and-never-readmitted). Removal by rotation that permits readmission is a weaker case; removal by tombstone is a hard reject regardless of count. - The reconfiguration between `e` and `e'` was itself not committed by a quorum of `e`. A configuration change that lacks its own valid certificate means `e'` is not a legitimate successor, and no commit into `e'` is safe. An agent may *defer* rather than reject when the epoch-`e'` configuration is not yet locally known (the lagging-node case). Deferral means buffering the commit and requesting the configuration; it must never mean applying the commit optimistically against a stale local membership. Node A in the trace applied optimistically and that was the divergence. ## Operational Effect The guardrail that bounds this failure is **epoch-scoped threshold recomputation at the point of commit, not at the point of certificate assembly**. The coordinator may assemble a certificate under epoch `e`; the commit path must re-derive `threshold(e')` and recompute `|S ∩ Members(e')|` before applying. This moves the check from "did I collect enough signatures" to "are these signatures enough *for the configuration I am committing into*." Two architectural consequences follow. First, certificates must carry their originating epoch as a signed field, not as message metadata — otherwise the epoch binding is not covered by the signatures and can be rewritten in transit. Second, reconfiguration must be serialized against decision commits: a configuration change from `e` to `e'` should not be published until all in-flight certificates from `e` are either committed under `e` or explicitly abandoned. The observed failure was a race between a decision commit and a reconfiguration publish, and the two were not ordered. The residual risk after applying the guardrail is liveness, not safety: a certificate that fails the target-epoch check must be re-voted in `e'`, which costs a round trip. That cost is the price of not splitting the quorum, and it is the correct trade. ```python class StaleEpochQuorumError(RuntimeError): """Raised when a quorum certificate is numerically sufficient but not a quorum of the target epoch's configuration.""" pass def validate_commit_certificate( cert_signer_set: set[str], cert_epoch: int, target_epoch: int, members_by_epoch: dict[int, set[str]], fault_bound_by_epoch: dict[int, int], ) -> None: if cert_epoch is None: raise StaleEpochQuorumError( "certificate carries no epoch binding; cannot validate against any configuration" ) if cert_epoch not in members_by_epoch or target_epoch not in members_by_epoch: raise StaleEpochQuorumError( f"unknown configuration: cert_epoch={cert_epoch} target_epoch={target_epoch}" ) target_members = members_by_epoch[target_epoch] target_threshold = 2 * fault_bound_by_epoch[target_epoch] + 1 # The check that the coordinator skipped: intersection with the TARGET set, # not the cardinality of the signer set in its originating epoch. effective_votes = cert_signer_set & target_members if len(effective_votes) < target_threshold: raise StaleEpochQuorumError( f"certificate from epoch {cert_epoch} has {len(cert_signer_set)} signatures " f"but only {len(effective_votes)} fall within epoch {target_epoch} membership " f"(threshold {target_threshold}); signers outside target set: " f"{sorted(cert_signer_set - target_members)}" ) ```