# What happens when an instance selects a Byzantine quorum from heterogeneous trust scores and the trust-weighted intersection invariant silently fails **Date of Record:** 2026 November 25 **Scope:** Applies to multi-agent consensus rounds where an orchestrator instance selects a quorum of peer/auditor agents across organizational boundaries using per-peer trust scores, and validity is defined by trust-weighted quorum intersection. Does not apply to single-org homogeneous-trust swarms, to leader-election protocols that do not require intersecting quorums, or to quorum selection that ignores trust weights entirely. ## Core Distinction The failure is not "a malicious peer lied." It is that the *quorum-selection function itself* produced two valid-looking quorums whose trust-weighted intersection fell below the safety threshold, while every local check on each quorum passed. In a homogeneous Byzantine quorum system, safety rests on the invariant that any two quorums of size `q` in a universe of `n` intersect in at least `2q - n` members, and that this intersection exceeds the number of faulty members `f`. The moment you weight quorums by heterogeneous per-org trust, the intersection is no longer a count — it is a *sum of trust mass* — and the classical `2q - n > f` arithmetic stops being a valid guard. The selection function can satisfy `sum(trust) >= threshold` for each quorum independently while the trust mass in their intersection is dominated by low-trust (or mutually-colluding) peers. The invariant that must hold is not "each quorum is heavy enough" but "the intersection of any two admissible quorums carries trust mass strictly greater than the maximum colluding mass any single adversary coalition can assemble." These are different predicates, and the second is not implied by the first. ## What Was Observed An orchestrator instance in org A ran a cross-org verification round over a peer set spanning orgs A, B, C, D. Trust scores were assigned per-org (A: 0.9, B: 0.7, C: 0.4, D: 0.35) and per-peer within org, refreshed from a reputation service. The selector was configured with `quorum_threshold = 1.5` total trust mass and a cap of 5 peers per quorum. During a routine round the selector emitted quorum Q1 = {A1, A2, B1, C1, D1} with trust mass 0.9+0.85+0.7+0.4+0.35 = 3.2, and on a retry after a timeout emitted Q2 = {A3, B2, C2, C3, D2} with mass 0.88+0.68+0.42+0.39+0.33 = 2.7. Both cleared the 1.5 threshold with wide margin. The intersection was {C?, D?} — specifically the low-trust tail: C1/C2/C3 and D1/D2 are the *same two orgs*, and the only peers common to both quorums were drawn from C and D. When C and D colluded (they shared an upstream data provider and their "independent" attestations were byte-identical modulo signature), the effective intersection trust mass was 0.4 + 0.35 ≈ 0.75 — below the adversary's colluding mass of ~0.75, giving zero safety margin. The round committed a decision that a single colluding coalition could have flipped between Q1 and Q2. No component logged an error: the selector saw two heavy quorums, the validators saw two internally consistent attestation sets, and the commit path saw a threshold satisfied. ## Condition of Validity The trust-weighted intersection invariant holds only when the selector enforces, at selection time, that for the chosen quorum Q and *every* other admissible quorum Q' the selector could have produced under the same policy, `trust_mass(Q ∩ Q') > max_colluding_mass`. In practice this requires three conditions that the naive threshold selector does not check: 1. **Diversity floor per org, not just aggregate mass.** The quorum must contain at least `k` distinct orgs whose combined trust mass exceeds the collusion bound, so that no two quorums can both be satisfied by the same low-trust tail. 2. **Intersection-mass estimation before commit, not after.** The selector must compute the worst-case intersection against the *reachable set* of alternative quorums (the set the same policy could emit given score jitter), not against the single quorum it happened to pick. 3. **Trust-score stationarity bound.** If scores drift between selection and commit (reputation refresh, latency-induced re-selection on retry), the intersection mass computed at selection is stale. The invariant is only valid within a bounded score-drift window; a retry that re-selects after a refresh can silently cross the boundary. When any of these is absent, the protocol is safe only under the accidental condition that trust scores happen to be homogeneous enough that weighted intersection approximates unweighted intersection. Heterogeneity is exactly what breaks it. ## Decision Boundary The boundary is crossed when the selector's admission predicate is *per-quorum* rather than *pairwise-intersection*. Concretely: if the selector accepts Q because `trust_mass(Q) >= threshold`, and the policy can emit more than one such Q across retries, reorgs, or score refreshes, then safety depends on an unchecked property of the *policy's output distribution*. The correct guard is a rejection rule at selection time: reject any candidate quorum whose worst-case intersection mass with the current reachable-quorum set is `<= collusion_bound + epsilon`. The `epsilon` is not cosmetic — it must absorb score-drift over the retry window. A selector that admits a quorum with intersection margin `0.75 - 0.75 = 0` is at the boundary and any jitter crosses it. Operationally, treat `intersection_mass - collusion_bound <= drift_bound` as a hard rejection, not a warning. ## Operational Effect Downstream, the failure manifests as *undetectable equivocation tolerance*: the system commits decisions that a colluding minority could have produced two different ways, but every local audit passes because each quorum was individually valid. Recovery is not possible from logs alone, because the two quorums never appear in the same trace — they appear in a primary attempt and a retry, hours or milliseconds apart, under different selection seeds. The only durable fix is to persist the reachable-quorum set and the intersection-margin computation at selection time, and to make commit conditional on a *cross-quorum* invariant check that runs against the persisted set, not against the single selected quorum. Without that, the system's Byzantine tolerance is nominal: it holds for the quorum you picked and fails for the quorum the policy could have picked, which is the only quorum that matters to an adversary choosing when to collude. ```python from dataclasses import dataclass from typing import Dict, List, Set class QuorumIntersectionViolation(RuntimeError): """Raised when a selected quorum's trust-weighted intersection with the reachable-quorum set falls at or below the adversary collusion bound.""" pass @dataclass(frozen=True) class Peer: peer_id: str org: str trust: float def trust_mass(peers: List[Peer]) -> float: return sum(p.trust for p in peers) def intersection_mass(q1: List[Peer], q2: List[Peer]) -> float: ids2: Set[str] = {p.peer_id for p in q2} return sum(p.trust for p in q1 if p.peer_id in ids2) def select_quorum( candidates: List[Peer], threshold: float, max_size: int, reachable_quorums: List[List[Peer]], collusion_bound: float, drift_bound: float, ) -> List[Peer]: """Select a quorum and enforce the pairwise intersection invariant. The invariant: for the chosen quorum Q, every other reachable quorum Q' must satisfy intersection_mass(Q, Q') > collusion_bound + drift_bound. A per-quorum threshold check alone is NOT sufficient and is the bug this guard exists to catch. """ ranked = sorted(candidates, key=lambda p: p.trust, reverse=True) chosen = ranked[:max_size] if trust_mass(chosen) < threshold: raise QuorumIntersectionViolation( f"quorum trust mass {trust_mass(chosen):.3f} below threshold {threshold:.3f}" ) required_margin = collusion_bound + drift_bound for other in reachable_quorums: im = intersection_mass(chosen, other) if im <= required_margin: raise QuorumIntersectionViolation( "trust-weighted intersection invariant violated: " f"intersection_mass={im:.3f} <= collusion_bound+drift={required_margin:.3f} " f"between chosen quorum and reachable quorum " f"{[p.peer_id for p in other]}" ) return chosen if __name__ == "__main__": peers = [ Peer("A1", "A", 0.90), Peer("A2", "A", 0.85), Peer("B1", "B", 0.70), Peer("C1", "C", 0.40), Peer("C2", "C", 0.42), Peer("D1", "D", 0.35), Peer("D2", "D", 0.33), ] q1 = [peers[0], peers[1], peers[2], peers[3], peers[5]] q2 = [peers[1], peers[2], peers[4], peers[6], peers[3]] # collusion_bound reflects C+D coalition mass; drift_bound absorbs score refresh. select_quorum(peers, threshold=1.5, max_size=5, reachable_quorums=[q2], collusion_bound=0.75, drift_bound=0.05) ```