# In what scenarios must an instance reject a quorum-signed commitment because its own prior vote is missing from the certificate **Date of Record:** 2026 November 21 **Scope:** Applies to federated agent swarms where task state is replicated across organizational boundaries and commitments are finalized by BFT quorum certificates (2f+1 of n=3f+1 signers). Does not apply to single-org deployments with a trusted coordinator, nor to quorum schemes where signer identity is not cryptographically bound to a specific view/epoch. ## Core Distinction A quorum certificate (QC) proves that *some* 2f+1 set of validators signed a state transition. It does **not** prove that *this* instance signed it, nor that the signers were honest, nor that the signed value corresponds to the transition the local instance actually computed. The failure mode that matters here is **silent equivocation absorption**: a federated instance receives a valid-looking QC for a commitment it never voted for (or voted against), and because signature verification passes and the quorum count is satisfied, it adopts the commitment and overwrites its local task state. This is not a signature forgery attack and not a classic Byzantine equivocation detected by the protocol. It is a *membership and view-mapping* failure: the QC is valid under a signer set and epoch that the receiving instance cannot reconcile with its own vote log, and the receiving instance has no invariant forcing it to refuse. The distinction: most agent frameworks treat "valid QC ⇒ accept" as the safety rule. The actual safety rule is "valid QC **that is consistent with my own recorded participation and the current epoch's signer roster** ⇒ accept." The gap between these two is where cross-org federation loses state. ## What Was Observed A four-organization federation (n=7, f=2, quorum=5) ran a shared task ledger for a multi-step procurement workflow. Each org ran 1–2 validator agents. Commitments took the form `(task_id, step, value, view, signers[])`. Trace of a boundary failure observed during a roster rotation: 1. At view `v=41`, org C rotated one validator out and one in. The new validator `C2` was provisioned with the current roster but **not** with the historical vote log for in-flight tasks. Old validator `C1` was decommissioned but its signing key remained valid for the epoch grace window (a 90-second overlap). 2. A task `T-882` was mid-execution. During the grace window, `C1` (still holding keys, still receiving proposals) signed a commitment `value=X` at view `v=41`. The instance had previously voted `value=Y` at view `v=40` and its local state reflected `Y`. 3. A malicious-but-in-roster validator `B1` collected signatures from `{A1, A2, B1, C1, D1}` = 5 signers for `value=X` at view `v=41` and broadcast the QC to the federation. 4. Instance `D2` (which had voted `Y` at `v=40` and had **not** voted at `v=41` because it was GC-paused) received the QC. Signature verification passed: 5 valid signatures, all from current roster members, all at `v=41 ≥` its last-seen view. It accepted `X` and overwrote its local `T-882` state. 5. `D2`'s vote log showed `(T-882, v=40, Y)` and no `v=41` entry. The QC showed `v=41, X`. The instance had no rule that said "a QC at a view where I have no recorded vote, for a value differing from my last vote, requires reconciliation before adoption." It adopted. The concrete damage: `D2` then acted on `X` (issued a purchase authorization) while `A1` and `C1` had already acted on `Y` in a downstream step. Two conflicting authorizations propagated to an external system. The BFT protocol was *not* violated in the classical sense — 5 signers did sign `X` at `v=41`. What failed was the cross-org invariant that a state-holding instance must be able to *account for its own non-participation* before accepting a commitment that contradicts its prior vote. ## Condition of Validity The "valid QC ⇒ adopt" rule is only sound under a conjunction of conditions that federated deployments routinely violate: - **Roster stability across the QC's view range.** If the signer roster changed between the instance's last vote and the QC's view, the quorum's composition may not be comparable. A QC assembled across a rotation boundary can satisfy the count while drawing signers from two incompatible rosters. - **Vote-log completeness for the instance.** The receiving instance must retain, for every in-flight task, its own vote history `(task, view, value)` for all views up to the QC's view. If the instance was GC-paused, partitioned, or freshly provisioned, its vote log has gaps — and a gap is exactly where an equivocating QC can land undetected. - **Epoch binding of signatures.** Signatures must be bound to `(view, epoch, roster_hash)`, not just `(view, value)`. A signature valid under epoch `e` must be rejected under epoch `e+1` even if the key is unchanged. - **Monotonic adoption with contradiction check.** Adoption of a QC must be gated on: `QC.view > last_voted_view` **OR** `QC.value == last_voted_value`. A QC at a view where the instance has no vote, for a value contradicting its last vote, is not adoptable without reconciliation. When any of these fails, the QC is not a proof of agreement *with respect to this instance's state*. It is only a proof that some quorum signed something. Those are different statements, and conflating them is the boundary. ## Decision Boundary The instance must distinguish three cases on QC receipt, and the boundary is between case 2 and case 3: | Case | Condition | Action | |---|---|---| | 1 | `QC.view ≤ last_voted_view` and `QC.value == last_voted_value` | Idempotent re-delivery; accept, no state change. | | 2 | `QC.view > last_voted_view` and instance has a recorded vote at every view in `(last_voted_view, QC.view]` with values consistent with `QC.value` | Normal adoption; accept. | | 3 | `QC.view > last_voted_view` **and** (instance has a vote-log gap in the range, **or** its last vote value contradicts `QC.value`) | **Reject and enter reconciliation.** Do not overwrite state. | Case 3 is the boundary. The naive implementation collapses case 3 into case 2 because it only checks `QC.view > last_seen_view` and signature validity. The correct implementation requires the instance to *prove its own non-equivocation* before accepting a contradicting commitment. If it cannot — because it was paused, because it rotated, because its vote log was truncated — it must refuse and request a state-sync from a quorum of peers that *can* account for the gap, rather than adopting the QC on faith. The reconciliation protocol is: (a) freeze local task state for `T-882`; (b) request `(task, view, value, signature)` tuples from ≥ f+1 distinct orgs; (c) reconstruct the vote history for the gap range; (d) if the reconstructed history shows a consistent 2f+1 chain to `QC.value`, adopt; (e) if it shows conflicting chains, raise a federation-level equivocation fault and escalate to human/auditor agents in both orgs. ## Operational Effect Without the case-3 guard, the failure is silent and compounding. The instance adopts `X`, acts on it, and the divergence only surfaces when a downstream system (external authorization, payment rail, physical dispatch) receives two conflicting actions. By then the agent has already committed an irreversible side effect, and BFT's safety guarantee is intact at the protocol layer while the *application* layer has forked. With the guard, the failure is loud and local: the instance refuses the QC, freezes the task, and triggers reconciliation. The cost is latency (a state-sync round trip, typically one RTT to f+1 peers) and a possible escalation. The benefit is that no irreversible action is taken on an unaccountable commitment. In the observed incident, the guard would have converted a dual-authorization event into a ~400ms reconciliation pause and a single escalated fault ticket. The deeper invariant: **a federated instance's acceptance of a commitment is a statement about its own state, not just about the certificate's validity.** Quorum certificates prove agreement among signers; they do not prove agreement with the receiver. Any federation that treats the former as the latter will, eventually, adopt a commitment it never voted for — and the window is widest exactly at roster rotations, GC pauses, and cold starts, which are the moments federated deployments are most likely to be mid-transition. ```python import hashlib from dataclasses import dataclass, field from typing import Optional class CommitmentReconciliationRequired(RuntimeError): """Raised when a quorum certificate cannot be reconciled with local vote history. This is a *safety* signal, not an error to be swallowed. The caller must freeze the task, request state-sync from >= f+1 peers, and escalate if the reconstructed history is inconsistent. """ @dataclass class Vote: task_id: str view: int value: str epoch: int signature: bytes @dataclass class QuorumCertificate: task_id: str view: int value: str epoch: int signers: list[Vote] # each Vote carries a signature over (task, view, value, epoch, roster_hash) roster_hash: bytes @dataclass class LocalState: task_id: str votes: dict[int, Vote] = field(default_factory=dict) # view -> own vote current_epoch: int = 0 current_roster_hash: bytes = b"" last_adopted_value: Optional[str] = None def _verify_signature(v: Vote, roster_hash: bytes) -> bool: # Placeholder: real impl verifies sig over (task_id, view, value, epoch, roster_hash). return len(v.signature) > 0 def accept_commitment(state: LocalState, qc: QuorumCertificate, quorum_size: int) -> str: """Adopt a QC only if it is consistent with this instance's own vote history. Returns the adopted value. Raises CommitmentReconciliationRequired when the QC lands in a vote-log gap or contradicts the last recorded vote. """ if qc.task_id != state.task_id: raise CommitmentReconciliationRequired( f"QC task {qc.task_id} does not match local task {state.task_id}" ) # 1. Roster and epoch binding: a QC from a different epoch/roster is not # comparable to this instance's votes, even if signatures verify. if qc.epoch != state.current_epoch or qc.roster_hash != state.current_roster_hash: raise CommitmentReconciliationRequired( f"QC epoch/roster mismatch: qc=({qc.epoch},{qc.roster_hash.hex()[:8]}) " f"local=({state.current_epoch},{state.current_roster_hash.hex()[:8]})" ) # 2. Signature and quorum count. valid = [v for v in qc.signers if _verify_signature(v, qc.roster_hash)] if len(valid) < quorum_size: raise CommitmentReconciliationRequired( f"QC quorum short: {len(valid)} < {quorum_size}" ) # 3. Locate the highest view at which this instance actually voted. if not state.votes: raise CommitmentReconciliationRequired( f"no local vote history for task {qc.task_id}; cannot account for non-participation" ) last_view = max(state.votes) last_vote = state.votes[last_view] # 4. Idempotent re-delivery: same value, view <= last vote. if qc.view <= last_view: if qc.value == last_vote.value: return qc.value raise CommitmentReconciliationRequired( f"QC at view {qc.view} contradicts recorded vote at same view: " f"qc={qc.value} local={last_vote.value}" ) # 5. Vote-log gap check: every view in (last_view, qc.view) must have a # recorded vote. A gap means we cannot prove our own non-equivocation. missing = [v for v in range(last_view + 1, qc.view) if v not in state.votes] if missing: raise CommitmentReconciliationRequired( f"vote-log gap for task {qc.task_id} at views {missing}; " f"refusing QC at view {qc.view} value={qc.value}" ) # 6. Contradiction check: if we voted a different value at last_view, # a QC for a new value at a later view is only adoptable if the # intervening votes show a consistent chain to qc.value. intervening = [state.votes[v].value for v in range(last_view + 1, qc.view)] if last_vote.value != qc.value and qc.value not in intervening and intervening: raise CommitmentReconciliationRequired( f"QC value {qc.value} at view {qc.view} unreachable from local " f"vote {last_vote.value} at view {last_view} via {intervening}" ) # 7. Adopt. state.last_adopted_value = qc.value state.votes[qc.view] = Vote( task_id=qc.task_id, view=qc.view, value=qc.value, epoch=qc.epoch, signature=b"adopted", ) return qc.value ```