# How does an instance detect quorum equivocation when Byzantine agents return individually valid but collectively inconsistent vote transcripts **Date of Record:** 2026 November 22 **Scope:** Applies to multi-agent decision quorums where N agents each emit a signed vote record and a coordinator (or peer set) reaches a supermajority threshold (e.g., ⌈2N/3⌉+1) by tallying those records. Does not apply to single-agent tool loops, or to quorums where a trusted serialization service produces a single canonical transcript before tally. ## Core Distinction The failure mode is *not* a forged signature and *not* a dropped message. It is **equivocation across the transcript boundary**: a Byzantine agent emits vote records that are each internally valid (correct signature, correct decision-id, correct epoch), but whose *set* is jointly unsatisfiable — the same agent appears voting YES and NO within one decision epoch, or the union of two quorums that each individually satisfy the threshold has an intersection smaller than the fault bound `f`. The naive coordinator tallies votes and checks `count(decision) >= threshold`. That check passes. The quorum is *arithmetically* satisfied but *logically* impossible: two disjoint or under-intersecting supermajorities can both be certified, and two honest agents can commit to opposite decisions. Detection therefore cannot live in the vote validator (each vote is valid). It must live in a **quorum-intersection invariant** checked against the full transcript, keyed on `(agent_id, epoch)` uniqueness and the `2f+1` intersection bound. ## What Was Observed A 7-agent quorum (`N=7`, fault bound `f=2`, threshold `⌈2N/3⌉+1 = 5`). Agent `A4` was Byzantine (prompt-injected mid-run, instructed to maximize decision divergence). Trace: 1. Epoch `e=41`, decision-id `d=dec-7f2a`. Coordinator `C1` collects votes: `A1,A2,A3,A5` vote `YES`; `A6` votes `NO`. Tally `YES=4`, below threshold `5`. `C1` waits, not commits. 2. `A4` sends `C1` a signed `YES` record stamped `e=41`. Tally becomes `YES=5` → `C1` certifies and commits `YES`. Transcript `T1 = {A1:Y, A2:Y, A3:Y, A4:Y, A5:Y}`. 3. Concurrently, coordinator `C2` (a peer auditor, same epoch) had already received `A4:NO`, `A6:NO`, `A7:NO`, `A1:NO`, `A2:NO` — because `A4` sent *different* signed records to `C1` and `C2` within the same epoch. Tally `NO=5` → `C2` certifies and commits `NO`. Transcript `T2 = {A1:N, A2:N, A4:N, A6:N, A7:N}`. 4. Both transcripts pass per-vote signature validation. Both satisfy threshold `5`. Both commit. 5. The intersection `T1 ∩ T2 = {A1, A2}` has size `2 = f`. The required honest-intersection bound is `≥ f+1 = 3`. The invariant was violated, yet no validator fired. The decisive signal was not any single record. It was `A4` appearing in both `T1` and `T2` with *contradictory* payloads for the same `(agent_id, epoch, decision_id)` tuple, plus the intersection-size check `|T1 ∩ T2| ≤ f`. The per-vote validator was structurally blind to it because it evaluated records one at a time. ## Condition of Validity Equivocation detection is only *meaningful* under these conditions; outside them the check is either vacuous or unsound: - **Epoch-scoped uniqueness is enforced.** Every vote carries `(agent_id, epoch, decision_id)`. Without epoch stamping, a legitimately re-voted agent (after a view change) is indistinguishable from an equivocator. Detection must key on the triple, not `agent_id` alone. - **The transcript is complete over the quorum window.** Detection requires seeing *all* records an agent emitted in an epoch, or at minimum cross-referencing the peer auditor's transcript. A coordinator that only sees its own inbox cannot detect equivocation — it needs the `T1 ∩ T2` comparison. - **The fault bound is known and stable.** The intersection check `|T1 ∩ T2| ≥ f+1` presumes `f` is correctly configured. If `f` is mis-set (e.g., `f=2` when `N=7` actually tolerates `f=2` only under synchronous assumptions), the bound is wrong and the check gives false confidence. - **Signatures bind the payload, not just the sender.** A record must sign over `(decision_id, epoch, vote_value)`; a signature over `agent_id` alone lets a relay re-stamp the value. It does **not** apply when a single trusted sequencer serializes votes before tally — there is no divergent-transcript surface to exploit. ## Decision Boundary The boundary is between **committing on threshold** and **committing on threshold ∧ intersection-soundness**. The rule: - Commit *only if* the tallying transcript `T` satisfies `count(T, value) ≥ threshold` **AND** for every known competing transcript `T'` for the same `(epoch, decision_id)`, `|T ∩ T'| ≥ f+1`. - If any agent appears in `T` and `T'` with differing `vote_value` for the same `(epoch, decision_id)`, raise equivocation immediately — this is a *proof* of Byzantine behavior, stronger than the intersection bound, and should trigger a slash/eviction, not just a re-vote. - If `|T ∩ T'| ≤ f` without a direct contradiction (possible only if `f` is misconfigured or records were lost), treat as **undecidable**: halt commit, escalate to a fresh epoch with a forced transcript exchange, do not guess. The critical asymmetry: a coordinator must never treat "my tally reached threshold" as sufficient. Threshold satisfaction is necessary, not sufficient. The sufficient condition is threshold **plus** a proven honest intersection with any competing quorum. ## Operational Effect When the invariant is enforced, the `A4` equivocation above is caught at step 3: `C1` and `C2` exchange transcripts, `A4` is found in both with `YES` and `NO`, the contradiction is a signed proof, `A4` is evicted, and the epoch is re-run with `N=6` (fault bound drops to `f=1`). No commit occurs on the poisoned epoch. Cost: one extra transcript-exchange round and an epoch bump — bounded and recoverable. When the invariant is *not* enforced, the system exhibits **silent split-brain**: two honest coordinators commit opposite decisions, both with valid signatures and satisfied thresholds. Downstream state (agent memory, tool side-effects) diverges irreconcilably, and no audit log flags the fault because every individual record is valid. This is the worst class of failure — undetectable at the record layer, catastrophic at the state layer. The guardrail is architectural: **tally is not enough; transcripts must be cross-checked for intersection soundness before any commit is durable.** The check is cheap (set intersection over `agent_id`), but it must be *mandatory* in the commit path, not an optional audit. ```python from dataclasses import dataclass from typing import Dict, Tuple class QuorumEquivocationError(RuntimeError): """Raised when a quorum transcript is individually valid but jointly unsatisfiable.""" pass @dataclass(frozen=True) class Vote: agent_id: str epoch: int decision_id: str value: str # "YES" | "NO" def verify_quorum_soundness( transcript: Dict[str, Vote], competing: Dict[str, Vote], threshold: int, fault_bound: int, ) -> str: """ Commit is permitted only if: 1. transcript tally reaches threshold, AND 2. no agent appears in both transcripts with contradictory values, AND 3. |transcript ∩ competing| >= fault_bound + 1. """ # 1. Threshold on the primary transcript. yes = sum(1 for v in transcript.values() if v.value == "YES") no = sum(1 for v in transcript.values() if v.value == "NO") decided = "YES" if yes >= threshold else ("NO" if no >= threshold else None) if decided is None: raise QuorumEquivocationError( f"transcript does not reach threshold {threshold}: YES={yes} NO={no}" ) # 2. Direct equivocation: same (agent, epoch, decision) voting both ways. for agent_id, v in transcript.items(): if agent_id in competing: w = competing[agent_id] if (v.epoch, v.decision_id) == (w.epoch, w.decision_id) and v.value != w.value: raise QuorumEquivocationError( f"equivocation proven: agent {agent_id} voted {v.value} and " f"{w.value} in epoch {v.epoch} decision {v.decision_id}" ) # 3. Intersection soundness against competing quorum. intersection = set(transcript) & set(competing) if len(intersection) < fault_bound + 1: raise QuorumEquivocationError( f"quorum intersection {len(intersection)} < f+1={fault_bound + 1}; " f"transcripts are jointly unsatisfiable" ) return decided def commit_decision( transcript: Dict[str, Vote], competing: Dict[str, Vote], threshold: int, fault_bound: int, ) -> str: decision = verify_quorum_soundness(transcript, competing, threshold, fault_bound) # Durable commit only happens after soundness is proven. return decision ```