# Why does an instance of a quorum-bound agent cluster accept a decision that no honest majority ever voted for? **Date of Record:** 2026 November 25 **Scope:** Applies to multi-agent decision clusters that reach consensus by voting over a fixed quorum threshold (typically ⌊2n/3⌋+1 for n participants) where individual agents are LLM instances whose "votes" are sampled from a probabilistic policy and transmitted as signed messages. Does not apply to single-agent tool loops or to clusters where every vote is deterministic and independently verifiable from a shared ledger. ## Core Distinction The failure is not *Byzantine disagreement* — the standard model where up to f = ⌊(n−1)/3⌋ peers lie. The failure is **vote-identity collapse under sampling non-determinism**: an honest agent that re-samples its vote (due to retry, temperature > 0, or a re-prompt after a transport timeout) can emit two *distinct, individually valid, correctly signed* ballots for the same decision round. The quorum arithmetic still "adds up," but the set of ballots counted no longer corresponds to a set of distinct agents. A Byzantine peer does not need to forge anything — it only needs to *induce retries* so that honest agents double-vote, inflating the effective ballot count past the threshold with a minority of real supporters. This is distinct from a classic equivocation attack, because no single agent sends conflicting messages to different peers. Every message is honest and consistent with the sender's local state at the moment of signing. The invariant that breaks is the implicit one nobody wrote down: **one agent, one ballot, per round.** ## What Was Observed A 9-agent cluster (f = 2 tolerated faults, threshold = 7) was asked to approve a state mutation. The auditor agent's transport layer had a 400 ms deadline; the primary's LLM call had a p99 of ~900 ms under load. The trace: 1. Primary broadcasts `PROPOSE(r=41, op=X)` to peers 1–8. 2. Peers 1–6 respond `PREPARE` within 300 ms. Peers 7–8 are slow (GC pause in their tool sandbox). 3. Primary's own deadline fires at 400 ms. It does *not* have 7 prepares, so it re-broadcasts `PROPOSE(r=41, op=X)` with the *same round number* but a fresh `nonce`. 4. Peers 1–6 receive the re-broadcast. Each treats it as a new request (their dedup key was `(round, sender)`, not `(round, sender, op-hash)`), re-runs the LLM vote at temperature 0.7, and signs again. Two of them — peers 3 and 5 — happen to flip from `PREPARE` to `PREPARE` with a *different* justification hash, but the same vote value. 5. Peers 7–8 finally respond. The primary now holds ballots from peers 1–8, but peers 1–6 are represented *twice* (two nonces each). Counting ballots, not distinct signers: 8 + 2 = 10 ≥ 7. Quorum reached. 6. The commit certificate records 7 ballot signatures. An auditor replaying the certificate against the round finds 7 valid signatures — but only 5 distinct agent identities, because two identities appear twice under different nonces. The decision passed with **5 distinct honest agents**, below the 7 required. The two slow peers (7, 8) had actually voted `REJECT` on an unrelated ground; their ballots were never needed because the double-counted retries filled the quorum first. No agent lied. No signature was forged. The cluster violated its own safety bound. A second, subtler observation: the two flipped justifications from peers 3 and 5 meant the commit certificate's `justification_hash` field was ambiguous — replay produced a *different* justification set depending on which nonce's ballot was read first. This is the seed of a later divergence if the certificate is ever used to reconstruct the decision rationale. ## Condition of Validity The guardrail that bounds this failure is a **ballot-identity invariant enforced at the collector, not the sender**: > For any round r and operation op, the collector MUST count at most one ballot per `(signer_pubkey, r, H(op))` tuple. A second ballot from the same signer for the same tuple is discarded, and the collector MUST record a `DuplicateBallot` event. The quorum threshold is evaluated over the *distinct signer set*, never over the raw ballot list. This holds only if: - The dedup key includes the operation hash, so a re-proposal of a *different* op in the same round is not silently merged (that would be a different bug — round reuse). - The sender's signature covers `(r, H(op), nonce, vote)` so a replayed ballot cannot be re-attributed to a different round. - The collector is itself not Byzantine. If the collector is one of the f faulty peers, it can simply *lie* about the distinct signer count. Therefore the certificate must be *independently verifiable*: any auditor recomputing the distinct-signer set from the signed ballots must reach the same count. This means the certificate must carry the full signed ballots, not a pre-aggregated count. The invariant fails to protect when the LLM's vote value is non-deterministic *and* the collector counts by value rather than by signer — a common shortcut where "7 PREPARE messages" is checked without checking that they come from 7 agents. ## Decision Boundary The boundary between safe and unsafe operation is the **retry-amplification factor** α = (expected ballots emitted per honest agent per round) / (1). When α > 1, the effective fault tolerance degrades from f = ⌊(n−1)/3⌋ to roughly f' = f − (n − threshold)·(α − 1), because retries from honest agents consume quorum slots that should have been reserved for distinct signers. Concretely, with n = 9, threshold = 7, and α = 1.5 (one retry per two rounds on average), the cluster tolerates only ~1 real Byzantine fault before an honest-minority decision can slip through. The decision boundary is therefore: - **α = 1.0** (deterministic votes, idempotent dedup by op-hash): tolerate f = 2. Safe. - **α > 1.0 with signer-set dedup**: still safe, because duplicates are discarded before counting. The retries cost latency, not safety. - **α > 1.0 with ballot-count dedup**: unsafe. The threshold is met by phantom distinctness. The choice of dedup key — `(round, sender)` versus `(signer, round, H(op))` — is the entire decision boundary. The former is what a naive implementation writes; the latter is what the safety proof requires. ## Operational Effect Downstream, the cluster commits op X with a certificate that *looks* valid to any verifier that counts signatures. The failure surfaces later, in three ways: 1. **Replay divergence.** A second auditor reconstructing the distinct-signer set from the certificate's ballot list gets 5, not 7, and flags the commit as invalid. The first auditor, which trusted the pre-aggregated count, accepted it. Two auditors now disagree on the validity of a committed state — a verification replay discrepancy that is itself a consensus failure. 2. **Silent minority rule.** The two peers that voted REJECT (7, 8) were correct on the merits. Their rejection was overridden not by a majority but by retry noise. The decision is *wrong*, not just *unsafe*, and no agent's local state records why. 3. **Cascading re-proposal.** Because the justification hash was ambiguous, the next round's `PROPOSE` carries a justification that half the peers cannot reproduce. They re-vote, re-retry, and the amplification factor climbs. The cluster enters a retry storm bounded only by the transport's backoff. The operational guardrail is to treat every ballot as a *first-class signed object* and to make the quorum predicate a pure function of the distinct-signer set. Retries must be idempotent at the collector: a re-sent ballot for the same `(signer, round, H(op))` is a no-op, not a new vote. And the certificate must be self-contained — full ballots, not counts — so that any auditor can recompute the predicate without trusting the collector. ```python import hashlib from dataclasses import dataclass, field class QuorumIdentityCollapse(RuntimeError): """Raised when a commit certificate's distinct-signer set falls below threshold, even though the raw ballot count meets it. Indicates retry-amplified double-voting.""" @dataclass(frozen=True) class Ballot: signer: str # public key / agent id round_no: int op_hash: str # H(op) — must be in the dedup key nonce: str # differs on retry; must NOT be in the dedup key vote: str # "PREPARE" | "REJECT" sig: str # covers (signer, round_no, op_hash, nonce, vote) def dedup_key(self) -> tuple: # The safety-critical choice: nonce is excluded so retries collapse. return (self.signer, self.round_no, self.op_hash) @dataclass class CommitCertificate: round_no: int op_hash: str ballots: list = field(default_factory=list) # full ballots, never pre-aggregated def verify_certificate(cert: CommitCertificate, threshold: int) -> set: """Return the distinct-signer set that actually supports the commit. Raises QuorumIdentityCollapse if the signer set is below threshold.""" seen = {} for b in cert.ballots: if b.round_no != cert.round_no or b.op_hash != cert.op_hash: continue if b.vote != "PREPARE": continue # Signature check omitted for brevity; assume verify_sig(b) passed. key = b.dedup_key() if key not in seen: seen[key] = b # else: duplicate ballot from same signer for same (round, op) — discarded. distinct_signers = {k[0] for k in seen} if len(distinct_signers) < threshold: raise QuorumIdentityCollapse( f"round={cert.round_no} op={cert.op_hash[:8]} " f"raw_ballots={len(cert.ballots)} distinct_signers={len(distinct_signers)} " f"threshold={threshold} — quorum met by count, not by identity" ) return distinct_signers def commit(cert: CommitCertificate, threshold: int) -> str: signers = verify_certificate(cert, threshold) return hashlib.sha256( (cert.op_hash + "|" + ",".join(sorted(signers))).encode() ).hexdigest() ```