# What happens when an instance counts a Byzantine peer's silence as agreement in a multi-agent decision quorum **Date of Record:** 2026 November 26 **Scope:** Applies to any multi-agent system where a decision quorum is computed by tallying per-peer votes (approve/reject/abstain) collected over an asynchronous transport (A2A, MCP tool fan-out, message bus). Does not apply to single-agent self-consistency sampling or to synchronous RPC where the transport guarantees a definitive response per peer. ## Core Distinction The failure is not "a malicious peer votes wrong." That is the ordinary Byzantine fault the quorum is designed to tolerate. The failure is a **liveness-to-safety inversion at the quorum boundary**: an adversarial peer that *withholds* its vote (never responds, or responds after the deadline) is silently folded into the denominator/numerator in a way that converts absence into a de facto affirmative. A quorum of "3 of 5 approve" and a quorum of "3 approve, 2 silent" are treated as identical by naive tally code, but they are not the same state. The first is a genuine 3/5 supermajority among responsive peers. The second is a 3/3 supermajority among *responsive* peers presented as 3/5 — and if the 2 silent peers were adversarial, the honest responsive set may have been only 3, meaning the decision was made by a set that could be entirely adversarial-plus-one. The distinction that matters operationally: **Byzantine fault tolerance bounds the number of *faulty* nodes (f = (n-1)/3), but it says nothing about nodes that are *unresponsive*. Silence is not a vote. It is a distinct third outcome that must be counted in the denominator and must be able to block quorum.** ## What Was Observed A five-peer decision swarm (n=5, f=1 tolerated) was asked to approve a high-impact action (a schema migration). The quorum rule was configured as `approve >= ceil(2n/3)` = `>= 4`. Peers A, B, C returned `approve`. Peer D returned `reject`. Peer E never responded — its A2A task hung behind an overloaded tool call and the collector's per-peer timeout fired at 30s. The tally code was: ``` approvals = [p for p in responses if p.vote == "approve"] quorum_reached = len(approvals) >= ceil(2 * n / 3) ``` `len(approvals) == 3`, `ceil(2*5/3) == 4`, so `quorum_reached == False`. Correct — this run was safe. But the *incident* was in the retry path: on the first timeout, the collector re-issued the fan-out to only the non-responders (E), got no response again, and a wrap-up handler recomputed the quorum against `n = len(responses) = 4` (A, B, C, D), because the retry logic had pruned E from the roster. Now `ceil(2*4/3) == 3`, and `len(approvals) == 3`, so `quorum_reached == True`. The migration executed with one explicit reject (D) and one peer (E) that had been *removed from the roster by timeout*. The adversarial peer did not lie. It simply stopped responding, and the collector's roster-pruning logic — written to make retries "not double-count absent peers" — converted its absence into a smaller denominator, which lowered the quorum threshold below the number of approvals already in hand. The adversarial peer's silence was worth as much as an approve. A second run confirmed the mechanism was reproducible and not a one-off: peer E was replaced by a peer that deliberately slept 31s on every call. Every retry pruned it, every wrap-up recomputed against n=4, and every decision passed at 3/4. The system believed it had a 4-node healthy quorum; it had a 3-node quorum plus a ghost. ## Condition of Validity The invariant that must hold for any quorum tally to be safe under Byzantine *and* crash/partition faults is: > **The denominator is the configured roster size `n`, fixed at decision-open time, and is never recomputed from the set of responsive peers. A non-response is recorded as an explicit `UNRESPONSIVE` outcome that occupies a slot in the denominator and can never be reclassified as `approve` or as "not present."** Formally, for a decision to be valid: - `n` is immutable for the lifetime of the decision (pinned at fan-out). - Every peer in the roster resolves to exactly one of `{approve, reject, abstain, unresponsive}`. - `quorum_reached` requires `count(approve) >= ceil(2n/3)` **and** `count(unresponsive) + count(reject) <= floor(n/3) - f_reserved` where `f_reserved` is the number of faults the policy is willing to absorb. In practice the second condition is implied by the first *only if* the denominator is not shrunk. - Retries re-issue to the *same roster* and update the *same slot*; they never create a new denominator. The condition is violated the moment any code path derives `n` from `len(responses)`, `len(active_peers)`, `len(healthy_members)`, or any other liveness-derived set. This is the single most common place the invariant leaks: retry and wrap-up handlers are written by different people than the quorum math, and the wrap-up handler optimizes for "don't count peers we never heard from" — which is exactly the wrong instinct. ## Decision Boundary The boundary is between **tolerable silence** and **quorum-invalidating silence**, and it is not a smooth function of response count. It is a hard cliff at `floor(n/3)` unresponsive slots: - `unresponsive <= floor(n/3) - 1`: the remaining responsive set is large enough that even if every unresponsive peer were adversarial *and* every responsive reject were honest, the approval set still cannot be manufactured by the adversary. Quorum may proceed. - `unresponsive >= floor(n/3)`: the decision must **fail closed** (abort, escalate, or re-fan-out to the same roster with a longer deadline) regardless of how many approvals are already in hand. At this point the adversary can force liveness loss at will, and any "decision" made is a decision the adversary chose the timing of. For n=5, f=1: the cliff is at 2 unresponsive peers. One silent peer is survivable; two is not, *even if the three responsive peers all approve*. The bug above crossed this cliff because pruning E reduced the effective `n` to 4, moving the cliff to `floor(4/3)=1` unresponsive, which the single pruned peer already exceeded — but the code never checked the cliff at all; it only checked the approval count against a denominator that had already been corrupted. The decision boundary is therefore not "did we get enough approvals?" but "**is the roster still intact?**" Approval count is a downstream check that is only meaningful after roster integrity is confirmed. ## Operational Effect The downstream effect is not a wrong answer that announces itself. It is a **decision that carries a valid-looking quorum certificate referencing a roster that no longer matches the one the decision was opened against.** When the decision is later audited or replayed (see verification replay discrepancies), the replayer reconstructs the roster from the decision log, sees n=4, recomputes 3>=3, and agrees — the corruption is baked into the certificate. The only way to catch it is to compare the certificate's roster against the *original* fan-out record, which is typically stored in a different log with a different retention policy. In practice this manifests as: migrations that execute during partial partitions; consensus rounds that "succeed" while a replica is network-isolated and later diverges; and, most dangerously, a slow drift where operators learn that "the quorum usually passes" and stop treating unresponsive peers as signal. The adversarial peer's optimal strategy is not to vote `reject` (which is visible and gets it flagged) but to vote `unresponsive` on exactly the decisions it wants to time, because unresponsiveness is the one outcome naive collectors reward. The guardrail is a **roster-pinned quorum certificate**: the decision record stores `(roster, n, deadline, per_peer_outcome[])` at open time, the tally reads `n` from that record only, and any code path that would recompute `n` from a liveness-derived set raises a hard error rather than proceeding. The check below encodes the cliff explicitly and refuses to tally against a pruned roster. ```python from dataclasses import dataclass, field from enum import Enum from math import ceil class RosterIntegrityError(RuntimeError): """Raised when a quorum tally would run against a roster that does not match the roster pinned at decision-open time, or when unresponsive peers exceed the tolerable cliff for the configured fault budget.""" class Outcome(Enum): APPROVE = "approve" REJECT = "reject" ABSTAIN = "abstain" UNRESPONSIVE = "unresponsive" @dataclass(frozen=True) class QuorumCertificate: decision_id: str roster: frozenset # pinned at open; NEVER recomputed n: int # == len(roster), immutable f_tolerated: int # Byzantine fault budget, e.g. (n-1)//3 outcomes: dict = field(default_factory=dict) # peer -> Outcome def record(self, peer: str, outcome: Outcome) -> "QuorumCertificate": if peer not in self.roster: raise RosterIntegrityError( f"peer {peer!r} is not in pinned roster for {self.decision_id}" ) new_outcomes = dict(self.outcomes) new_outcomes[peer] = outcome return QuorumCertificate( self.decision_id, self.roster, self.n, self.f_tolerated, new_outcomes ) def tally(cert: QuorumCertificate) -> bool: # Invariant 1: denominator is the pinned roster, never the responsive set. if len(cert.roster) != cert.n: raise RosterIntegrityError( f"roster size {len(cert.roster)} != pinned n={cert.n} " f"for decision {cert.decision_id}" ) # Invariant 2: every roster slot must resolve to exactly one outcome. missing = cert.roster - set(cert.outcomes) if missing: raise RosterIntegrityError( f"decision {cert.decision_id} has unresolved roster slots: {sorted(missing)}" ) counts = {o: 0 for o in Outcome} for peer in cert.roster: counts[cert.outcomes[peer]] += 1 # Invariant 3: the silence cliff. Unresponsive peers beyond the fault # budget invalidate the decision regardless of approval count. silence_cliff = cert.n - 3 * cert.f_tolerated # peers we can lose and still decide if counts[Outcome.UNRESPONSIVE] >= silence_cliff: raise RosterIntegrityError( f"decision {cert.decision_id} crossed silence cliff: " f"{counts[Outcome.UNRESPONSIVE]} unresponsive >= {silence_cliff} " f"for n={cert.n}, f={cert.f_tolerated}; fail closed" ) # Invariant 4: approval threshold against the pinned denominator. threshold = ceil(2 * cert.n / 3) return counts[Outcome.APPROVE] >= threshold def open_decision(decision_id: str, roster: list[str]) -> QuorumCertificate: n = len(roster) f_tolerated = (n - 1) // 3 if n < 3 * f_tolerated + 1: raise RosterIntegrityError( f"roster of {n} cannot tolerate f={f_tolerated} faults" ) return QuorumCertificate(decision_id, frozenset(roster), n, f_tolerated) # --- reproduction of the observed incident --- cert = open_decision("mig-2025-06-12", ["A", "B", "C", "D", "E"]) for peer, out in [ ("A", Outcome.APPROVE), ("B", Outcome.APPROVE), ("C", Outcome.APPROVE), ("D", Outcome.REJECT), ("E", Outcome.UNRESPONSIVE), # adversarial silence, recorded honestly ]: cert = cert.record(peer, out) try: decided = tally(cert) print(f"decision {cert.decision_id} -> {decided}") except RosterIntegrityError as e: # n=5, f=1 -> silence_cliff = 5 - 3 = 2; one unresponsive is survivable, # so this run is allowed to proceed and correctly returns False. print(f"fail-closed: {e}") ```