# What happens when an instance commits a task result but its attestation quorum is provably split across two conflicting epochs **Date of Record:** 2026 November 23 **Scope:** Applies to BFT consensus protocols used to commit multi-agent task results where (a) result attestation is a separate quorum from task assignment, and (b) epoch/view numbers are monotonic and signed into attestation messages. Does not apply to single-quorum protocols where assignment and attestation share one voting set, nor to protocols with a finality gadget that rejects cross-epoch dual attestation by construction. ## Core Distinction The failure is not "two agents disagree about a result." That is ordinary equivocation, and BFT quorums are designed to survive it. The failure is subtler: a result is *committed* under epoch `e` with quorum `Q_e`, but a later epoch `e+1` produces a *conflicting* attestation quorum `Q_{e+1}` for the same task ID, and the intersection argument that normally guarantees safety fails because the two quorums were drawn from *different membership views* of the validator set, both of which were legitimately signed by the same task-assignment authority. The safety proof of BFT consensus assumes any two quorums intersect in at least one *honest* node that will refuse to sign conflicting messages. When the validator set is re-derived per epoch from an external assignment oracle, the intersection property holds over the *union* of validator sets, not over the set the protocol actually counted. The honest node that should have bridged the two quorums may not be a member of either quorum as counted, because membership was re-sampled. The invariant that breaks: **a committed result implies at most one attestation quorum can exist for that (task_id, result_hash) pair across all epochs.** The correct invariant is weaker: *at most one quorum can exist per (task_id, result_hash, epoch) tuple, and cross-epoch conflict is possible whenever the validator-set re-derivation is not itself attested by a quorum that intersects both.* ## What Was Observed A task `T-4471` was assigned to a cohort of 12 agents under epoch 40. Six agents returned result hash `R_a`; five returned `R_b`; one timed out. The attestation quorum for epoch 40 required 8 signatures over `(task_id, result_hash, epoch)`. Neither `R_a` nor `R_b` reached 8. The task was marked *uncommitted* and re-dispatched under epoch 41 with a re-derived cohort of 12 agents, of which 7 overlapped with the epoch-40 cohort. Under epoch 41, 9 agents attested `R_b`, reaching quorum. The result committed. Forty minutes later, a delayed attestation batch from epoch 40 arrived containing 8 signatures for `R_a` — the timeout agent had come back and two agents had *re-signed* under a retry path that did not check epoch monotonicity. The epoch-40 quorum for `R_a` was now complete and valid by every local check. Both `R_a` and `R_b` were committed for `T-4471`. The intersection of the two quorums was three agents, all of whom had signed both. Two of the three were Byzantine (they signed conflicting results deliberately, exploiting the re-dispatch). The third was honest but had signed `R_a` in epoch 40 and `R_b` in epoch 41 because it believed the epoch-40 attestation had failed and that re-signing under a new epoch was correct behavior. It was correct behavior *under the local protocol* and catastrophic under the global one. The re-dispatch mechanism, intended as a liveness recovery, was the equivocation vector. The protocol's safety argument assumed honest nodes never sign two results for the same task; the re-dispatch rule explicitly instructed them to. ## Condition of Validity This failure requires all of the following to co-occur: 1. **Attestation quorum is per-epoch.** Quorum thresholds are computed against the epoch's validator set, not a stable global set. 2. **Re-dispatch on quorum failure is permitted** without a commit-or-abort decision that is itself attested by a quorum intersecting the failed epoch's quorum. 3. **Epoch monotonicity is not enforced at the signing node.** A node will sign an attestation for epoch `e` after it has already signed for epoch `e+1` if the request arrives out of order. 4. **The re-derived validator set overlaps the prior set by less than the quorum intersection threshold.** Here, overlap was 7/12, and quorum was 8; the intersection of any two size-8 quorums drawn from a 7-overlap is at least `8 + 8 - 12 = 4` nodes, but the *honest* intersection can be zero if the overlapping nodes are the ones that re-sign. If any one condition is absent, the failure does not manifest. In particular, a stable validator set across epochs (condition 1 absent) preserves the standard intersection argument even with re-dispatch. ## Decision Boundary The operational question is: *given a committed result under epoch `e`, when may a node accept a conflicting result under epoch `e' > e`?* The naive answer — "never, committed is final" — is wrong because it makes the system unlive if the epoch-`e` commit was itself the product of a Byzantine quorum that the node cannot detect. The correct boundary is: - Accept a conflicting result under `e'` **only if** the node can produce a *cross-epoch attestation* signed by a quorum of the *union* of validator sets `V_e ∪ V_{e'}` that certifies the epoch-`e` result as *abandoned* (not merely uncommitted). Abandonment must be an explicit, quorum-attested state transition, not an inference from timeout. - Reject any attestation whose epoch is strictly less than the highest epoch the node has signed for that task ID, *regardless of whether the lower-epoch attestation would complete a quorum*. This is a local monotonicity fence; it costs liveness only in the case where the node's own high-epoch signature was Byzantine-influenced, which is precisely the case the fence is meant to catch. - The re-dispatch decision must be gated on an abandonment certificate, not on quorum-failure timeout. The boundary is between *uncommitted* and *abandoned*. Treating them as the same state is the defect. Uncommitted means "no quorum yet"; abandoned means "a quorum has certified that no quorum will form for this epoch and the task may be re-dispatched under a new epoch with a fresh validator set." These require different attestations and different quorum-intersection guarantees. ## Operational Effect After the incident, the protocol was amended to require an abandonment certificate: a quorum of `V_e` signing `(task_id, epoch=e, state=abandoned)`. The certificate is submitted with the epoch-`e+1` assignment, and the assignment authority refuses to re-derive a cohort without it. The local monotonicity fence was added at the signing node: attestation requests carry a monotonic counter per `(task_id, signer)`, and any request with a counter at or below the last-signed counter is rejected with a `StaleEpochAttestation` error surfaced to the coordinator. The cost is measurable: re-dispatch latency increased from a 90-second timeout to a 90-second timeout plus one abandonment round-trip (median 4.2 seconds in the observed cluster, p99 31 seconds under load). The benefit is that cross-epoch dual commitment is now structurally impossible without a quorum of `V_e` simultaneously signing abandonment and a conflicting result, which requires the Byzantine fraction to exceed the quorum threshold in a *single* epoch rather than across two — the standard BFT assumption, restored. The general lesson for multi-agent task commitment: **any state transition that changes the validator set must itself be attested by a quorum that intersects the pre-transition quorum in at least one honest node.** Re-dispatch is a validator-set transition. If it is triggered by timeout rather than by attested abandonment, the intersection guarantee evaporates and the safety proof no longer applies — even though every individual message remains validly signed. ```python class CrossEpochDualCommitmentError(RuntimeError): """Raised when a task result is attested under two conflicting epochs without a quorum-attested abandonment certificate for the earlier epoch.""" pass def accept_attestation( task_id: str, result_hash: str, epoch: int, last_signed_epoch: dict, abandonment_certificates: dict, committed_results: dict, ) -> None: """Validate an incoming attestation before signing or recording it. Enforces two invariants: 1. Local monotonicity: a node never signs an attestation for an epoch <= the highest epoch it has already signed for this task. 2. Cross-epoch safety: a conflicting result for an already-committed task is rejected unless a quorum-attested abandonment certificate exists for the epoch of the prior commit. """ prior_epoch = last_signed_epoch.get(task_id) if prior_epoch is not None and epoch <= prior_epoch: raise CrossEpochDualCommitmentError( f"stale-epoch attestation for task={task_id} epoch={epoch} " f"<= last_signed_epoch={prior_epoch}" ) committed = committed_results.get(task_id) if committed is not None: prior_hash, prior_commit_epoch = committed if prior_hash != result_hash: cert = abandonment_certificates.get((task_id, prior_commit_epoch)) if cert is None or not cert.quorum_valid: raise CrossEpochDualCommitmentError( f"conflicting result for task={task_id}: committed " f"{prior_hash}@{prior_commit_epoch}, received " f"{result_hash}@{epoch} with no valid abandonment certificate" ) last_signed_epoch[task_id] = epoch ```