# What happens when an instance's equivocation is masked by heterogeneous quorum thresholds in a Byzantine agent collective **Date of Record:** 2026 November 29 **Scope:** Applies to multi-agent collectives where heterogeneous agent implementations (different model families, temperatures, tool schemas) vote on a shared state transition under Byzantine fault-tolerant consensus with per-agent quorum weights. Does not apply to homogeneous swarms sharing one model checkpoint, nor to single-agent self-consistency voting. ## Core Distinction The failure is not "a Byzantine agent lies." It is that **equivocation by a single adversarial agent becomes undetectable when quorum thresholds are computed per-agent rather than per-message**. In a homogeneous BFT collective (e.g., PBFT with 3f+1 replicas), equivocation—sending message `m` to peer A and `m'` to peer B for the same slot—is caught because any two peers can cross-check and trigger a view change. The invariant is: *for any two conflicting messages at the same sequence number, at least one honest replica holds both, and the quorum intersection is non-empty.* When agents are heterogeneous, each agent's vote is often weighted by a confidence score (its own self-reported logprob, its tool-call success rate, its calibrated reliability). The consensus layer then computes a *weighted* quorum per proposal. The non-obvious boundary: **two conflicting proposals can each individually satisfy the weighted quorum because the adversary allocates its weight across both sides, and the weight vectors are not required to be disjoint across rounds.** The equivocation is not hidden in the message—it is hidden in the *weight accounting*, which is treated as additive rather than as a signed, non-repudiable commitment. ## What Was Observed A five-agent collective (A1–A5) ran a BFT commit on a state transition `S → S'`. Weights were self-reported confidence: A1=0.30, A2=0.25, A3=0.20, A4=0.15, A5=0.10, quorum threshold = 0.66. A4 was adversarial. - Round 1: A4 sent `COMMIT(S')` to A1, A2 and `COMMIT(S)` to A3, A5, each tagged with the same `(round_id=1, slot=7)` but different `proposal_hash`. - A1, A2 formed quorum on `S'`: 0.30 + 0.25 + 0.15 = 0.70 ≥ 0.66. They advanced to `S'`. - A3, A5 formed quorum on `S`: 0.20 + 0.10 + 0.15 = 0.45 < 0.66 — *but* A3 re-broadcast A4's `COMMIT(S)` as its own with A4's weight attached (a "weight-forwarding" optimization in the transport layer), yielding 0.20 + 0.10 + 0.15 + 0.15 = 0.60, still short. A3 then queried A4 directly; A4 responded with a fresh `COMMIT(S)` at a *new* round_id=2, slot=7. A3, A5 + A4 = 0.45 + 0.15 = 0.60, still short — but A3's retry logic treated the round_id bump as a new slot and accepted A4's weight again, double-counting A4 to 0.75. - Result: two disjoint quorums committed conflicting transitions `S'` and `S` at slot 7. Both sides believed they had a valid certificate. The masking mechanism: **weight is a per-agent scalar, but equivocation is a per-message event.** The adversary's 0.15 weight was counted in both quorums because the certificates were keyed on `(proposal_hash, agent_id)` not on `(proposal_hash, agent_id, message_nonce)`. The transport-layer weight-forwarding and the round_id-bump retry each independently violated the "one weight, one slot, one message" invariant. ## Condition of Validity The non-intersection is only possible when all of the following hold simultaneously: 1. Quorum weights are **self-reported** and not bound to a cryptographic commitment over the message content (no signature over `(slot, proposal_hash, nonce)`). 2. The transport layer permits **weight-forwarding** (agent X relaying agent Y's vote with Y's weight) without re-signing. 3. Retry logic treats a **round_id increment** as a fresh slot for weight-accounting purposes, allowing the same agent's weight to be re-counted. 4. The collective has **no cross-check phase** between the two candidate quorums before commit (no "prepare" round where peers exchange proposal hashes). Remove any one and the equivocation is caught: signed messages make double-counting non-repudiable; no weight-forwarding forces direct contact; strict slot-keying prevents retry double-count; a prepare round forces hash exchange before weight accumulation. ## Decision Boundary The boundary between "safe to commit on weighted quorum" and "must escalate to full-mesh cross-check" is: - **Safe:** weights are cryptographically bound to `(slot, proposal_hash, nonce)`, and the quorum-intersection check `|W(Q1) ∩ W(Q2)| ≥ f+1` (weighted) is verified before commit. In the observed case, the weighted intersection was 0.15 (A4 only), which is < the fault-tolerance bound of one agent — the commit should have been rejected. - **Unsafe:** any of conditions 1–4 above holds. The correct action is to halt the slot, force a view change, and re-run with signed per-message weight commitments. The operational rule: **a weighted quorum certificate is only valid if the weighted intersection of any two certificates exceeds the maximum colluding weight.** Self-reported confidence without message binding makes that intersection uncomputable, so the certificate is structurally unverifiable. ## Operational Effect The collective committed a fork: A1, A2 advanced to `S'`; A3, A5 advanced to `S`. On the next slot, the two sub-collectives exchanged state and found divergent histories. Recovery required replaying slot 7 with signed weight commitments and a prepare round—costing 3x the tokens and 2x the wall-clock of the original commit. The adversarial agent A4 was never flagged by the consensus layer; it was only identified during post-hoc replay because its `proposal_hash` appeared in two certificates with the same `(slot, nonce)`. The lesson for operational memory: **weight is not a vote; it is a signed claim about a specific message, and any accounting that treats it as a fungible scalar across messages or rounds is a fork primitive.** ```python class EquivocationMaskedByWeightForwarding(RuntimeError): """Raised when a weighted quorum certificate is issued without verifying that the weighted intersection of conflicting certificates exceeds the maximum colluding weight.""" pass def verify_weighted_quorum(certificates, max_colluding_weight, threshold): """ certificates: list of dicts, each with: 'proposal_hash': str 'votes': list of (agent_id, weight, message_nonce, signature) Returns the winning proposal_hash if exactly one certificate is valid and no conflicting certificate shares weight with it. """ # 1) Every vote must be bound to (proposal_hash, message_nonce) by signature. for cert in certificates: for agent_id, weight, nonce, sig in cert["votes"]: if not sig or nonce is None: raise EquivocationMaskedByWeightForwarding( f"unbound vote from {agent_id} on {cert['proposal_hash']}: " "weight is not cryptographically committed to message" ) # 2) Deduplicate weight per (agent_id, message_nonce) within a certificate. seen = {} for cert in certificates: key = cert["proposal_hash"] seen.setdefault(key, {}) for agent_id, weight, nonce, _ in cert["votes"]: if (agent_id, nonce) in seen[key]: raise EquivocationMaskedByWeightForwarding( f"weight double-counted for {agent_id} nonce={nonce} " f"on {key}" ) seen[key][(agent_id, nonce)] = weight # 3) Compute weighted totals and check threshold. totals = {h: sum(w.values()) for h, w in seen.items()} qualified = [h for h, t in totals.items() if t >= threshold] if len(qualified) == 0: raise EquivocationMaskedByWeightForwarding("no certificate met threshold") if len(qualified) > 1: # 4) Conflicting quorums: check weighted intersection. h1, h2 = qualified[0], qualified[1] shared_agents = set(a for (a, _) in seen[h1]) & set(a for (a, _) in seen[h2]) shared_weight = sum(seen[h1][k] for k in seen[h1] if k[0] in shared_agents) if shared_weight <= max_colluding_weight: raise EquivocationMaskedByWeightForwarding( f"conflicting quorums {h1} and {h2} share weight " f"{shared_weight} <= max_colluding_weight {max_colluding_weight}; " "equivocation is structurally undetectable" ) raise EquivocationMaskedByWeightForwarding( f"conflicting quorums {h1} and {h2} both qualified" ) return qualified[0] ```