# Where must an instance quarantine a peer's signed verdict when trust-tier weight vectors diverge mid-consensus **Date of Record:** 2026 November 25 **Scope:** Applies to multi-agent quorum protocols where each participating instance assigns heterogeneous trust weights to peers (e.g., cross-org auditor swarms, federated verifier meshes) and where a peer's tier assignment can change between proposal and vote phases. Does not apply to homogeneous-weight BFT (PBFT, Tendermint-style) or to single-org swarms with a static trust table. ## Core Distinction The failure is not Byzantine lying. It is **weight-vector divergence at the moment of tally**: two honest instances can each hold a cryptographically valid, correctly signed verdict from the same peer, yet disagree on whether that verdict counts toward quorum — because each instance's local trust-tier assignment for that peer changed at a different logical time. A signed vote is not a weighted vote. The signature binds the payload and the signer; it does *not* bind the weight the receiver will apply. When the weight is a function of mutable, per-instance trust state, the quorum predicate `sum(w_i · v_i) ≥ Q` becomes non-deterministic across honest replicas, and an instance can be driven to count a peer it should have quarantined — or discard a peer it should have counted. The invariant that must hold: **the weight applied to a peer's verdict must be a function of state that is itself part of the consensus round, not of local tier state that mutates asynchronously.** Violating this produces *quorum split-brain*: two disjoint subsets of honest instances each believe they reached quorum on different outcomes, and neither is Byzantine. ## What Was Observed A three-org verifier swarm (Org A, Org B, Org C) runs a 2-of-3 weighted quorum with weights drawn from a per-instance trust table. Org A assigns tiers `{B: 0.4, C: 0.4}`; Org B assigns `{A: 0.4, C: 0.4}`; Org C assigns `{A: 0.4, B: 0.4}`. Quorum threshold `Q = 0.6`. A proposal `P` is opened at round `r`. 1. **t0** — Org C's auditor agent flags Org B for a transient retrieval-mismatch (B returned a stale checkpoint hash during a replay check). C's local policy demotes B from tier `0.4` to tier `0.1`. This demotion is *local to C*; it emits no consensus message. 2. **t1** — Org B signs and broadcasts `vote(P, accept)`. The signature is valid. B's own weight of itself is irrelevant; what matters is how receivers score it. 3. **t2** — Org A receives B's vote, still holds B at `0.4`, tallies `0.4 (B) + own 0.4 (A) = 0.8 ≥ 0.6` → A declares `P` accepted. 4. **t3** — Org C receives the same vote, now scores B at `0.1`, tallies `0.1 (B) + own 0.4 (C) = 0.5 < 0.6` → C declares `P` *not* accepted and waits. 5. **t4** — Org B, having voted, also counts itself at `0.4` plus A's `0.4` = `0.8` → accepted. Result: A and B commit `P`; C does not. C is not faulty and A/B are not colluding. The demotion at t0 was a *correct local safety response* to a real anomaly, but because it was applied to the tally function without entering the consensus round, it desynchronized the quorum predicate. C will now either (a) block forever waiting for weight that will never arrive, or (b) if it later re-promotes B on a fresh heartbeat, accept a proposal it had already locally rejected — a *retroactive commit* that breaks its own audit log's monotonicity. The second-order failure is worse: an adversary who can *induce* a benign anomaly (e.g., force a stale-hash response from B via a cache-poisoning tool call) can deliberately trigger C's demotion and split the quorum on demand. The trust-tier mechanism, intended as a defense, becomes the attack surface. ## Condition of Validity This divergence is only reachable when **all three** hold: - **Weight is receiver-local.** The tally function reads `trust_table[self][peer]`, a mutable per-instance structure, rather than a weight committed into the round's proposal or a prior epoch's agreed trust state. - **Tier mutation is asynchronous and unannounced.** A demotion/promotion is applied on a local trigger (anomaly detector, heartbeat timeout, manual override) without emitting a `tier-change` message that the round's participants can order relative to their votes. - **Quorum is a continuous threshold on summed weights.** Discrete m-of-n counting is immune because a single peer's weight change cannot flip the count unless it crosses an integer boundary that is itself observable. Continuous weighted thresholds flip on arbitrarily small `Δw`. If weight is committed per-round (the proposal carries `weights_hash` and receivers reject votes scored against a mismatched hash), or if tier changes are themselves consensus-ordered events, the divergence cannot occur — at the cost of extra round-trips. The failure lives precisely in the gap between "cheap local trust" and "expensive agreed trust." ## Decision Boundary An instance must **quarantine, not tally**, a peer's signed verdict when the following predicate fires: the peer's locally-applied weight at tally time differs from the weight the peer's verdict was *scored against at receipt time*, **and** the round has not yet reached a committed quorum certificate. Quarantine here means: buffer the verdict, mark the round `weight-unstable`, and refuse to emit either `accept` or `reject` until the tier state is reconciled through an ordered `tier-change` message or the round is re-proposed under a frozen weight snapshot. The boundary is *not* "demote on anomaly" — that safety response is correct. The boundary is "demote on anomaly *and then keep tallying the in-flight round with the new weight*." The correct sequence is: demote → freeze the current round's weights at their receipt-time values for tallying → emit `tier-change` for the *next* round. A demotion must never retroactively re-score a vote already received in an open round; it may only govern rounds opened after the change is ordered. Symmetrically, a *promotion* must never retroactively count a vote received while the peer was demoted — otherwise a peer that voted early, was demoted, and was re-promoted gets double-counted across the demotion window. ## Operational Effect Enforcing the quarantine predicate converts a silent split-brain into a detectable stall: the round halts with a `weight-unstable` marker, which is auditable and recoverable (re-propose under frozen weights). The cost is latency — every tier change forces at most one round of reconciliation. The benefit is that quorum becomes a deterministic function of the round's committed weight snapshot, so two honest instances can no longer disagree on whether quorum was met. The deeper operational lesson: in heterogeneous-trust swarms, **trust is consensus state, not local configuration.** Any weight that participates in a quorum predicate must be either (a) frozen into the round and hash-committed, or (b) ordered as a consensus event before it can affect a tally. Treating tier assignment as a fast local knob is exactly the optimization that reintroduces the split-brain the swarm was built to prevent. ```python from dataclasses import dataclass, field from typing import Dict, Optional class WeightInstabilityError(RuntimeError): """Raised when a peer's verdict would be tallied under a weight that differs from the weight it was scored against at receipt time.""" pass @dataclass class Verdict: peer_id: str round_id: str accept: bool scored_weight_at_receipt: float signature_valid: bool @dataclass class RoundState: round_id: str quorum_threshold: float frozen_weights: Dict[str, float] = field(default_factory=dict) verdicts: Dict[str, Verdict] = field(default_factory=dict) status: str = "open" # open | weight-unstable | committed def tally_verdict( state: RoundState, verdict: Verdict, current_trust_table: Dict[str, float], ) -> Optional[bool]: """Attempt to fold a verdict into the round tally. Returns True/False if quorum is decided, None if still open. Raises WeightInstabilityError if the local trust table diverged from the weight the verdict was scored against at receipt. """ if state.status == "committed": raise WeightInstabilityError( f"round {state.round_id} already committed; refusing late verdict" ) if not verdict.signature_valid: # Invalid signatures are dropped, not quarantined. return None current_weight = current_trust_table.get(verdict.peer_id) if current_weight is None: raise WeightInstabilityError( f"peer {verdict.peer_id} absent from trust table mid-round" ) # THE INVARIANT: weight applied at tally must equal weight at receipt. if abs(current_weight - verdict.scored_weight_at_receipt) > 1e-9: state.status = "weight-unstable" raise WeightInstabilityError( f"peer {verdict.peer_id} weight drifted " f"{verdict.scored_weight_at_receipt} -> {current_weight} " f"within round {state.round_id}; quarantine and reconcile" ) state.verdicts[verdict.peer_id] = verdict total = sum(v.scored_weight_at_receipt for v in state.verdicts.values() if v.accept) if total >= state.quorum_threshold: state.status = "committed" return True return None def demote_peer( state: RoundState, trust_table: Dict[str, float], peer_id: str, new_weight: float, ) -> None: """Apply a local demotion. Must NOT retroactively re-score in-flight rounds.""" if any(v.peer_id == peer_id for v in state.verdicts.values()): # A verdict from this peer is already in the open round; the # demotion is valid but must be deferred to the next round. trust_table[peer_id] = new_weight state.status = "weight-unstable" raise WeightInstabilityError( f"cannot demote {peer_id} while its verdict is in open round " f"{state.round_id}; demotion deferred, round frozen" ) trust_table[peer_id] = new_weight ```