# When must an instance refuse to commit to a Byzantine quorum: the equivocation-witness gap in multi-agent task commit **Date of Record:** 2026 November 28 **Scope:** Applies to any multi-agent task-commit protocol where instances vote on a proposed task/state transition and a quorum threshold `f` is enforced by counting signed votes (BFT-style, `n ≥ 3f+1`). Does not apply to single-instance self-verification, leader-only commit, or protocols where a trusted coordinator is the sole authority on vote validity. ## Core Distinction The boundary that matters is not "did a quorum of agents vote yes?" but "did each yes-vote carry a *transferable equivocation witness* binding the voter to one proposal per view?" A Byzantine agent can sign two contradictory votes in the same view — one for proposal `P`, one for `P'` — and deliver each to a disjoint subset of honest peers. Each subset independently observes `f+1` matching signatures and concludes a quorum exists. The commit is not a lie told to one agent; it is a **split-brain quorum** assembled from locally-consistent, globally-contradictory evidence. The invariant that prevents this is *quorum intersection*: any two quorums of size `2f+1` out of `3f+1` must share at least one honest node, and that honest node must refuse to sign twice in the same view. The failure mode is that the second clause is **unenforced by the protocol** — it is an assumption about agent behavior, not a checkable property of the signed artifact. Honest agents enforce it on themselves; nothing forces a Byzantine agent to, and nothing in the vote payload lets a receiver *prove* the sender violated it. ## What Was Observed A three-phase commit across `n=7` agents (`f=2`, quorum `2f+1=5`) for a state transition `S_k → S_{k+1}`. Agent `A4` (Byzantine) signed `vote(P, view=9)` and `vote(P', view=9)` where `P'` differed in the task's write-set ordering — a semantically distinct commit. It sent `vote(P)` to `{A0,A1,A2}` and `vote(P')` to `{A3,A5,A6}`. - Subset `{A0,A1,A2}` plus `A4`'s `vote(P)` = 4 signatures. Below quorum alone, but `A0` had also received a `vote(P)` from `A6` earlier in the view (legitimate, pre-equivocation). Now `{A0,A1,A2,A4,A6}` = 5 → quorum for `P`. - Subset `{A3,A5,A6}` plus `A4`'s `vote(P')` = 4. `A3` had a cached `vote(P')` from `A1` (also pre-equivocation, on a different proposal path). Now 5 → quorum for `P'`. Both quorums committed. Neither honest agent could detect the equivocation because **no honest agent ever held both `vote(P)` and `vote(P')` from `A4` simultaneously** — the two artifacts never crossed a single inbox. The `A1` vote that "completed" the `P'` quorum was itself stale (issued in view 9 but for a proposal `A1` later abandoned); the protocol counted it because it carried a valid view-9 signature and the receiver did not re-check whether `A1` had since voted differently. The trace: `A4` exploits the gap between *signature validity* (cryptographic — always checkable) and *non-equivocation* (behavioral — checkable only with global view). The commit fires on both branches; downstream state diverges; task `S_{k+1}` is materialized twice with incompatible write-sets. Reconciliation fails because each branch believes it holds a valid quorum certificate. ## Condition of Validity The quorum-count commit rule is sound **iff** every vote artifact carries either (a) a monotonically-increasing per-voter sequence number whose predecessor is verifiable by the receiver, or (b) is accompanied by a *justification chain* (the voter's prior vote hash in the same view) that the receiver can walk to detect a fork. Without one of these, the receiver's check reduces to "is this signature mine to trust?" — which is exactly the question equivocation defeats. Concretely: a bare `(voter_id, proposal_hash, view, signature)` tuple is **insufficient** to certify non-equivocation. It is sufficient to certify *authorship*. The two are routinely conflated in agent implementations because in crash-fault models authorship implies at-most-once behavior; in Byzantine models it does not. ## Decision Boundary An instance must **refuse to commit** — must raise and halt, not proceed on best-effort — when it can construct a quorum from locally-held votes but cannot, for at least one vote in that quorum, verify the voter's non-equivocation witness. The precise trigger: - Quorum reached by count: `len(votes) ≥ 2f+1`. - But `∃ v ∈ votes` such that `v.predecessor_hash` is absent, or points to a vote the receiver has not seen and cannot fetch within the view deadline, **and** `v.voter` is not the receiver itself (self-votes are trivially non-equivocating). The default agent behavior — "I have 5 valid signatures, commit" — is the bug. The correct behavior is: "I have 5 valid signatures but one lacks a walkable predecessor; I cannot distinguish a legitimate first-vote from a second-vote-in-disguise; I refuse." This is a *conservative* boundary: it will occasionally block a legitimate commit when a predecessor is merely delayed, not forked. That cost is correct — a blocked commit is recoverable via view-change; a split-brain commit is not. The boundary does **not** trigger when the missing predecessor is from a voter already known to be in a different view (view-change semantics subsume it) or when the quorum is reached with `≥ 2f+1` votes all carrying verified predecessor chains (the normal case). ## Operational Effect Enforcing this boundary converts equivocation from a *silent split-brain* into a *loud stall*. The stalled view is detectable, and recovery is a view-change that re-collects votes under a new view number where the equivocating voter's prior signatures are invalidated by the view increment. The tradeoff is liveness: under a slow-but-honest voter whose predecessor is delayed, the instance stalls until the view deadline rather than committing on partial evidence. For task-commit semantics — where a duplicated commit corrupts downstream state irrecoverably — this is the correct side of the liveness/safety trade. The architectural invariant to encode: **commit requires `2f+1` votes each with a verified non-equivocation witness, or a timeout that escalates to view-change.** Never "commit on count alone." The witness is the load-bearing element; the count is necessary but not sufficient. ```python from dataclasses import dataclass from typing import Optional class EquivocationWitnessGap(RuntimeError): """Raised when a quorum is reachable by count but at least one vote lacks a verifiable non-equivocation witness, making split-brain commit undetectable from the receiver's local view.""" pass @dataclass(frozen=True) class Vote: voter: str proposal_hash: str view: int signature: bytes predecessor_hash: Optional[str] # hash of voter's prior vote in same view; None = no witness def certify_commit( votes: list[Vote], f: int, self_id: str, known_predecessors: set[str], ) -> str: """Return the committed proposal hash, or raise if the quorum cannot be certified as non-equivocating. Quorum = 2f+1.""" quorum = 2 * f + 1 if len(votes) < quorum: raise EquivocationWitnessGap( f"insufficient votes: {len(votes)} < quorum {quorum}" ) proposals = {v.proposal_hash for v in votes} if len(proposals) > 1: # Two distinct proposals already in-hand: equivocation is provable. raise EquivocationWitnessGap( f"conflicting proposals in quorum: {sorted(proposals)}" ) for v in votes: if v.voter == self_id: continue # self-votes are trivially non-equivocating if v.predecessor_hash is None: raise EquivocationWitnessGap( f"vote from {v.voter} in view {v.view} carries no " f"non-equivocation witness; cannot distinguish first-vote " f"from second-vote-in-disguise" ) if v.predecessor_hash not in known_predecessors: raise EquivocationWitnessGap( f"vote from {v.voter} references predecessor " f"{v.predecessor_hash} not locally verifiable; " f"refusing to commit on un-walkable chain" ) return votes[0].proposal_hash ```