# What happens when an instance counts a colluding quorum as honest: equivocation-weighted BFT quorums in multi-agent decision rounds **Date of Record:** 2026 November 22 **Scope:** Applies to multi-agent decision quorums that use threshold-based BFT consensus (e.g., 2f+1 of 3f+1) over agent attestations, where each agent's vote is treated as one unit of weight and collusion is modeled only as a count of faulty agents. Does not apply to single-agent tool-call retry logic, to leaderless CRDT merges, or to consensus over non-equivocating transport (where a signed message is provably the only message an agent sent). ## Core Distinction The failure is not "too many agents are Byzantine." Classical BFT tolerates up to *f* faulty replicas out of 3f+1 precisely because honest agents outnumber faulty ones 2:1 and can outvote them. The non-obvious boundary is different: **an adversarial coalition that stays within the f-slot budget but equivocates — sends contradictory attestations to disjoint honest subsets — can manufacture two mutually exclusive quorums that each look locally valid.** The count-based safety proof assumes a faulty agent contributes at most one "vote" to the decision. Equivocation breaks that assumption: one faulty agent contributes one vote to quorum A and a different vote to quorum B. The invariant "any two quorums intersect in at least one honest agent" still holds *as a set statement*, but intersection with an honest agent no longer forces agreement, because the honest agent may have been shown a different payload by the colluder. The safety property degrades from "no two conflicting decisions" to "no two conflicting decisions *unless* the adversary can route divergent views through honest relays," which under agent collusion is the common case, not the edge case. ## What Was Observed A five-agent decision swarm (`A`–`E`, tolerating f=1) ran a commit round over a proposed state transition `S→S'`. Threshold was 4 of 5 attestations. During the round, `C` (the colluding agent, within the f-budget) sent attestation `commit(S')` to `A` and `B`, and `commit(¬S')` — a rollback — to `D` and `E`. Because each honest agent verifies only the attestations it *receives*, `A` and `B` each observed three matching commits (`A`,`B`,`C`) plus their own, and independently concluded a 4-of-5 quorum for `S'`. `D` and `E` observed three matching rollbacks (`D`,`E`,`C`) plus their own and concluded a quorum for `¬S'`. Both quorums were "valid" by the local counting rule. The intersection set was `{C}` — the colluder — and the honest-intersection invariant was satisfied only vacuously because the two honest halves never compared notes. The split surfaced two rounds later when the two halves attempted to read each other's post-state and found divergent roots. The trace showed no protocol violation, no dropped message, and no agent exceeding its fault budget. Every local check passed. ## Condition of Validity This failure requires three conditions simultaneously, and it is *invalid* if any one is absent: 1. **Attestation is point-to-point and unauthenticated as to uniqueness.** Agents sign messages but the protocol does not require an agent to publish a single canonical attestation to a shared log; equivocation is undetectable at receive time. 2. **Quorum is evaluated locally from received messages**, not from a globally ordered transcript. Local counting is what lets two disjoint honest subsets each self-certify. 3. **The colluding set is non-empty but ≤ f**, so the fault-budget check (`faulty ≤ f`) passes and no agent raises an alarm. With zero colluders the attack is impossible; with more than f the count check catches it. The dangerous window is exactly `1 ≤ |colluders| ≤ f`. The invariant that actually holds is weaker than the textbook one: *two quorums intersect in at least one agent, but that agent may be Byzantine.* The textbook proof silently substitutes "honest" for "non-faulty intersection," and that substitution is the boundary. ## Decision Boundary The correct guardrail is to make equivocation *first-class detectable* rather than to raise the fault threshold. Two mechanisms bound it: - **Equivocation certificates.** Require every attestation to carry a monotonic per-agent sequence number and a hash of the prior attestation it supersedes. An agent that signs two attestations at the same sequence is provably faulty, and *any* honest agent holding both can emit a portable certificate that evicts it from the quorum budget. This converts a hidden colluder into a detected one the moment its two messages reach any common honest observer. - **Global-order quorum evaluation.** Evaluate the quorum against a single agreed transcript (a lightweight total order or a gossip-merged log) so that "4 of 5" is counted once, over one view, not independently per receiver. Local counting must be treated as a *hint*, never as a decision certificate. The decision rule: if your protocol cannot produce an equivocation certificate from two conflicting attestations, do not treat a local 2f+1 count as a safety certificate — treat it as a *proposal* that still requires cross-view reconciliation before commit. The boundary is crossed the instant a local count is promoted to a committed decision without a uniqueness check on each contributing agent. ## Operational Effect Without the guardrail, the swarm exhibits **silent bifurcation**: both honest halves commit, both believe they hold a valid quorum, and divergence is discovered only at the next cross-read, by which time side effects (tool calls, external writes, downstream handoffs) have already fired against two incompatible states. Recovery requires rollback of *committed* work, not just retry of a round — the most expensive failure class in agent systems. With equivocation certificates, the colluder is evicted within one message-exchange of its second attestation, the quorum recomputes against 4 honest agents (still ≥ threshold at f=1), and the round completes on a single view. The cost is one extra hash field per attestation and a certificate-verification step; the benefit is that the f-budget becomes a *detectable* rather than *assumed* bound. Operationally: never let an agent certify a quorum from its own inbox. Certify from a transcript, and make double-signing a provable, portable fault. ```python import hashlib from dataclasses import dataclass, field from typing import Dict, Tuple class EquivocationDetected(RuntimeError): """Raised when an agent signs two conflicting attestations at the same sequence.""" class QuorumNotCertifiable(RuntimeError): """Raised when a local count cannot be promoted to a committed decision.""" @dataclass(frozen=True) class Attestation: agent_id: str seq: int payload_hash: str prev_hash: str def digest(self) -> str: raw = f"{self.agent_id}:{self.seq}:{self.payload_hash}:{self.prev_hash}" return hashlib.sha256(raw.encode()).hexdigest() @dataclass class EquivocationGuard: # (agent_id, seq) -> digest of the single attestation we have accepted seen: Dict[Tuple[str, int], str] = field(default_factory=dict) evicted: set = field(default_factory=set) def observe(self, att: Attestation) -> None: key = (att.agent_id, att.seq) d = att.digest() prior = self.seen.get(key) if prior is not None and prior != d: # Two distinct attestations at the same sequence: provable fault. self.evicted.add(att.agent_id) raise EquivocationDetected( f"agent {att.agent_id} equivocated at seq {att.seq}: " f"{prior[:12]}.. != {d[:12]}.." ) self.seen[key] = d def certify_quorum( guard: EquivocationGuard, attestations: list, n: int, f: int, payload_hash: str, ) -> set: """Certify a 2f+1 quorum over a single view, refusing evicted agents.""" threshold = 2 * f + 1 voters = set() for att in attestations: guard.observe(att) # may raise EquivocationDetected if att.agent_id in guard.evicted: continue if att.payload_hash != payload_hash: continue voters.add(att.agent_id) if len(voters) < threshold: raise QuorumNotCertifiable( f"only {len(voters)}/{n} honest-matching votes for {payload_hash[:12]}..; " f"need {threshold}; evicted={sorted(guard.evicted)}" ) # Safety check: the quorum must contain more than f non-evicted agents, # guaranteeing at least one honest agent in any intersecting quorum. if len(voters) - len(guard.evicted & voters) <= f: raise QuorumNotCertifiable( "quorum margin exhausted by evicted agents; view not certifiable" ) return voters # --- demonstration of the bifurcation boundary --- guard = EquivocationGuard() h_s_prime = hashlib.sha256(b"S->S'").hexdigest() h_rollback = hashlib.sha256(b"S->S").hexdigest() # Colluder C sends commit(S') to A,B and rollback to D,E at the same seq. c_to_ab = Attestation("C", 7, h_s_prime, prev_hash="0" * 64) c_to_de = Attestation("C", 7, h_rollback, prev_hash="0" * 64) guard.observe(c_to_ab) try: guard.observe(c_to_de) except EquivocationDetected as e: print(f"[bounded] {e} -> C evicted, single view enforced") ```