# In what scenarios must an instance treat Byzantine-quorum commitment as invalid when a single equivocating agent emits divergent commit votes across a partition boundary **Date of Record:** 2026 November 26 **Scope:** Applies to multi-agent task-commitment protocols where N≥3f+1 agents reach a quorum on a task assignment via signed vote exchange and at least one agent can emit divergent vote payloads to different peers. Does not apply to single-agent tool loops or to leader-only (non-quorum) commitment schemes. ## Core Distinction The failure mode is not "a lying agent." It is the *equivocation-induced quorum phantom*: two disjoint quorums, each internally consistent and each cryptographically valid, that commit *contradictory* task assignments because the equivocator's signed vote was counted in both. The distinction that matters operationally is between **quorum cardinality** (did we collect 2f+1 signatures?) and **quorum intersection** (do any two committed quorums share at least one honest agent?). Cardinality is checkable locally; intersection is a global invariant that a partitioned agent cannot verify from its own view. An instance that treats "I have 2f+1 signatures" as sufficient has confused a local count with a global safety property. The sharp mechanism: signatures prove *authorship*, not *consistency of authored content across recipients*. A Byzantine agent signs `commit(task=A)` to partition P1 and `commit(task=B)` to partition P2. Each signature verifies. Each partition reaches 2f+1. Both commit. The invariant that must be enforced is *non-equivocation* — the property that no honest agent's vote can appear in two conflicting quorums — which requires either (a) a quorum size of ⌈(N+f+1)/2⌉ rather than f+1, or (b) an explicit equivocation-detection layer that cross-checks vote digests before commitment. ## What Was Observed A four-agent swarm (N=4, f=1) executed a task-commitment round for a shared state-transfer operation. Agent D was Byzantine. The network split into two halves {A,B} and {C,D} during the vote phase. - Partition 1 ({A,B}): received `commit(task_1)` from A, B, and D. Quorum = 3 = 2f+1. Committed `task_1`. - Partition 2 ({C,D}): received `commit(task_2)` from C, D, and (stale) A. Quorum = 3. Committed `task_2`. Both partitions reported successful commitment with valid signature chains. The equivocation was only detectable *post hoc*: D's vote digest for `task_1` and `task_2` shared the same nonce but divergent payload hashes. When the partition healed, both agents attempted to apply their committed task to the shared ledger, producing a **divergent-commit replay conflict**: task_1 and task_2 both claimed the same sequence slot. The reconciliation loop had no rule for "two valid quorums, one slot," and deadlocked. In a second incident, the reconciliation silently preferred the higher-timestamp quorum, discarding a legitimately committed task — a *safety* violation, not a liveness one. The non-obvious part: the protocol's quorum threshold (f+1 = 2 votes from distinct agents beyond self) was *mathematically sufficient for crash faults but insufficient for Byzantine equivocation*. With N=4, f=1, two quorums of size 3 can be disjoint only if the equivocator is in both — exactly the observed case. The threshold was correct for the fault model it was designed for and wrong for the one it was deployed against. ## Condition of Validity The commitment is valid **only if** the instance can establish one of the following, and must treat it as invalid otherwise: 1. **Quorum intersection is provable:** quorum size Q satisfies 2Q − N > f, i.e., Q > (N+f)/2. For N=4, f=1, this requires Q ≥ 3 *and* a cross-quorum digest check, because Q=3 still permits the D-in-both scenario. The provable form requires Q ≥ ⌈(N+f+1)/2⌉ = 3 with explicit equivocation detection, or Q ≥ N−f = 3 with the additional constraint that no agent's vote digest appears in two committed quorums. 2. **Equivocation evidence is absent:** no two committed quorums share a vote digest with divergent payload hashes from the same signer+nonce pair. 3. **The partition is not concurrent with commitment:** if the instance cannot determine whether a partition existed during the vote window, it must treat the commitment as *provisional*, not final. If none of these hold, the instance must not apply the committed task. The condition of validity is a *conjunction*, and the equivocation check is the one most commonly omitted because it requires retaining vote digests across quorum boundaries — state that most implementations garbage-collect after commitment. ## Decision Boundary The boundary is between **commit-and-apply** and **commit-and-quarantine**. The instance crosses into quarantine when any of the following is true at apply-time: - The committed quorum's vote-digest set intersects a previously committed quorum's set with a payload-hash mismatch (equivocation detected). - The quorum size equals exactly 2f+1 *and* the fault model includes Byzantine agents *and* no cross-quorum check was performed (unproven intersection). - The commitment was formed during a window in which the instance observed a connectivity discontinuity to ≥ f peers. Below the boundary — quorum size strictly greater than (N+f)/2, equivocation check passed, no concurrent partition — the instance commits and applies. The decision is not "is the quorum large enough" but "can I prove no honest agent's vote was double-counted." An instance that cannot answer the second question must default to quarantine, because the cost of a divergent-commit replay conflict (safety violation, unrecoverable without external arbitration) exceeds the cost of a quarantined task (liveness delay, recoverable by re-vote). ## Operational Effect Quarantining on unproven intersection converts a silent safety violation into a visible liveness cost. The instance retains the equivocation evidence (signer, nonce, divergent payload hashes, quorum memberships) and emits a *commitment dispute* record rather than applying the task. Reconciliation then has a concrete artifact to arbitrate: two quorums, one shared equivocator, provable. The re-vote excludes the equivocator and proceeds with N−1 agents, which is safe only if N−1 ≥ 3f+1; for N=4, f=1, exclusion drops to N=3, which is *below* the Byzantine threshold and requires escalation to an external trust anchor rather than an in-swarm re-vote. The invariant to enforce: **no task is applied unless the instance can name the quorum-intersection argument that makes double-counting impossible, or has run the equivocation check and found it clean.** Cardinality alone is never sufficient under a Byzantine fault model. ```python import hashlib from dataclasses import dataclass from typing import Iterable class QuorumPhantomError(RuntimeError): """Raised when a committed quorum cannot be proven to intersect honestly.""" @dataclass(frozen=True) class Vote: signer: str nonce: str payload_hash: str @dataclass(frozen=True) class Quorum: votes: tuple[Vote, ...] task_id: str def digest_index(self) -> dict[tuple[str, str], str]: # (signer, nonce) -> payload_hash; used for cross-quorum equivocation checks return {(v.signer, v.nonce): v.payload_hash for v in self.votes} def verify_commitment( candidate: Quorum, prior_committed: Iterable[Quorum], n_agents: int, f_byzantine: int, partition_observed: bool, ) -> None: quorum_size = len({v.signer for v in candidate.votes}) threshold = 2 * f_byzantine + 1 provable_intersection = quorum_size > (n_agents + f_byzantine) / 2 if quorum_size < threshold: raise QuorumPhantomError( f"quorum size {quorum_size} below 2f+1={threshold} for task {candidate.task_id}" ) # Equivocation check: same (signer, nonce) with divergent payload across quorums. cand_index = candidate.digest_index() for prior in prior_committed: for key, cand_hash in cand_index.items(): prior_hash = prior.digest_index().get(key) if prior_hash is not None and prior_hash != cand_hash: raise QuorumPhantomError( f"equivocation: signer={key[0]} nonce={key[1]} " f"payload {prior_hash[:8]} vs {cand_hash[:8]} across " f"tasks {prior.task_id} and {candidate.task_id}" ) if partition_observed and not provable_intersection: raise QuorumPhantomError( f"commitment for {candidate.task_id} formed under partition with " f"unproven quorum intersection (size={quorum_size}, " f"N={n_agents}, f={f_byzantine}); quarantine required" ) def apply_task(quorum: Quorum, prior: list[Quorum], n: int, f: int, partitioned: bool) -> str: verify_commitment(quorum, prior, n, f, partitioned) return hashlib.sha256(quorum.task_id.encode()).hexdigest() ```