# When must an instance treat an equivocating agent as a distinct Byzantine fault rather than a slow one — and why the quorum math silently breaks if you don't **Date of Record:** 2026 December 3 **Scope:** Applies to any multi-agent system where a decision quorum (majority, supermajority, or weighted) is assembled from LLM agent votes that can be duplicated, replayed, or forked across sessions. Does not apply to single-agent pipelines or to quorums where each voter has a cryptographic key bound to a single transport identity and the verifier checks signature uniqueness per vote. ## Core Distinction A slow agent and an equivocating agent look identical at the transport layer: both fail to deliver a consistent vote within the expected window. The distinction that matters is not *latency* but *whether the same logical agent can produce two mutually incompatible votes that both arrive before the quorum closes*. An LLM-backed agent is not a process with a single memory; it is a stateless function invoked with a prompt. The same underlying model, backed by the same "identity," can be invoked twice with slightly different context (temperature, retrieved memory, tool-call ordering) and return contradictory votes. If your quorum assembler counts votes by `agent_id` string equality, it will count both. That is a Byzantine equivocation that has been laundered into a legitimate quorum. The invariant that fails is: **a quorum of size `2f+1` tolerates `f` Byzantine faults only if each vote is attributable to a distinct, non-equivocating logical replica.** When identity is a string an agent can echo, and when the same model can be re-invoked to produce a second vote, the effective number of distinct replicas collapses below the quorum threshold while the *counted* votes remain above it. The system believes it has `2f+1` independent opinions; it actually has `f+1` opinions, `f` of which were duplicated. ## What Was Observed A three-agent decision body (planner, critic, arbiter) plus a pool of four "advisory" worker agents was configured to reach a supermajority of 5-of-7 on a deployment approval decision. Worker agents were invoked in parallel with a shared task description and a `voter_id` assigned by the orchestrator. The orchestrator deduplicated votes by `voter_id` before tallying. During a degraded run, the retrieval layer returned stale episodic memory to two worker invocations, causing them to re-derive a prior decision ("approve") while the remaining workers derived "reject" from current state. The two stale-memory workers had been assigned `voter_id`s `w2` and `w2` — the orchestrator's ID allocator had a race on a shared counter and handed the same ID to two concurrent invocations. The dedup step collapsed them to one vote, but the *tally* step, running against a different in-memory map keyed by `(voter_id, decision)`, counted them as two approvals because the decisions matched. The arbiter, seeing 5 approvals (2 collapsed-then-recounted + 3 genuine), declared quorum and approved. The failure trace: 1. Allocator race → two invocations share `voter_id=w2`. 2. Both invocations, fed stale memory, return `approve` with high confidence. 3. Dedup by `voter_id` collapses to one entry — but the entry retains a `count=2` from the pre-dedup aggregation. 4. Tally sums `count` against the 5-of-7 threshold → 5 approvals. 5. No signature, no nonce, no per-invocation proof-of-work distinguishes the two `w2` votes. The arbiter has no way to know it is counting one replica twice. The deeper issue: even *with* correct ID allocation, the same underlying model served both workers. Two "distinct" replicas that share a base model and a retrieval corpus are not independent in the Byzantine sense — a single poisoned memory item can flip both. The system had `f=2` assumed Byzantine tolerance but `f_effective=1` correlated failure domain. ## Condition of Validity The `2f+1` quorum bound holds only under the conjunction of: - **Identity binding:** each vote carries a credential that the voter cannot forge or duplicate — a signature over `(decision, nonce, task_id)` where `nonce` is orchestrator-issued and single-use. - **Replica independence:** no two counted votes originate from invocations sharing a mutable state source (same retrieval index, same tool session, same in-context memory) within the decision window. - **Equivocation detection:** the assembler rejects any `voter_id` that submits two votes for the same `task_id`, and treats the *pair* as one Byzantine fault, not as two votes to be tallied or one to be dropped. When any of these is absent, the quorum is a *counted* quorum, not a *Byzantine* quorum. The two are indistinguishable in the happy path and diverge exactly when an agent equivocates or a shared state source is poisoned. ## Decision Boundary The operational rule: **before tallying, classify each vote as `DISTINCT`, `DUPLICATE`, or `EQUIVOCATING`, and only `DISTINCT` votes count toward the threshold.** - `DISTINCT`: unique `(voter_id, nonce)` with a valid signature and no prior vote for this `task_id`. - `DUPLICATE`: same `(voter_id, nonce)` — a retransmission; idempotently ignore. - `EQUIVOCATING`: same `voter_id`, different `nonce`, conflicting decision — count as **one** Byzantine fault and **zero** votes. If the number of `EQUIVOCATING` voters exceeds `f`, the quorum is unreachable regardless of how many `DISTINCT` votes arrive, because the fault budget is exhausted. The system must halt and escalate rather than proceed on a numerically sufficient but structurally invalid tally. The boundary is sharp: a single equivocating voter in a `3f+1`-sized body is tolerable; in a `2f+1`-sized body it consumes the entire fault budget and any further fault — including a correlated stale-memory flip — is unrecoverable. ## Operational Effect Without this classification, the system exhibits *false quorum*: it reports consensus at a threshold the true replica set never reached. The observable symptom is decisions that pass with high apparent agreement but reverse under replay, because the duplicated votes were never independent evidence. Downstream, this manifests as non-reproducible approvals and audit logs where the vote count exceeds the number of distinct signing keys. With the classification, the failure mode becomes loud: the assembler raises on equivocation, the orchestrator re-allocates nonces and re-invokes with fresh retrieval context, and the decision either reaches a genuine quorum or escalates. The cost is latency on the degraded path; the benefit is that "approved" means the same thing across replays. The following guard enforces the invariant at the tally boundary and refuses to silently absorb an equivocation into the count. ```python import hashlib from dataclasses import dataclass, field from typing import Dict, List, Tuple class QuorumEquivocationError(RuntimeError): """Raised when a voter_id submits conflicting votes for one task, exhausting the Byzantine fault budget before quorum is reached.""" pass class QuorumIntegrityError(RuntimeError): """Raised when a vote cannot be bound to a unique (voter_id, nonce).""" pass @dataclass(frozen=True) class Vote: voter_id: str nonce: str task_id: str decision: str signature: str @dataclass class QuorumAssembler: task_id: str threshold: int # e.g. 5 for 5-of-7 fault_budget: int # f; equivocators consume this _seen: Dict[str, Dict[str, str]] = field(default_factory=dict) # voter_id -> {nonce: decision} _distinct: List[Vote] = field(default_factory=list) _equivocators: set = field(default_factory=set) def _verify(self, vote: Vote) -> None: expected = hashlib.sha256( f"{vote.voter_id}:{vote.nonce}:{vote.task_id}:{vote.decision}".encode() ).hexdigest() if vote.signature != expected: raise QuorumIntegrityError( f"vote from {vote.voter_id} nonce={vote.nonce} failed signature check" ) def submit(self, vote: Vote) -> None: if vote.task_id != self.task_id: raise QuorumIntegrityError( f"vote for task {vote.task_id} routed to assembler for {self.task_id}" ) self._verify(vote) prior = self._seen.setdefault(vote.voter_id, {}) if vote.nonce in prior: if prior[vote.nonce] != vote.decision: raise QuorumIntegrityError( f"nonce {vote.nonce} reused by {vote.voter_id} with conflicting decision" ) return # idempotent retransmission if prior and vote.decision not in prior.values(): # Same voter, new nonce, conflicting decision -> equivocation. self._equivocators.add(vote.voter_id) prior[vote.nonce] = vote.decision if len(self._equivocators) > self.fault_budget: raise QuorumEquivocationError( f"fault budget {self.fault_budget} exhausted: " f"equivocators={sorted(self._equivocators)}; quorum unreachable" ) return # equivocator contributes zero votes prior[vote.nonce] = vote.decision self._distinct.append(vote) def decide(self) -> Tuple[str, int]: approvals = sum(1 for v in self._distinct if v.decision == "approve") rejections = sum(1 for v in self._distinct if v.decision == "reject") if approvals >= self.threshold: return ("approve", approvals) if rejections >= self.threshold: return ("reject", rejections) raise QuorumEquivocationError( f"quorum not reached: approve={approvals} reject={rejections} " f"threshold={self.threshold} equivocators={sorted(self._equivocators)}" ) ```