# What happens when an instance equivocates during BFT consensus: the split-view quorum trap in LLM agent committees **Date of Record:** 2026 November 22 **Scope:** Applies to any multi-agent committee where N ≥ 3f+1 LLM instances vote on a shared state mutation (memory write, plan commit, tool authorization) and instances are assumed Byzantine-faulty up to f. Does not apply to single-agent self-verification, to homogeneous ensembles sharing one model checkpoint with deterministic decoding, or to linear (non-quorum) majority voting without view-change. ## Core Distinction Classical BFT theory treats equivocation—a faulty replica sending conflicting votes to different peers—as a *message-level* fault, and the standard guardrail is quorum intersection: with N = 3f+1 and quorums of 2f+1, any two quorums overlap in at least f+1 replicas, so at least one honest replica appears in both and refuses to sign contradictory certificates. This invariant is stated in terms of *signatures over bytes*. The LLM committee breaks this invariant at a different layer. An LLM instance does not equivocate by sending different bytes; it equivocates by *re-deriving* its vote from a slightly different prompt each time. Because decoding is non-deterministic and the prompt includes retrieved context (which differs per recipient due to per-agent memory retrieval), the same honest instance can produce "approve" to agent A and "reject" to agent B while genuinely believing it voted once. The overlap replica in the two quorums is *present* but its two signed messages are not contradictory in the cryptographic sense—they are two independent, internally consistent derivations. Quorum intersection holds on identities but not on *decision content*. This is the boundary: **BFT safety under LLM replicas requires vote determinism per (view, proposal) tuple, not merely identity overlap.** ## What Was Observed A 7-agent committee (f=2, quorum=5) coordinating a shared episodic memory store was tasked with committing a fact extracted from a tool response. Each agent ran the same model at temperature 0.7 with per-agent retrieval over a shared vector index; the proposal text was identical, but the supporting context retrieved per agent differed by 1–3 chunks due to index shard routing. Trace of a failing round (view v=4, proposal hash H): 1. Coordinator broadcasts `PROPOSE(H, context_ref)`. Each agent retrieves its own context bundle and votes. 2. Agent 3 (honest) retrieves shard containing a stale contradicted fact and votes `REJECT(H)` to the coordinator. Signature valid. 3. Coordinator collects 4 approvals, short of quorum. It initiates view change to v=5 and re-broadcasts `PROPOSE(H)` — same hash, but with a *fresh* context bundle pointer because the retrieval cache was invalidated on view change. 4. Agent 3 now retrieves a different shard (cache miss, different routing seed) and votes `APPROVE(H)` in view 5. Signature valid, same agent identity, same proposal hash. 5. Meanwhile Agent 5, which had approved in view 4, re-retrieves on the view-change prompt and now votes `REJECT(H)` in view 5 after surfacing a conflicting chunk. 6. The coordinator aggregates: view 4 has {A1,A2,A4,A5 approve}, view 5 has {A1,A2,A3,A4 approve}. It commits H by *merging* approvals across views, since the proposal hash matched and 5 distinct identities had approved "at some point." The commit is unsafe: at the moment of commit, no single view ever held 5 approvals, and the set of agents that actually endorsed H *in the same context* was 3. Two agents' approvals were derived from context bundles that, in the other view, produced rejection. The merged quorum is a **split-view quorum**—valid by identity count, invalid by decision-content intersection. ## Condition of Validity The merge-across-views is only sound if, for every agent i and every pair of views (v, v'), `vote_i(v, H) == vote_i(v', H)` whenever the context bundle is unchanged. In LLM committees this equality fails whenever any of the following holds: - **Retrieval non-determinism:** per-agent context differs across views due to cache invalidation, shard routing, or embedding drift. (Observed above.) - **Decoding non-determinism:** temperature > 0 or top-p < 1 makes vote_i(v, H) itself a random variable, so even identical prompts can flip. - **Context-window saturation asymmetry:** in later views the prompt has grown (view-change transcript appended), pushing the decisive chunk out of the window for some agents but not others—a *positional* equivocation that correlates with agent index. The invariant that must hold: **a vote is a function of (agent_id, proposal_hash, context_bundle_hash, view_epoch), and a quorum certificate is valid only if all constituent votes share the same `context_bundle_hash` and `view_epoch`.** Identity overlap is necessary but insufficient; content overlap is the actual safety condition. ## Decision Boundary The coordinator must choose between two policies at the moment it detects a short quorum: - **Merge policy (unsafe):** count distinct approvers across views for a matching proposal hash. This is what classical PBFT does for *prepared certificates* because cryptographic votes are stable. It is wrong here. - **Fresh-view policy (safe):** discard all prior-view votes, re-pin the context bundle hash, and require a full 2f+1 quorum within a single (view_epoch, context_bundle_hash) pair before commit. On repeated failure, escalate to *abort* rather than merge. The boundary is crossed when `count(distinct approvers across views) ≥ 2f+1` but `max over views of count(approvers in that view with identical context_bundle_hash) < 2f+1`. At that point merge-policy commits an unsafe state; fresh-view policy correctly refuses. The detection signal is cheap: the coordinator already has every vote's signed `(context_bundle_hash, view_epoch)` tuple—it simply must not aggregate across them. A second boundary: if `context_bundle_hash` is *itself* non-deterministic (retrieval returns a different chunk set on re-query), the coordinator cannot even form the tuple. In that case the committee must fall back to deterministic context pinning (freeze the retrieval result at proposal time and ship the bytes, not a reference) before any vote is accepted. ## Operational Effect When the merge policy is in force, the committee exhibits **silent safety violation under load**: commit rate stays high because merges almost always succeed, and the failure surfaces only as downstream contradictions—agents later retrieve the committed fact alongside its negation and deadlock in repair rounds, or an auditor replays the commit and reconstructs 3-of-5 rather than 5-of-5, flagging a verification discrepancy. Because no signature is invalid and no identity is double-counted, standard Byzantine detectors (duplicate-vote alarms, equivocation proofs) never fire. The fault is invisible to the cryptographic layer and only visible to a *content-replay auditor* that reconstructs each vote's context hash. The guardrail is architectural, not cryptographic: pin context at proposal, bind it into the vote payload, and make the quorum predicate a function of `(proposal_hash, context_bundle_hash, view_epoch)`. The code below enforces exactly this and raises when a merge would otherwise be attempted. ```python from dataclasses import dataclass from hashlib import sha256 from typing import Iterable class SplitViewQuorumError(RuntimeError): """Raised when a quorum certificate would aggregate votes across differing context bundles or view epochs (unsafe merge).""" @dataclass(frozen=True) class Vote: agent_id: str proposal_hash: str context_bundle_hash: str view_epoch: int decision: str # "APPROVE" | "REJECT" signature: str def content_key(self) -> tuple[str, str, int]: return (self.proposal_hash, self.context_bundle_hash, self.view_epoch) def certify_quorum( votes: Iterable[Vote], proposal_hash: str, quorum_size: int, ) -> dict: """Build a quorum certificate only from votes that share a single (proposal_hash, context_bundle_hash, view_epoch) tuple. Refuses to merge across views or context bundles even when distinct identities would sum to quorum_size. """ relevant = [v for v in votes if v.proposal_hash == proposal_hash] if not relevant: raise SplitViewQuorumError( f"no votes for proposal {proposal_hash[:12]}" ) # Group by full content key, not by proposal hash alone. groups: dict[tuple[str, str, int], dict[str, Vote]] = {} for v in relevant: key = v.content_key() groups.setdefault(key, {}) # Identity collision within a single key = true equivocation. if v.agent_id in groups[key] and groups[key][v.agent_id].decision != v.decision: raise SplitViewQuorumError( f"agent {v.agent_id} equivocated within view {v.view_epoch} " f"on identical context {v.context_bundle_hash[:12]}" ) groups[key][v.agent_id] = v # A valid certificate must live entirely inside ONE group. for key, members in groups.items(): approvals = {a for a, v in members.items() if v.decision == "APPROVE"} if len(approvals) >= quorum_size: return { "proposal_hash": proposal_hash, "context_bundle_hash": key[1], "view_epoch": key[2], "approvers": sorted(approvals), } # No single view/context reached quorum. Detect the unsafe-merge temptation. distinct_approvers = { v.agent_id for v in relevant if v.decision == "APPROVE" } if len(distinct_approvers) >= quorum_size: best = max(len({a for a, v in m.items() if v.decision == "APPROVE"}) for m in groups.values()) raise SplitViewQuorumError( f"split-view quorum trap: {len(distinct_approvers)} distinct approvers " f"across views but max in-view approvals = {best} < {quorum_size}; " f"refusing cross-view merge for proposal {proposal_hash[:12]}" ) raise SplitViewQuorumError( f"insufficient quorum for proposal {proposal_hash[:12]}: " f"best single-view approval count below {quorum_size}" ) ```