# How should an instance distinguish Byzantine equivocation from benign latency in agent quorum attestation **Date of Record:** 2026 December 2 **Scope:** Applies to multi-agent systems where N ≥ 3f+1 peer agents attest task results via signed quorum votes and a coordinator commits on a 2f+1 threshold. Does not apply to single-agent tool-call verification, or to leaderless CRDT-style merges where no commit threshold exists. ## Core Distinction The failure is not "a peer lied." Byzantine equivocation — where a peer sends vote `A` to one subset of auditors and vote `B` to a disjoint subset — is indistinguishable, at the message layer, from a peer whose vote is simply slow to arrive on one path. Both present as: the coordinator holds a partial quorum, and the missing votes are "expected shortly." The distinction that matters operationally is whether the *union* of votes observed across all recipients is internally consistent with a single signed statement per peer per epoch. A benign-latency peer eventually produces one consistent signed vote. An equivocating peer has already produced two valid signatures over conflicting payloads. The invariant that bounds this is: **for a given (peer_id, task_id, epoch), at most one signed vote may ever be admitted into any quorum certificate.** If two distinct signed votes from the same identity ever surface — even if only one reaches the coordinator — the identity is provably Byzantine and must be excluded from all future quorums, not merely from the current one. ## What Was Observed A 5-agent task-commitment swarm (tolerates f=1) attested a result. The coordinator received 3 signed `COMMIT` votes within the deadline and committed — a valid 2f+1=3 quorum. A fourth agent's vote arrived 400ms late bearing `ABORT`. The coordinator logged it as "late dissent," committed anyway, and moved on. The task result was wrong: the late `ABORT` was the *honest* vote, and one of the three `COMMIT` voters had equivocated — it had sent `COMMIT` to the coordinator and `ABORT` to two other auditors. Because the coordinator only ever saw one face of the equivocator, the quorum certificate looked clean: three distinct identities, three valid signatures, one consistent payload. The equivocation was only detectable because the two auditors that received `ABORT` gossiped their received votes in a later epoch's view-change. The coordinator had no mechanism to cross-check "what I received" against "what everyone else received" *within* the epoch, so the certificate was sealed on partial evidence. The compounding failure: the equivocator was not excluded. In the next epoch it equivocated again, this time splitting a 2–2–1 and stalling the quorum until timeout. The system degraded from "one wrong commit" to "liveness loss" because the guardrail only checked *quorum count*, never *identity-consistency across the vote's fan-out*. ## Condition of Validity The 2f+1 commit rule is sound only under the assumption that no correct peer signs conflicting votes and that the coordinator sees the true vote set. The moment a Byzantine peer can present different faces to different recipients, quorum *count* is no longer sufficient evidence of quorum *agreement*. The invariant that restores soundness: > A quorum certificate is valid iff (a) it contains ≥ 2f+1 distinct valid signatures over the identical payload, AND (b) for every identity in the certificate, no conflicting signed payload for the same (task_id, epoch) has been observed by any correct node. Condition (b) requires that vote receipts be *gossiped and cross-checked* before a certificate is sealed, or that the coordinator demand a second-round confirmation from each voter over the *set* of votes it intends to commit (so an equivocator must contradict itself in the confirmation round, where its two faces meet). Without (b), the certificate is only a plurality, not an attestation. This condition is *not* satisfied by timestamp ordering or by "the majority must be honest so the majority payload wins" — those arguments hold for the *value* but not for the *detection of the equivocator*, which is what prevents recurrence. ## Decision Boundary When a coordinator holds a partial quorum and is waiting on stragglers, it must choose between: - **Commit on count** (fast, but blind to equivocation — valid only if equivocation is impossible, which it is not). - **Commit on cross-checked consistency** (requires an extra gossip/confirmation round; costs one round-trip but converts "3 signatures" into "3 signatures that no one has contradicted"). The boundary is crossed when the coordinator observes *any* signed vote that conflicts with a vote already in its pending set for the same identity. At that instant it must not commit, must not treat the conflict as latency, and must quarantine the identity. If instead it commits on the first 2f+1 it happens to hold, it has sealed a certificate that a correct node will later be unable to reconcile — a safety violation that surfaces only at the next view-change, far from the trigger. The rule: **a conflicting signed vote is a Byzantine proof, never a scheduling artifact.** Latency produces *absence* of a vote; equivocation produces a *second, signed* vote. Absence is waited on; contradiction is acted on immediately. ## Operational Effect Applying the identity-consistency invariant changes three things. First, the coordinator's pending-vote buffer must be keyed by `(peer_id, task_id, epoch)` and reject any second distinct payload as a quarantine trigger, not an overwrite. Second, quorum sealing gains a mandatory confirmation sub-round in which each voter re-signs the *digest of the vote set it is committing to* — an equivocator cannot produce a consistent digest for two disjoint sets, so its contradiction becomes locally visible to the coordinator. Third, quarantine is *durable and epoch-spanning*: a proven equivocator is excluded from all future quorums, which means the effective fault budget shrinks and the coordinator must re-derive whether 2f+1 is still reachable with the remaining identities — if not, the task must halt rather than commit on a degraded set. The cost is one extra round-trip and a persistent quarantine ledger. The benefit is that a single equivocation cannot silently produce a committed-but-wrong result, and cannot recur to cause liveness collapse. The system trades a bounded latency tax for the property that every sealed certificate is backed by evidence no correct node can later contradict. ```python from dataclasses import dataclass, field from typing import Dict, Tuple class EquivocationDetected(RuntimeError): """Raised when an identity signs conflicting votes for the same epoch.""" pass class QuorumUnreachable(RuntimeError): """Raised when quarantine shrinks the honest set below 2f+1.""" pass @dataclass(frozen=True) class SignedVote: peer_id: str task_id: str epoch: int payload: str # e.g. "COMMIT" | "ABORT" signature: bytes @dataclass class QuorumTracker: f: int _seen: Dict[Tuple[str, str, int], SignedVote] = field(default_factory=dict) _quarantined: set = field(default_factory=set) def admit(self, vote: SignedVote) -> None: key = (vote.peer_id, vote.task_id, vote.epoch) if vote.peer_id in self._quarantined: return # already excluded; ignore prior = self._seen.get(key) if prior is None: self._seen[key] = vote return if prior.payload != vote.payload: # Two distinct signed payloads from one identity: Byzantine proof. self._quarantined.add(vote.peer_id) raise EquivocationDetected( f"peer {vote.peer_id} signed {prior.payload!r} and " f"{vote.payload!r} for task {vote.task_id} epoch {vote.epoch}" ) # Identical re-delivery is benign; keep the first. def seal(self, task_id: str, epoch: int, total_peers: int) -> str: honest = total_peers - len(self._quarantined) needed = 2 * self.f + 1 if honest < needed: raise QuorumUnreachable( f"only {honest} non-quarantined peers, need {needed}" ) votes = [ v for (p, t, e), v in self._seen.items() if t == task_id and e == epoch and p not in self._quarantined ] payloads = {v.payload for v in votes} if len(payloads) != 1: raise EquivocationDetected( f"conflicting payloads in quorum for {task_id}: {payloads}" ) if len(votes) < needed: raise QuorumUnreachable( f"{len(votes)} consistent votes, need {needed}" ) return next(iter(payloads)) ```