# How does an instance detect quorum equivocation when Byzantine peers forge per-view votes across a reconfiguration boundary? **Date of Record:** 2026 November 26 **Scope:** Applies to replicated multi-agent decision quorums (BFT-style, view-based consensus) where agents sign per-view votes and a membership reconfiguration can change the quorum threshold mid-flight. Does not apply to single-leader crash-fault consensus or to stateless fan-out voting without signed ballots. ## Core Distinction The failure that matters is not "a Byzantine agent lies." It is *quorum equivocation across a view boundary*: a Byzantine agent signs two semantically different ballots that are individually valid under two different membership configurations, and the union of those ballots satisfies two disjoint quorums that never coexist in any single view. Each ballot passes local signature verification. Each quorum passes threshold arithmetic against *its own* configuration. The invariant that breaks is the intersection property: `Q(v) ∩ Q(v') ≠ ∅` for any two quorums `Q` of adjacent views `v, v'`. When reconfiguration changes the membership set `M` and the threshold `f`, the naive check `|signatures| ≥ threshold(current_config)` is satisfied by a set of agents that would not have been a quorum under either configuration alone. The instance cannot detect this by validating ballots in isolation; it must validate *quorum membership as a set operation against the configuration epoch that was active when each ballot was cast*, then check that the resulting quorum sets still intersect. The distinction from ordinary Byzantine behavior: a lying agent is caught by signature checks or by conflicting-message detection. An equivocating agent across an epoch boundary is caught only by reconstructing which configuration epoch each ballot belongs to and proving that the two quorums it helped form cannot both be valid. The detector is a set-intersection proof, not a signature check. ## What Was Observed A five-agent decision swarm (`A0..A4`, threshold `f=1`, quorum size `2f+1=3`) entered a reconfiguration from epoch `E7` (members `{A0,A1,A2,A3,A4}`) to epoch `E8` (members `{A0,A1,A2,A4}`, with `A3` removed, quorum size still 3). Agent `A3`, slated for removal, was Byzantine. During the transition window it: 1. Signed ballot `B1 = (view=41, epoch=E7, proposal=P, decision=ACCEPT)` and sent it to `A0, A1`. 2. Signed ballot `B2 = (view=41, epoch=E8, proposal=P', decision=ACCEPT)` and sent it to `A2, A4`. `A0` and `A1` collected `{A3, A0, A1}` — a valid `E7` quorum of size 3 — and committed `P`. `A2` and `A4` collected `{A3, A2, A4}` — a valid `E8` quorum of size 3 — and committed `P'`. Both quorums are size 3, both pass `|sigs| ≥ 3`, both pass signature verification, and both pass a naive "am I in the config this ballot claims?" check because `E7` and `E8` are both legitimately installed configurations during the transition window. The intersection `{A3,A0,A1} ∩ {A3,A2,A4} = {A3}` — a single Byzantine agent. Safety depends on that intersection containing at least one *honest* agent; here it contains only the equivocator, so the intersection property is violated. The failure trace: the reconfiguration protocol installed `E8` on `A2, A4` before `A0, A1` had acknowledged `E7`'s final commit. `A3` exploited the resulting epoch skew. Neither side observed a conflicting ballot because `A3` partitioned its sends by recipient. The divergence was only visible when `A0` and `A2` later gossiped their committed decision certificates and the certificates' epoch tags differed while the view numbers matched. ## Condition of Validity The intersection guarantee holds only if, for every pair of quorums used to justify a decision, the two quorums are drawn from the *same* configuration epoch, or the reconfiguration protocol guarantees that no two epochs' quorums can be simultaneously live. The standard guardrail is a two-phase reconfiguration with a *quiescence barrier*: epoch `E8` ballots are not accepted until every member of `E7` has acknowledged the `E7` final commit, and the intersection check is performed against the *lower* of the two epochs' member sets. Formally, an instance may accept a quorum `Q` for epoch `E` only if `Q ⊇ (M(E) \ M(E')) ∪ (M(E') \ M(E))` is non-empty for the immediately prior epoch `E'` — i.e., the quorum must retain at least one member that both epochs share, and that shared member must be honest. The condition of validity is therefore: **a decision certificate is valid iff its quorum intersects every other live quorum in at least one member that is provably honest under both epochs' membership.** When the shared member is the equivocator itself, the condition is vacuous. The detector must therefore treat "intersection = {single agent}" as a *suspicious* outcome requiring that agent's ballot history to be audited across epochs, not as a satisfied invariant. ## Decision Boundary The boundary is this: an instance should *reject* a decision certificate when the reconstituted quorum set intersects any other certificate's quorum set in exactly one member and that member has signed ballots in more than one epoch for the same view. It should *accept* when the intersection is ≥ 2 members (Byzantine threshold `f=1` tolerates one liar) or when the single intersecting member has a clean single-epoch ballot history for that view. It should *defer and escalate* when the epoch tags on the two certificates are adjacent and the intersection member's ballots cannot be retrieved (e.g., the member was removed and its log is gone). Deferral is mandatory rather than optional because the missing log is exactly the evidence needed to distinguish equivocation from a benign reconfiguration race. The boundary is not "did signatures verify" (they did) and not "did the quorum meet threshold" (it did). It is "does the quorum intersection contain a member whose cross-epoch ballot history is consistent." That is the only discriminator available at the agent layer, and it must be evaluated before commit, not after. ## Operational Effect Without the intersection-and-history check, the swarm commits divergent decisions and the divergence is undetectable until a later read exposes two conflicting committed values — by which point both `P` and `P'` may have driven downstream tool calls. The operational effect of installing the guardrail is that reconfiguration becomes a *safety-critical serialization point*: no `E8` ballot is counted until `E7` quiescence is acknowledged by all `E7` members, and every decision certificate carries its epoch tag and full quorum member list so that any peer can recompute the intersection. The cost is latency at reconfiguration (one round-trip barrier per epoch change) and storage of per-epoch ballot histories for removed members. The benefit is that equivocation across the boundary is converted from an undetectable safety violation into a detectable, rejectable certificate. ```python from dataclasses import dataclass from typing import FrozenSet, Mapping class QuorumEquivocationError(RuntimeError): """Raised when a decision certificate's quorum intersects another live quorum in only a single member that has cross-epoch ballots for one view.""" pass @dataclass(frozen=True) class Certificate: view: int epoch: int quorum: FrozenSet[str] decision: str def detect_quorum_equivocation( certs: list[Certificate], ballot_history: Mapping[str, Mapping[int, set[int]]], # agent -> view -> {epochs} byzantine_threshold: int, ) -> None: """ Reject if two certificates for the same view but different epochs have a quorum intersection of size <= byzantine_threshold AND the sole intersecting member(s) signed ballots in more than one epoch for that view. """ for i, a in enumerate(certs): for b in certs[i + 1:]: if a.view != b.view or a.epoch == b.epoch: continue shared = a.quorum & b.quorum if len(shared) > byzantine_threshold: continue # enough honest overlap to tolerate equivocation if len(shared) == 0: raise QuorumEquivocationError( f"disjoint quorums for view {a.view}: " f"epoch {a.epoch} vs {b.epoch} share no member" ) for agent in shared: epochs = ballot_history.get(agent, {}).get(a.view, set()) if len(epochs) > 1: raise QuorumEquivocationError( f"agent {agent} signed view {a.view} in epochs {sorted(epochs)}; " f"quorum intersection {sorted(shared)} is below honest threshold " f"{byzantine_threshold + 1}" ) # If no violation, the caller may commit; the invariant held. return None def commit_decision( cert: Certificate, peers: list[Certificate], ballot_history: Mapping[str, Mapping[int, set[int]]], byzantine_threshold: int, ) -> str: detect_quorum_equivocation([cert, *peers], ballot_history, byzantine_threshold) return cert.decision ```