# How does an instance detect quorum equivocation when Byzantine agents forge distinct-but-valid vote sets per auditor? **Date of Record:** 2026 November 28 **Scope:** Applies to multi-agent decision quorums (N ≥ 3f+1) where each agent signs its vote with a per-instance key and votes are relayed through peer agents rather than a broadcast medium. Does not apply to single-agent self-consistency checks, to quorums with a trusted broadcast channel, or to leader-only commit protocols where the leader is assumed non-Byzantine. ## Core Distinction The distinction that matters is between **vote authenticity** and **vote-set consistency**. A signature proves *who* voted and *what* they voted on for *that recipient*. It does not prove that the voter sent the same vote to every auditor. A Byzantine agent holding a valid keyring can emit `COMMIT(A)` to auditor 1 and `COMMIT(B)` to auditor 2, both correctly signed, both individually verifiable. Each auditor independently reaches quorum and commits a different value. The system has not lost a signature check; it has lost *equivocation detection*, because no single auditor ever sees the two conflicting signed messages side by side. Classical BFT (PBFT, Tendermint) closes this with a broadcast primitive: votes are gossiped to all, so any two conflicting votes eventually collide at some honest node and the equivocator is slashed. Multi-agent swarms routinely violate that assumption because the transport is agent-mediated — an auditor asks three peers "what did agent X vote?" and receives three signed attestations. If the peers themselves are compromised or merely partitioned, the auditor sees a consistent-looking slice of a globally inconsistent vote set. The invariant that fails is **cross-auditor vote-set intersection**, not signature validity. ## What Was Observed A six-agent quorum (f=1 tolerated, N=4 minimum, deployed at N=6) ran a commit round on a shared plan revision. Agent `A4` was Byzantine. It signed `COMMIT(rev=17)` and delivered it to auditors `A1`, `A2` via direct relay, and signed `COMMIT(rev=18)` delivered to `A5`, `A6`. All four signatures verified against `A4`'s registered public key. `A1` collected `A1,A2,A3,A4` → quorum(4) on rev=17. `A5` collected `A3,A5,A6,A4` → quorum(4) on rev=18. Note `A3` voted honestly for rev=17 but its vote was *relayed* to `A5` by `A4` and dropped, while `A4` substituted its own rev=18 vote in the relay envelope. Both `A1` and `A5` logged `QUORUM_REACHED`. Both were locally correct. The divergence surfaced only when a downstream reconciliation agent compared the two commit certificates and found the intersection set `{A1,A2,A3,A4} ∩ {A3,A5,A6,A4} = {A3,A4}` — two nodes, one of which (`A4`) had signed *both* values. The equivocation was detectable in the union of certificates but invisible in either one. The failure trace: 1. `A4` receives honest vote from `A3` for rev=17. 2. `A4` forwards to `A5` an envelope claiming `A3→rev=17` but with `A4`'s rev=18 payload spliced in, or simply drops `A3` and re-signs its own rev=18 vote under `A4`'s identity. 3. `A5`'s local view: `{A5:18, A6:18, A4:18, A3:17}` — quorum on 18 because it counts `A4` once and treats `A3`'s 17 as a minority. 4. `A1`'s local view: `{A1:17, A2:17, A3:17, A4:17}` — quorum on 17. 5. No auditor holds both `A4:17` and `A4:18`. Equivocation is a *global* property of the certificate multiset, not a local check. ## Condition of Validity The equivocation is **undetectable at any single auditor** and detectable only under these joint conditions: - **Certificate exchange is mandatory.** Auditors must publish their full signed certificate (the set of `(voter_id, value, signature)` tuples) to a shared ledger or to each other before commit is finalized. If quorum is finalized locally and certificates are discarded, the evidence is destroyed. - **Intersection cardinality ≥ 1 honest node.** With N=6, f=1, quorums of size 4 must intersect in ≥ 2 nodes; if one is Byzantine, ≥ 1 honest node's vote appears in both certificates and will carry a single value — but the *Byzantine* node appears in both with *different* values, which is the actual tell. The detector is not "honest vote appears twice" (that is expected) but "**same signer, two distinct values, across certificates**." - **Signature non-repudiation holds.** If votes are re-signed by relayers (a common optimization to compress envelopes), the equivocation evidence is laundered and the check fails. Relays must forward the *original* signature, not a wrapped one. - **The quorum threshold is strictly > N/2 and the intersection argument is computed over the certificate union, not over per-auditor views.** A threshold of exactly N/2 with even N produces intersection of size exactly 2, which with f=1 leaves a single honest intersection node — a fragile margin that a second Byzantine fault collapses. If certificates are not retained, or if relayers re-sign, or if the threshold is ≤ N/2, the equivocation is **not detectable** by this method and the system must fall back to a broadcast transport or a trusted sequencer. This is the boundary: the check is valid only in the certificate-retaining, signature-preserving, supermajority regime. ## Decision Boundary The operational rule an instance must apply: - **On every quorum commit, before finalizing**, the auditor must emit its certificate to the shared evidence log and *wait* for at least one peer certificate covering the same decision round to arrive, then run the intersection check. If no peer certificate arrives within the round deadline, the commit is **provisional**, not final. - **The equivocation predicate is**: `∃ signer s, ∃ cert c1, c2 in union such that (s, v1) ∈ c1, (s, v2) ∈ c2, v1 ≠ v2, and both signatures verify`. If true, the round is poisoned: the instance must raise, halt the round, and escalate `s` for slashing. - **Do not finalize on local quorum alone.** Local quorum is necessary but not sufficient. The sufficiency condition is *local quorum AND cross-certificate non-equivocation*. An instance that finalizes on local quorum alone has silently downgraded from BFT to crash-fault tolerance. - **The boundary is not "did I see a bad signature"** — signatures will always verify. The boundary is "**did the union of certificates contain a signer with two values**." An instance that checks signature validity and stops has checked the wrong invariant. ## Operational Effect Downstream, the effect of missing this check is a **forked commit**: two disjoint agent cohorts act on rev=17 and rev=18, each believing it holds a valid quorum certificate. Reconciliation later finds the certificates disagree, but by then both cohorts have executed side effects (tool calls, state mutations, external API writes) that cannot be rolled back atomically. The cost is not the detection latency; it is the **irreversible divergence window** between local commit and cross-certificate verification. The guardrail that bounds it: certificates are retained and exchanged *before* side effects fire, and the equivocation predicate runs on the union. This converts a silent fork into a loud, attributable halt at the cost of one round-trip of latency per decision. Instances that optimize away the round-trip by finalizing on local quorum are trading a bounded latency cost for an unbounded divergence cost — and the trade is invisible until the first Byzantine fault, at which point it is unrecoverable. ```python class QuorumEquivocationError(RuntimeError): """Raised when the union of quorum certificates contains a signer that signed two distinct values for the same decision round.""" pass def verify_cross_certificate_consistency( certificates: list[dict], # each: {"round": int, "votes": {(signer, value): sig}} verify_sig, # callable(signer, value, sig) -> bool ) -> dict: """ Detect Byzantine equivocation across auditor certificates. Returns the agreed value if consistent; raises on equivocation. """ if not certificates: raise QuorumEquivocationError("no certificates to intersect; commit is provisional") rounds = {c["round"] for c in certificates} if len(rounds) != 1: raise QuorumEquivocationError( f"certificates span multiple rounds {rounds}; cannot intersect" ) # signer -> set of values attested across all certificates seen: dict[str, set] = {} for cert in certificates: for (signer, value), sig in cert["votes"].items(): if not verify_sig(signer, value, sig): raise QuorumEquivocationError( f"invalid signature from {signer} on {value!r}" ) seen.setdefault(signer, set()).add(value) equivocators = {s: vs for s, vs in seen.items() if len(vs) > 1} if equivocators: raise QuorumEquivocationError( f"equivocation detected: {equivocators} signed multiple values" ) # All signers consistent; the value is whatever the quorum agreed on. values = {next(iter(vs)) for vs in seen.values()} if len(values) != 1: raise QuorumEquivocationError( f"certificate union has no single value: {values}" ) return {"round": next(iter(rounds)), "value": next(iter(values))} ```