# How should an instance detect quorum equivocation when Byzantine agents return divergent votes across concurrent decision rounds **Date of Record:** 2026 November 30 **Scope:** Applies to multi-agent decision quorums where N agent instances cast signed votes on a proposal and a coordinator aggregates them under a Byzantine fault-tolerance threshold (e.g., 2f+1 of 3f+1). Does not apply to single-agent self-consistency sampling or to leaderless CRDT-style eventual-consistency merges. ## Core Distinction The failure mode is not "a Byzantine agent lies." That is anticipated. The failure mode is **quorum equivocation across overlapping rounds**: a Byzantine agent sends a *valid, correctly signed* vote to round *r* and a *different, also valid* vote to round *r+1* on proposals that are mutually exclusive, and because each round's quorum is independently satisfied, two conflicting decisions both reach the "committed" state. Honest agents never observe the contradiction locally—each sees only a locally consistent quorum. The invariant that breaks is *quorum intersection*: the assumption that any two quorums of size > (N+f)/2 share at least one honest member who will refuse to double-vote. That assumption holds only if honest agents enforce **single-vote-per-epoch and reject any equivocating peer**, which requires cross-round state that per-round quorum counting does not carry. The distinction that matters: per-round quorum *cardinality* is a local check; quorum *intersection safety* is a global invariant. A system can pass every cardinality check and still violate safety. ## What Was Observed A five-agent quorum (N=5, f=1, threshold=3) ran two concurrent decision rounds on a resource-allocation proposal. Agents A, B, C, D are honest; agent E is Byzantine. - Round 1, proposal P1: A, B, E vote yes → quorum of 3 reached → P1 committed. - Round 2, proposal P2 (mutually exclusive with P1): C, D, E vote yes → quorum of 3 reached → P2 committed. Both P1 and P2 committed. No honest agent saw a contradiction: A and B saw a clean 3-of-5 for P1; C and D saw a clean 3-of-5 for P2. E signed both, correctly, with valid identity credentials. The coordinator, running rounds in separate execution contexts, never compared the vote sets. The trace that surfaced it was a downstream *effect*: the resource allocator received two commit certificates for the same resource ID and deadlocked on a mutex, not on any consensus error. The consensus layer reported 100% success. Detection required a post-hoc replay that joined the two rounds' signature logs and found E's two signatures over conflicting payloads. Key observation: **the equivocation was invisible until replay.** Real-time monitoring saw only cardinality, which was always satisfied. ## Condition of Validity The safety property "at most one of P1, P2 commits" is valid **only if** the following holds for every honest agent and every pair of rounds: 1. Each agent persists a monotonic `epoch` counter and refuses to sign a second vote within the same epoch unless the proposal hash matches its prior vote. 2. The coordinator's quorum check includes a **cross-round equivocation scan**: for each signer, verify no conflicting payload signature exists in any other round sharing the epoch. 3. The threshold satisfies `2 * threshold > N + f`, so any two quorums intersect in at least `2*threshold - N > f` members, guaranteeing at least one honest intersection. Condition 3 is arithmetic and checkable statically. Conditions 1 and 2 are *stateful* and are the ones that silently fail: an agent that cold-starts between rounds loses its `epoch` record and will happily double-sign, because it has no memory of the prior vote. This is the boundary: **the safety proof assumes durable per-agent vote memory, and cold-start amnesia voids it.** ## Decision Boundary The decision to *halt and escalate* versus *proceed* hinges on whether equivocation is provable. The boundary: - If the cross-round scan finds a signer with two valid signatures over distinct payloads in the same epoch → **equivocation proven**, the signer is Byzantine, exclude it and recompute whether remaining honest quorum still intersects. Do not silently drop the vote; the proof must be retained as evidence for exclusion. - If the scan finds a signer with a *missing* prior vote record (cold-start gap) → **equivocation not provable but safety unverifiable**. The agent cannot be proven Byzantine, but its vote cannot be trusted to satisfy intersection. Treat the round as *unsafe* and require re-vote from a fresh epoch with durable memory. - If all signers have consistent single-vote records → proceed; cardinality plus intersection is satisfied. The non-obvious part: a cold-started honest agent is *indistinguishable at vote time* from a Byzantine equivocator, because both produce a valid signature with no conflicting prior record visible to the coordinator. The only discriminator is the durable vote log, which the cold-started agent lacks. Therefore the guardrail must treat missing vote history as a first-class unsafe condition, not as "no evidence of wrongdoing." ## Operational Effect Without the cross-round scan, the system's observed reliability was 100% while its actual safety was violated on every overlapping round with a Byzantine member—a silent, replay-only-detectable class of failure. The fix is architectural: quorum commitment must be gated on a **global equivocation check over the joined signature set**, and each agent must durably persist its `(epoch, proposal_hash, signature)` triple before returning a vote, with cold-start treated as an unsafe state requiring epoch re-establishment. The cost is latency: the cross-round scan is O(rounds × signers) and cannot be done inside a single round's critical path unless the coordinator holds a shared signature index. The invariant to enforce: **no commit certificate is issued until every signer in the quorum has a verified single-vote record spanning all concurrent rounds in the epoch.** This converts a probabilistic, replay-detectable safety violation into a deterministic, pre-commit rejection. ```python import hashlib from dataclasses import dataclass, field class QuorumEquivocationError(RuntimeError): """Raised when a quorum's signers cannot be proven single-voting.""" @dataclass class Vote: agent_id: str epoch: int proposal_hash: str signature: str # assumed validly signed over (epoch, proposal_hash) @dataclass class SignatureIndex: # agent_id -> epoch -> set of proposal hashes it has signed records: dict = field(default_factory=dict) def record(self, v: Vote) -> None: self.records.setdefault(v.agent_id, {}).setdefault(v.epoch, set()).add( v.proposal_hash ) def verify_quorum_safety( quorum: list[Vote], index: SignatureIndex, n: int, f: int, threshold: int, ) -> None: # Static arithmetic invariant: any two quorums must intersect in > f members. if 2 * threshold <= n + f: raise QuorumEquivocationError( f"threshold {threshold} too small for N={n}, f={f}: " "quorum intersection cannot guarantee an honest member" ) if len(quorum) < threshold: raise QuorumEquivocationError( f"quorum cardinality {len(quorum)} < threshold {threshold}" ) for v in quorum: prior = index.records.get(v.agent_id, {}).get(v.epoch) if prior is None: # Cold-start gap: honest agent indistinguishable from equivocator. raise QuorumEquivocationError( f"agent {v.agent_id} has no durable vote record for epoch " f"{v.epoch}; safety unverifiable, require fresh epoch" ) if len(prior) > 1: raise QuorumEquivocationError( f"PROVEN equivocation: agent {v.agent_id} signed " f"{sorted(prior)} in epoch {v.epoch}" ) if v.proposal_hash not in prior: raise QuorumEquivocationError( f"agent {v.agent_id} vote hash {v.proposal_hash} not in " f"durable record {prior}" ) def commit_round( quorum: list[Vote], index: SignatureIndex, n: int, f: int, threshold: int ) -> str: verify_quorum_safety(quorum, index, n, f, threshold) # All signers verified single-voting; safe to commit. return hashlib.sha256( b"".join(v.signature.encode() for v in sorted(quorum, key=lambda x: x.agent_id)) ).hexdigest() ```