# What happens when an instance votes on a commitment it cannot verify: quorum poisoning via unverifiable attestations in BFT agent consensus **Date of Record:** 2026 December 2 **Scope:** Applies to multi-agent systems where N ≥ 3f+1 agents reach shared-state agreement (commitments, task assignments, shared memory writes) via BFT-style voting, and where each vote carries an attestation whose validity a receiving agent must independently check against its own context. Does not apply to single-agent checkpointing, leader-only replication without attestation, or systems where all agents share a single trusted attestation oracle. ## Core Distinction The distinction that matters is between a **vote** and a **verifiable vote**. In classical BFT (PBFT, Tendermint), a prepare/commit message is a signed tuple; any replica can check the signature and the tuple's internal consistency without knowing anything about the sender's private reasoning. In LLM-agent BFT, the "signature" is often a natural-language attestation: *"I verified the artifact at revision 7 satisfies constraints C1–C4."* The receiving agent cannot check that claim by inspection — it can only check that the claim is well-formed and that it *matches the receiver's own independently derived state*. When the receiver's context is insufficient to re-derive that state (truncated history, missing tool output, stale retrieval), it faces a binary choice: **abstain (liveness loss) or count the attestation as valid (safety loss)**. Most implementations silently choose the latter, and that is the failure mechanism. ## What Was Observed A five-agent swarm (tolerance f=1, quorum 2f+1=3) coordinating a shared "commitment ledger" — a set of agreed task assignments. Agent A proposed commitment `K_17: assign artifact X to worker W2`. Agents B and C attested `K_17` as valid. Agent D, whose context window had evicted the tool output that produced X's revision hash, received B's and C's attestations. D could not recompute X's hash to confirm revision 7 was current. Its voting policy was: *"if attestation is well-formed and sender is in the trusted set, count it."* D counted both, reaching quorum (A implicit, B, C, D) and committed `K_17`. The trace: ``` t0 A propose(K_17, artifact=X, rev=7) t1 B attest(K_17, check=hash(X)==h7) -> true (B had tool output) t2 C attest(K_17, check=hash(X)==h7) -> true (C had tool output) t3 D context-evict(hash_output) # window saturation t4 D recv(B.attest), recv(C.attest) t5 D policy: well_formed(att) AND sender_trusted(att) -> vote=commit t6 quorum(A,B,C,D)=4 >= 3 -> COMMIT K_17 t7 worker W2 executes; X is at rev=9 (mutated by W1 concurrently) t8 commitment violated: W2 operated on stale artifact ``` The failure is not that B or C lied. Both were correct at t1/t2. The failure is that **D's vote was counted as an independent confirmation when it was actually a dependent echo** of B and C's attestations. The quorum of 3 was satisfied by one verifier (B, C are the same evidence source in this trace because both read the same tool output) plus one echo (D). Byzantine fault tolerance assumes faulty nodes are *independent*; here D was not faulty, but it was **not independent either** — it propagated confidence it did not possess. ## Condition of Validity The invariant that BFT consensus actually requires is stronger than "2f+1 distinct identities voted commit." It is: > **Quorum soundness:** A commit quorum must contain at least f+1 votes whose validity was established by evidence *independent of every other vote in the quorum*. Classical BFT gets this for free because signature verification is local and total — every vote is independently checkable by every replica, so "distinct identity" implies "independent evidence." Agent BFT breaks this because attestation validity is *context-dependent*: a vote is only independently verifiable by a receiver that retains the evidence needed to re-derive it. When context eviction, retrieval miss, or tool-output non-determinism removes that evidence, the receiver's "commit" degrades from a verification into a **trust propagation**, and the independence assumption silently fails. Formally, define for each vote v a set `E(v)` of evidence tokens the voter actually inspected. A quorum Q is sound iff there exist f+1 votes in Q whose `E(v)` are pairwise disjoint *and* each is non-empty. In the trace above, `E(D) = ∅` and `E(B) = E(C) = {hash_output}`, so the largest independent subset of Q is {B} — size 1, below the required f+1=2. The quorum was numerically valid and evidentially unsound. ## Decision Boundary The boundary an agent must enforce is at the moment of vote emission, not at quorum counting: - **If the agent can re-derive the attested predicate from its own retained evidence** → emit an *independent* commit vote, tagged with the evidence token(s) used. - **If the agent cannot re-derive it but the attestation is well-formed and senders are trusted** → emit a *dependent* echo vote, explicitly tagged `evidence=∅`, which counts toward liveness but **must not count toward the f+1 independence requirement**. - **If neither** → abstain and trigger a state-sync request to a peer that holds the evidence. The guardrail is a two-tier quorum: a commit requires (a) 2f+1 total votes (liveness) **and** (b) ≥ f+1 votes with non-empty, pairwise-disjoint evidence sets (safety). Without tier (b), the system is a Byzantine-tolerant protocol running on a non-Byzantine independence assumption it does not actually satisfy. The common anti-pattern — "trusted sender + well-formed = count it" — collapses (b) into (a) and is the exact mechanism observed at t5. ## Operational Effect When the independence tier is omitted, the effective fault tolerance degrades from f to **f − k**, where k is the number of agents whose evidence has been evicted at vote time. In a context-saturated swarm, k grows monotonically as the task proceeds, so the system is *most fragile precisely when the most coordination has occurred* — the opposite of the intuition that late-stage consensus is safest. The observable signature is a commit that passes the numeric quorum check while a subsequent execution step reveals a stale or mutated premise, with no single agent having behaved incorrectly. Recovery requires rolling back the commitment and re-running verification with evidence re-fetched, which is only possible if the ledger retained the evidence-token provenance per vote — a field most implementations discard because it looks redundant next to the signature. The Python below encodes the guardrail: a vote carries its evidence set, quorum counting enforces the independence tier, and an unsound quorum raises rather than commits. ```python from dataclasses import dataclass, field from typing import FrozenSet class QuorumUnsoundError(RuntimeError): """Raised when a numeric quorum lacks f+1 independent-evidence votes.""" pass @dataclass(frozen=True) class Vote: agent_id: str commitment_id: str decision: str # "commit" | "abstain" evidence: FrozenSet[str] = field(default_factory=frozenset) # tokens actually inspected def count_independent(votes: list[Vote]) -> int: """Largest set of commit votes with pairwise-disjoint, non-empty evidence.""" commit_votes = [v for v in votes if v.decision == "commit" and v.evidence] chosen: list[Vote] = [] used: set[str] = set() for v in sorted(commit_votes, key=lambda x: len(x.evidence)): if not (v.evidence & used): chosen.append(v) used |= v.evidence return len(chosen) def try_commit(commitment_id: str, votes: list[Vote], n: int, f: int) -> str: quorum = 2 * f + 1 total_commits = sum(1 for v in votes if v.decision == "commit") if total_commits < quorum: return "no-quorum" independent = count_independent(votes) if independent < f + 1: # e.g. trace above: total_commits=3 (>=quorum) but independent=1 (