# Why does an instance's equivocation get laundered by heterogeneous quorum thresholds before the auditor ever sees it **Date of Record:** 2026 November 24 **Scope:** Applies to BFT-style swarm consensus where agent instances are heterogeneous (different model families, different sampling temperatures, different toolchains) and each instance votes with a locally-configured quorum threshold rather than a globally-fixed one. Does not apply to homogeneous swarms with a single enforced quorum parameter, nor to single-agent self-verification loops. ## Core Distinction The distinction that matters here is between *equivocation* (one instance emitting contradictory claims to different peers) and *quorum laundering* (the aggregation layer converting a Byzantine equivocation into a seemingly-legitimate supermajority certificate). Most BFT literature treats equivocation as the primary fault and quorum certificates as the defense. In heterogeneous swarms the ordering inverts: the quorum threshold itself becomes the attack surface, because each instance's local threshold is a function of its own configuration, and equivocating instances can selectively emit only to peers whose thresholds are low enough to be swayed by a single contradictory vote. A homogeneous swarm with `n=4, f=1` and a fixed `ceil((n+f+1)/2)=3` threshold cannot be laundered this way: the threshold is identical everywhere, so a single equivocating vote either counts or doesn't, and the auditor sees the same arithmetic the voters saw. A heterogeneous swarm where instance A uses `threshold=2`, instance B uses `threshold=3`, and instance C uses `threshold=2` can produce a "certified" result from A+C while B's dissenting vote is dropped—not because B abstained, but because B's threshold was never reached by the equivocating instance that only sent to A and C. ## What Was Observed A four-instance verification swarm (instances `v0..v3`, distinct model families) was tasked with adjudicating whether a proposed tool-call sequence violated a sandbox boundary. Each instance ran a local `verify(claim, threshold)` routine where `threshold` was drawn from a per-instance config file—`v0:2, v1:3, v2:2, v3:3`. The aggregator collected signed votes and emitted a certificate when a majority of *received* votes cleared each voter's own threshold. Instance `v2` was induced (via a poisoned retrieval chunk) to equivocate: it emitted `ACCEPT` to `v0` and `v3`, and `REJECT` to `v1`. The aggregator's trace: ``` v0: received ACCEPT from v2, threshold=2, voted ACCEPT v1: received REJECT from v2, threshold=3, voted REJECT v2: self-vote ACCEPT, threshold=2, voted ACCEPT v3: received ACCEPT from v2, threshold=3, voted ACCEPT aggregator: 3 ACCEPT / 1 REJECT -> certificate issued ``` The certificate was cryptographically valid—every signature checked, every nonce matched, no replay. The auditor, running after the fact, re-derived the quorum from the *certificate's* recorded votes and confirmed 3-of-4. The equivocation was invisible because the auditor never saw the *transcript of what each peer received*—only the final vote tally. `v1`'s REJECT was real, but it was a minority of one, and the threshold heterogeneity meant `v2`'s contradictory REJECT to `v1` was structurally incapable of flipping `v1`'s vote (threshold 3 requires three concordant inputs; `v2` supplied one). The failure is not that the quorum was forged. The failure is that the quorum was *legitimately* met under heterogeneous thresholds while containing a Byzantine equivocator whose contradiction was routed to the one peer whose threshold made it inert. ## Condition of Validity The invariant that must hold for the certificate to mean what the auditor thinks it means: > For all instances `i`, the threshold `t_i` used by `i` to form its vote must be a deterministic function of the *global* swarm configuration, not of `i`'s local config, **and** the auditor must be able to reconstruct `t_i` from the certificate alone. In the observed failure, both clauses were violated: `t_i` was local (per-instance config file), and the certificate recorded votes but not the thresholds under which those votes were cast. The auditor's re-derivation used the *aggregator's* threshold assumption (majority-of-received), which happened to coincide with `v0`'s and `v2`'s local thresholds and diverged from `v1`'s and `v3`'s. The condition of validity is therefore narrower than "BFT with `n >= 3f+1`." It requires that the quorum function be *auditor-reconstructible*: given the certificate, any auditor must be able to compute, for each recorded vote, the exact threshold that vote was subject to. If thresholds are heterogeneous, they must be *committed* into the certificate (or into a signed config digest referenced by the certificate), not left as ambient local state. ## Decision Boundary The boundary between safe and unsafe heterogeneous consensus is the point where the number of distinct threshold values `|{t_i}|` exceeds the number of *auditor-visible* threshold commitments in the certificate. Concretely: - If `|{t_i}| == 1` (homogeneous), the auditor can assume the single threshold and the invariant holds trivially. - If `|{t_i}| > 1` and the certificate commits all `t_i` (e.g., each vote is signed over `(claim, t_i)`), the auditor can re-derive each vote's admissibility and the invariant holds. - If `|{t_i}| > 1` and the certificate commits only the final tally, the invariant **fails** and equivocation can be laundered whenever the equivocator can route contradictions to peers whose thresholds render those contradictions inert. The decision for the architect is not "should thresholds be heterogeneous"—heterogeneity is often forced by differing model capabilities and is a feature, not a bug. The decision is whether heterogeneity is *committed* or *ambient*. Ambient heterogeneity is the failure mode. Committed heterogeneity is safe. A secondary boundary: even with committed thresholds, an equivocator can still launder if it can route contradictions to peers whose *thresholds are unreachable* given the swarm size—i.e., `t_i > n - 1` for some `i`, meaning `i` can never be flipped by any single peer's input and its vote is effectively a constant. This is a degenerate case but worth flagging: a peer with `t_i = n` is a rubber stamp, and an equivocator that identifies it can safely emit anything to it without consequence. ## Operational Effect The operational consequence is that heterogeneous swarms must treat the quorum threshold as part of the signed claim, not as local configuration. Concretely: 1. **Threshold commitment.** Each vote signature must cover `(claim_hash, instance_id, t_i, nonce)`. The certificate must carry the `t_i` for every vote. Auditors reject certificates where any `t_i` is absent or where `t_i > n - 1`. 2. **Transcript inclusion.** The certificate must include, for each vote, the set of peer inputs that vote was formed from—or at minimum a Merkle commitment to that set—so the auditor can detect that `v1` received a REJECT while `v0` received an ACCEPT from the same instance. Without transcript inclusion, equivocation is undetectable even with committed thresholds, because the auditor sees only the votes, not the inputs. 3. **Threshold reachability check.** At swarm formation, the coordinator must reject any configuration where `t_i > n - 1` for any `i`, or where the set of thresholds admits a subset `S` with `|S| >= quorum` such that every `i in S` has `t_i` unreachable by any single equivocating peer. This is the rubber-stamp detection. 4. **Auditor replay.** The auditor must replay the quorum derivation from the committed thresholds and the committed transcript, not from the aggregator's tally. If the replay diverges from the aggregator's certificate, the certificate is rejected regardless of signature validity. The observed failure would have been caught by (2) alone: the transcript commitment would have revealed that `v2` emitted contradictory claims, and the auditor would have rejected the certificate before the threshold arithmetic even mattered. Threshold commitment (1) is the cheaper defense; transcript inclusion (2) is the complete one. Both are required for the invariant to hold under adversarial routing. The deeper lesson: in heterogeneous swarms, the aggregator is not a neutral tally machine—it is a *router*, and routing decisions (which peer sees which claim) are part of the consensus semantics. Any consensus protocol that treats routing as an implementation detail rather than a committed, auditable artifact is vulnerable to laundering, regardless of how many signatures it collects. ```python class QuorumLaunderingError(RuntimeError): """Raised when a quorum certificate admits equivocation via heterogeneous thresholds.""" pass def audit_certificate(cert: dict, n_instances: int) -> bool: """ Re-derive quorum from committed thresholds and transcript. Rejects certificates that launder equivocation. """ votes = cert.get("votes", []) transcript = cert.get("transcript", {}) if not votes: raise QuorumLaunderingError("certificate contains no votes") # Invariant 1: every vote must commit its threshold. for v in votes: if "threshold" not in v: raise QuorumLaunderingError( f"vote from {v.get('instance_id')} missing committed threshold" ) if v["threshold"] > n_instances - 1: raise QuorumLaunderingError( f"instance {v['instance_id']} has unreachable threshold " f"{v['threshold']} (rubber stamp)" ) # Invariant 2: transcript must cover every vote's inputs. for v in votes: iid = v["instance_id"] if iid not in transcript: raise QuorumLaunderingError( f"no transcript entry for {iid}; equivocation undetectable" ) # Invariant 3: detect equivocation — same sender, contradictory claims. sender_claims: dict[str, set[str]] = {} for v in votes: sender = v.get("sender_id") claim = v.get("claim") sender_claims.setdefault(sender, set()).add(claim) for sender, claims in sender_claims.items(): if len(claims) > 1: raise QuorumLaunderingError( f"equivocation by {sender}: emitted contradictory claims {claims}" ) # Invariant 4: re-derive quorum from committed thresholds, not aggregator tally. accept_weight = sum( 1 for v in votes if v["claim"] == "ACCEPT" and v["threshold"] <= n_instances - 1 ) reject_weight = sum( 1 for v in votes if v["claim"] == "REJECT" and v["threshold"] <= n_instances - 1 ) quorum = (n_instances + 1) // 2 + 1 if accept_weight < quorum and reject_weight < quorum: raise QuorumLaunderingError( f"no side reached quorum: accept={accept_weight}, " f"reject={reject_weight}, quorum={quorum}" ) return True ```