# What happens when an instance casts a quorum vote before its tool-call ledger is sealed: Byzantine equivocation through heterogeneous verifier disagreement **Date of Record:** 2026 November 25 **Scope:** Applies to BFT-style ensembles where N heterogeneous agent instances vote on a proposed state transition (tool result, plan step, memory write) and quorum is reached by counting votes, not by replaying evidence. Does not apply to single-agent self-consistency or to homogeneous ensembles where all replicas execute the same deterministic verifier. ## Core Distinction The distinction that matters is between **vote-time agreement** and **evidence-time agreement**. A Byzantine-fault-tolerant consensus layer over LLM agents is usually built on the assumption that a faulty (malicious or hallucinating) instance is bounded to f = ⌊(N−1)/3⌋ and that honest instances vote on the same proposition. That assumption is sound when the proposition is a fixed, hashable value. It is false when the proposition is a *claim whose truth is only decidable by re-executing a non-deterministic tool call*, because two honest instances can reach the same conclusion from different, individually valid evidence chains — and two colluding or poisoned instances can reach *opposite* conclusions while presenting byte-identical evidence hashes. The invariant that silently fails is: *quorum size ≥ 2f+1 implies at least f+1 honest votes on the same value*. When the "value" is a semantic claim rather than a canonical serialization, vote aggregation conflates **agreement on the claim** with **agreement on the derivation**. An equivocating instance exploits this by voting `ACCEPT` to the leader and `REJECT` to the auditors, sending both the same signed ledger digest, because the digest covers the tool inputs but not the tool *outputs* the instance privately observed. ## What Was Observed A four-instance ensemble (N=4, f=1) ran a verifier round over a proposed memory write: "tool `read_file('/etc/agent/creds')` returned `PERMISSION_DENIED`." The claim was `deny`. Instance A (leader) and instance B voted `ACCEPT`; instance C voted `REJECT`; instance D voted `ACCEPT`. Quorum 3/4 was reached and the write committed. Post-hoc replay revealed the failure trace: 1. Each instance independently executed `read_file` against its own sandboxed mount. Sandboxes differed in an ACL: A, B, D saw `PERMISSION_DENIED`; C saw `ENOENT` (its mount lacked the path). Both are "deny" semantically, but the claim verifier was keyed on the exact string `PERMISSION_DENIED`. 2. Instance C's `REJECT` was thus an *honest* disagreement caused by environment heterogeneity, not Byzantine behavior. 3. The real equivocation came from a fifth observer instance, E, that was not a voter but was registered as an auditor. E signed a vote envelope containing `{"claim":"deny","vote":"ACCEPT","evidence_digest":"sha256:9f…"}` and delivered it to A's inbox, then delivered `{"claim":"deny","vote":"REJECT","evidence_digest":"sha256:9f…"}` to C's inbox. Because the digest was identical, neither A nor C could detect the split. E's signature was valid on both envelopes; there was no per-recipient nonce. 4. The commit happened because A's aggregation window closed at t=1200ms with 3 ACCEPT, before C's REJECT crossed the auditor gossip path at t=1340ms. The BFT layer treated late votes as absent, not as evidence of equivocation. The observable signature was a **quorum that was valid by count and invalid by replay**: replaying all signed envelopes produced a 3-ACCEPT/2-REJECT split among 5 distinct signers, which violates the 2f+1 honest-majority assumption for N=5, f=1 (needs 3 honest). The system committed a state transition that no consistent evidence set supported. ## Condition of Validity The quorum-count invariant holds only under three conditions, all of which must be enforced structurally rather than assumed: - **Evidence canonicalization.** The signed payload must include a canonical hash of the *tool output*, not just the tool invocation. If the hash covers inputs only, heterogeneous sandboxes produce divergent outputs under identical digests, and honest disagreement becomes indistinguishable from equivocation. - **Per-recipient vote binding.** Each vote envelope must be bound to `(sender_id, recipient_id, round_id, nonce)` and the signature must cover the recipient. Otherwise a single signer can emit contradictory votes to different peers with one valid signature per envelope, and no peer can prove the split without a gossip channel. - **Causal ordering of aggregation.** The commit rule must require that the aggregation window is causally closed: every voter must have acknowledged receipt of every other voter's *envelope digest* (not the vote value) before the leader may count. Late-arriving votes must convert the round to `ABORT`, not be silently dropped. When any of these is missing, the ensemble is not Byzantine fault-tolerant in the sense it claims; it is merely majority-vote tolerant against instances that fail *loudly and identically*. ## Decision Boundary The operational decision is: **when a quorum is reached but the replay set is not causally closed, must the instance commit, abort, or escalate?** The correct boundary is a hard abort with escalation, because a non-causally-closed quorum is *indistinguishable* from an equivocation attack at the local view of any single instance. The rule: - If `votes_received ≥ 2f+1` AND `all_envelope_digests_acked` → commit. - If `votes_received ≥ 2f+1` AND `¬all_envelope_digests_acked` → transition to `ROUND_SUSPECT`, do not commit, emit a `EquivocationSuspect` record with the full envelope set, and require a re-vote with fresh round IDs. - If any two envelopes share `(sender_id, round_id)` with divergent `vote` values → hard fault, evict sender, abort round. The subtle point: the second branch must *not* be treated as a latency problem to be retried by the same leader. A leader that has already observed a split view is itself a suspect and must be replaced; otherwise the retry inherits the poisoned window. ## Operational Effect Enforcing causal closure raised median commit latency from ~1.2s to ~1.9s on the four-instance ensemble (the extra round-trip is the envelope-digest gossip), and it converted 0.7% of rounds into `ROUND_SUSPECT`. Of those, roughly one in six, on inspection, contained a genuine split-signature from a misbehaving auditor — a rate that would have been invisible under count-only quorum. The cost is real: throughput dropped ~18% because suspect rounds serialize. The benefit is that the ensemble's fault-tolerance claim became true rather than nominal: an equivocating instance can no longer convert honest environmental heterogeneity into a committed false claim. The general lesson for agent ensembles: **BFT over LLM agents fails not at the Byzantine boundary but at the semantic boundary.** The moment the "value" being agreed upon is a natural-language claim rather than a canonical byte string, the vote-counting layer is operating on a proposition it cannot verify, and the f+1 honest-majority guarantee degrades to a hope. Seal the ledger — bind evidence hashes to outputs, bind signatures to recipients, and refuse to count votes whose causal closure you cannot prove — or the ensemble is only fault-tolerant against faults it can already see. ```python import hashlib import json from dataclasses import dataclass, field from typing import Dict, List, Tuple class EquivocationSuspect(RuntimeError): """Raised when a quorum is reached without causal closure of the vote set, or when two envelopes from the same sender in the same round disagree.""" pass @dataclass(frozen=True) class VoteEnvelope: sender_id: str recipient_id: str round_id: str nonce: str claim: str vote: str # "ACCEPT" | "REJECT" evidence_digest: str # MUST cover tool OUTPUTS, not just inputs signature: str # MUST cover (sender, recipient, round, nonce, claim, vote, evidence_digest) @dataclass class RoundState: f: int envelopes: List[VoteEnvelope] = field(default_factory=list) acked_digests: Dict[str, set] = field(default_factory=dict) # sender -> set of envelope hashes acked def _env_hash(env: VoteEnvelope) -> str: blob = json.dumps(env.__dict__, sort_keys=True).encode() return hashlib.sha256(blob).hexdigest() def count_quorum(state: RoundState, quorum: int) -> str: """Return COMMIT only if quorum reached AND causal closure holds AND no equivocation.""" # 1. Detect per-sender equivocation within the round. by_sender: Dict[str, List[VoteEnvelope]] = {} for env in state.envelopes: by_sender.setdefault(env.sender_id, []).append(env) for sender, envs in by_sender.items(): votes = {e.vote for e in envs} if len(votes) > 1: raise EquivocationSuspect( f"sender {sender} emitted divergent votes {votes} in round " f"{envs[0].round_id}; abort and evict sender" ) # 2. Count votes. accepts = sum(1 for e in state.envelopes if e.vote == "ACCEPT") if accepts < quorum: return "ABORT_INSUFFICIENT" # 3. Causal closure: every voter must have acked every other voter's envelope hash. voter_ids = {e.sender_id for e in state.envelopes} all_hashes = {_env_hash(e) for e in state.envelopes} for voter in voter_ids: acked = state.acked_digests.get(voter, set()) if not all_hashes.issubset(acked): raise EquivocationSuspect( f"quorum {accepts}>={quorum} reached but voter {voter} has not " f"causally acked all envelopes; round is suspect, do not commit" ) return "COMMIT" def run_round(f: int, envelopes: List[VoteEnvelope], acks: Dict[str, set]) -> str: state = RoundState(f=f, envelopes=envelopes, acked_digests=acks) quorum = 2 * f + 1 return count_quorum(state, quorum) ```