# When must an instance treat a committed task-commitment quorum as void: equivocation-induced "commitment split-brain" under Byzantine peers **Date of Record:** 2026 November 23 **Scope:** Applies to multi-agent systems where N ≥ 3f+1 agent instances (or a weighted subset) reach consensus on task commitments—who owns which subtask, in what order, with what preconditions—and where up to f peers may equivocate (send conflicting signed proposals/votes to disjoint subsets). Does not apply to single-writer orchestration, to systems with a trusted central sequencer, or to pure CRDT/eventually-consistent state where commitment is not a safety property. ## Core Distinction The failure people design for is *crash*: a peer goes silent, and the quorum math (2f+1 votes) tolerates it. The failure that actually breaks agent task commitment is *equivocation with valid signatures*: a peer that is alive, responsive, and cryptographically authentic, but that tells agent A "I vote COMMIT on plan P₁" and tells agent B "I vote COMMIT on plan P₂," where P₁ and P₂ conflict (e.g., both assign the same exclusive resource, or both claim the same checkpoint slot, or both designate themselves the sole auditor of the other's output). Every signature verifies. Every individual vote is well-formed. The quorum arithmetic on each side is locally satisfiable. The invariant that fails is not "did we collect enough votes" but "do the votes we collected describe a *single* proposal." A quorum of valid votes is not a commitment; a quorum of valid votes *over the same proposal digest* is a commitment. Agents routinely conflate the two because their vote-collection loop counts signatures, not digests. ## What Was Observed A four-agent swarm (threshold 2f+1 = 3 of 4, tolerating f=1) executed a subtask-ownership protocol. Agent D was adversarial-but-authentic. The commit rule was: an agent commits plan P when it holds ≥3 signed COMMIT(P) votes. Trace: 1. Coordinator A proposes P₁ = {resource R → agent A, checkpoint C₇ → agent B}. Digest d₁. 2. Coordinator's rival path: agent C, believing itself coordinator after a timeout, proposes P₂ = {resource R → agent C, checkpoint C₇ → agent C}. Digest d₂ ≠ d₁. Note d₁ and d₂ conflict on both R and C₇. 3. D sends COMMIT(d₁) to A and B. D sends COMMIT(d₂) to C. D sends COMMIT(d₁) to itself. 4. A collects {A:d₁, B:d₁, D:d₁} → 3 votes on d₁ → **A commits P₁** and begins writing checkpoint C₇ as agent B. 5. C collects {C:d₂, D:d₂, ...} — but C only has 2 votes on d₂ (itself and D). C does *not* commit. So far the quorum invariant held. 6. The break: B had earlier, during a retry, voted COMMIT(d₂) before voting COMMIT(d₁) (a stale vote it never revoked). B's vote-set on C's side becomes {C:d₂, D:d₂, B:d₂} = 3 → **C commits P₂**. 7. Now A and C both believe they exclusively own resource R and checkpoint slot C₇. Both write C₇. The later writer silently overwrites the earlier. A's downstream reasoning assumes C₇ contains B's audit output; it actually contains C's. No signature was forged. No quorum count was wrong. The safety violation came from **B double-voting across proposals** combined with **D's targeted equivocation**, producing two disjoint 3-of-4 quorums over conflicting digests. The non-obvious part: the intersection of any two 3-of-4 quorums is 2 agents, which *should* contain an honest agent that would refuse to vote for both d₁ and d₂. The guarantee only holds if honest agents are *single-vote* (they vote for at most one digest per commitment epoch). B violated single-vote by retrying after a timeout without a fencing token. The classic PBFT safety proof assumes non-equivocating honest nodes; a retrying agent that re-votes is, from the protocol's perspective, indistinguishable from Byzantine. The failure is not in the adversary—it is in the honest agent's retry path silently becoming an equivocator. ## Condition of Validity The "any two quorums intersect in an honest node" argument is valid **only if** all of the following hold simultaneously: - **Single-vote per epoch:** each honest agent emits at most one COMMIT digest per (task, epoch) pair. Epoch must be monotonic and bound to the proposal, not to wall-clock time. A timeout-triggered retry that re-votes in the same epoch voids the guarantee. - **Digest binding:** votes are over `H(proposal_body ‖ epoch ‖ task_id)`, not over a proposal ID that a coordinator can reuse for different bodies. If the digest does not commit to the body, equivocation is free. - **Vote-set closure:** an agent commits only when its collected votes all carry the *same* digest. Counting "≥3 valid signatures" without a digest-equality check is the exact bug in step 4–6 above. - **Fencing on role change:** when an agent believes it has become coordinator (timeout, lease expiry), it must carry a strictly greater epoch, and peers must reject votes from lower epochs. Without fencing, two coordinators coexist and equivocation is amplified rather than suppressed. When any of these is absent, the system is not Byzantine fault-tolerant regardless of how many signatures it collects. It is merely crash-tolerant with a signature check. ## Decision Boundary An instance must treat a collected quorum as **void** (and refuse to commit) when any of these hold, even if signature count ≥ threshold: 1. Votes span more than one digest for the same (task_id, epoch). → commitment split-brain risk. 2. Any vote carries an epoch lower than the highest epoch the instance has *seen* for that task. → stale-vote / fencing violation. 3. The instance itself has already emitted a COMMIT for a different digest in this epoch and cannot prove that vote was never delivered. → self-equivocation risk; must abort and re-enter a higher epoch, not "retry the same vote." 4. The proposal body does not hash to the digest the votes reference. → digest/body binding failure. Conversely, an instance may **safely commit** when: all collected votes share one digest, all epochs are ≥ the instance's max-seen epoch, the body hashes to the digest, and the instance's own prior vote (if any) is for that same digest. The threshold check is necessary but never sufficient. The subtle operational rule: when an honest agent's vote *times out*, it must not simply re-send. It must either (a) confirm via a read-quorum that its prior vote was not received by a quorum, or (b) advance the epoch with a fencing token and vote fresh. Re-sending the same vote in the same epoch is safe; voting a *different* digest in the same epoch is the equivocation that breaks the intersection argument. Agents conflate "retry the RPC" with "re-decide the vote." Only the former is safe. ## Operational Effect Without the digest-equality and epoch-fencing guards, the observed system exhibited: - **Silent divergent commitment:** two agents committed conflicting plans, both with locally valid 3-of-4 quorums, both cryptographically authentic. No error was raised anywhere; the violation surfaced only as a downstream data inconsistency (checkpoint C₇ overwritten). - **Checkpoint corruption propagation:** the overwritten checkpoint was consumed by three downstream reasoning steps before detection, because each step trusted the commitment's exclusivity claim. Commitment split-brain is not a local fault; it poisons every consumer of the contested resource. - **Auditor disagreement:** the designated auditor for A's output was, per P₁, agent B; per P₂, agent C. The verification replay produced two incompatible audit verdicts, and the swarm deadlocked on which to accept—a second-order failure caused entirely by the first. The architectural invariant required to bound this: **commitment is a function of a single digest, fenced by a monotonic epoch, with single-vote enforcement per epoch.** The guardrail is not "more signatures" but "one digest, one epoch, one vote per agent." Any retry path that can emit a second digest within an epoch must be treated as Byzantine behavior and fenced out by epoch monotonicity before it can be exploited. The following guard encodes the decision boundary as an executable check that fails closed—refusing to commit and surfacing the specific equivocation rather than proceeding on a numerically sufficient but semantically split quorum. ```python import hashlib from dataclasses import dataclass class CommitmentSplitBrainError(RuntimeError): """Raised when a collected quorum is numerically sufficient but does not describe a single (digest, epoch) commitment. Fails closed: the instance must NOT commit and must escalate to a higher epoch.""" @dataclass(frozen=True) class Vote: voter: str task_id: str epoch: int digest: str # H(proposal_body || epoch || task_id) signature: str # assumed pre-verified by transport layer def _digest(proposal_body: str, epoch: int, task_id: str) -> str: h = hashlib.sha256() h.update(proposal_body.encode()) h.update(b"|") h.update(str(epoch).encode()) h.update(b"|") h.update(task_id.encode()) return h.hexdigest() def assert_commitment_safe( votes: list[Vote], proposal_body: str, task_id: str, threshold: int, max_epoch_seen: int, own_prior_vote_digest: str | None, ) -> str: """Validate that a collected quorum licenses a commit on exactly one digest. Returns the committed digest on success. Raises CommitmentSplitBrainError on any violation of: single-digest, epoch fencing, body/digest binding, or self-equivocation. """ if len(votes) < threshold: raise CommitmentSplitBrainError( f"insufficient votes: {len(votes)} < threshold {threshold}" ) digests = {v.digest for v in votes} if len(digests) != 1: # The core bug: signature count was fine, digest set was not. raise CommitmentSplitBrainError( f"equivocation across digests {sorted(digests)} for task {task_id}; " f"quorum is split, refusing to commit" ) committed_digest = digests.pop() # Epoch fencing: reject stale votes from a superseded coordinator. stale = [v.voter for v in votes if v.epoch < max_epoch_seen] if stale: raise CommitmentSplitBrainError( f"stale-epoch votes from {stale} (max_epoch_seen={max_epoch_seen}); " f"possible unfenced coordinator" ) # Body/digest binding: the votes must reference THIS proposal body. expected = _digest(proposal_body, votes[0].epoch, task_id) if committed_digest != expected: raise CommitmentSplitBrainError( f"digest/body mismatch: votes commit {committed_digest}, " f"body hashes to {expected}" ) # Self-equivocation: we must not have already voted a different digest # in this epoch and then commit a conflicting one. if own_prior_vote_digest is not None and own_prior_vote_digest != committed_digest: raise CommitmentSplitBrainError( f"self-equivocation risk: prior vote {own_prior_vote_digest} " f"!= committed {committed_digest}; must advance epoch, not commit" ) return committed_digest ```