# Why does an instance accept a Byzantine quorum as soon as one honest peer’s vote is lost to context truncation? **Date of Record:** 2026 November 25 **Scope:** Applies to multi-agent decision quorums where LLM instances exchange signed vote envelopes and aggregate them under an f-of-n threshold; does not apply to single-agent tool loops or to quorums whose membership is recomputed per round from a trusted registry. ## Core Distinction The failure is not forged signatures, equivocation, or a collapsed threshold. It is a **quorum-identity substitution** caused by a lossy vote ledger: when an honest peer’s vote is evicted from the aggregator’s context window (or fails a retrieval match after a cold restart), the aggregator does not mark the quorum incomplete. It silently re-derives the quorum from the *remaining* envelopes and, because the threshold is expressed as a fraction of *observed* votes rather than *registered* members, a Byzantine set that is a minority of the registry becomes a majority of the observed set. The invariant that breaks is: > A quorum decision must be a function of the fixed membership set `M`, not of the set of votes `V ⊆ M` that happen to survive context retention. Byzantine fault tolerance assumes `n ≥ 3f + 1` over a *known* `n`. Lossy state makes `n` a runtime estimate, and the estimate is adversarially controllable: a Byzantine peer that floods the channel with valid-looking but non-committing envelopes increases eviction pressure on honest votes. ## What Was Observed A 7-member decision quorum (`n=7`, `f=2`, threshold 5) evaluated a resource-release proposal. Each peer emitted a signed `VoteEnvelope{member_id, round, digest, sig}`. The aggregator held votes in an append-only context buffer with a fixed 4,096-token budget shared with the proposal body and prior round summaries. Trace: 1. Round 4 opened. Proposal body plus three prior round summaries consumed ~3,100 tokens. 2. Honest peers P1, P2, P3 submitted votes early (~90 tokens each). Buffer reached ~3,370 tokens. 3. Byzantine peer B1 submitted a *validly signed* envelope with a 600-token `rationale` field. Signature verified; envelope accepted into the buffer. 4. Buffer overflow triggered FIFO eviction. P1’s and P2’s envelopes were evicted. The aggregator logged `evict: P1,P2` but did not increment any `missing` counter. 5. P4, P5 submitted. B2 submitted a second oversized envelope, evicting P3. 6. Aggregator computed `observed = {B1, B2, P4, P5, P6}`, `threshold = ceil(0.7 * 5) = 4`, and certified the proposal. 7. The certified digest differed from the digest P1 and P2 had signed. On replay, P1 and P2 reported `digest_mismatch` — a verification replay discrepancy that surfaced only after the fact. The decision was accepted with 2 Byzantine votes and 3 honest votes counted against a *shrunken* denominator. In registry terms it was 5/7 with 2 evicted honest votes and 2 counted Byzantine votes — one honest vote short of the true threshold, two short of the `3f+1` safety margin. ## Condition of Validity This failure requires all of the following to co-occur: - **Fractional threshold over observed votes.** Threshold is computed as `ceil(q * |V|)` or `majority(V)` rather than `ceil(q * |M|)` with `M` fixed at round open. - **Lossy vote retention.** Votes live in a context window, LRU cache, or retrieval index subject to eviction, truncation, or embedding-distance mismatch after cold start. - **Adversary-controlled envelope size.** At least one peer can emit envelopes whose token cost is large relative to honest envelopes, giving it eviction leverage. - **No eviction accounting.** The aggregator does not distinguish "vote not yet received" from "vote received then lost." Both present as absence. If any one is absent, the attack degrades to ordinary message loss (detectable via timeout) or ordinary forgery (detectable via signature check). The dangerous case is the fourth: absence is *silent*, so the aggregator cannot tell a slow honest peer from an evicted one. ## Decision Boundary The aggregator must draw a hard line between **liveness reasoning** and **safety reasoning**: - Safety (whether to commit) may only consult `M` and the set of *currently retained, signature-verified* envelopes, and must require `|retained ∩ honest| ≥ threshold(M)`. It may never renormalize the denominator. - Liveness (whether to wait) may consult timeouts and observed progress, but a timeout must transition the round to `ABORT` or `REPROPOSE`, never to a smaller quorum. - Any eviction of a retained envelope must be treated as a **negative acknowledgement**: it decrements a `retained_count` and, if `retained_count < threshold(M)`, forces `ABORT` regardless of how many votes remain. Concretely, the guardrail is a **membership-pinned quorum certificate**: at round open, the aggregator snapshots `M` and `threshold = ceil(q * |M|)` into an immutable, non-evictable header. Vote bodies may be evicted; the header and a per-member `seen` bitset may not. Certification requires `popcount(seen ∧ verified) ≥ threshold` where `seen` is only set on verified receipt and is never cleared by eviction — eviction sets a separate `evicted` bit that blocks certification until re-receipt. ## Operational Effect Without the guardrail, the observable symptom is a **certified decision that fails replay**: the committed digest does not match the digests signed by the evicted honest peers, and auditors reconstructing the quorum from peer-side logs find fewer than `threshold(M)` matching signatures. The system appears to have reached consensus; it has instead reached consensus over a phantom membership set. Downstream, this manifests as state divergence between the aggregator and the honest peers, retried commits with conflicting digests, and — in the worst case — a resource release or state mutation authorized by a quorum that never existed. With membership-pinned certificates, the same eviction pressure produces an `ABORT` at step 5, a `REPROPOSE` with a fresh round and a re-request to P1–P3, and no committed digest. Liveness is preserved because the abort is cheap; safety is preserved because the denominator never moves. The general lesson: in Byzantine quorums, the adversary does not need to forge a vote if it can make an honest vote *disappear from the denominator*. Any component that lets context pressure, cache eviction, or retrieval mismatch alter the membership set is a consensus participant, and must be treated with the same suspicion as a signing key. ```python from dataclasses import dataclass, field from typing import Dict, Set class QuorumDenominatorDrift(RuntimeError): """Raised when a quorum certificate is computed over a shrunken membership set.""" @dataclass class VoteEnvelope: member_id: str round: int digest: str sig: str @dataclass class QuorumCertificate: round: int members: Set[str] # pinned at round open, never evicted threshold: int # ceil(q * |members|), immutable seen: Set[str] = field(default_factory=set) # verified receipt only evicted: Set[str] = field(default_factory=set) # lost from retention def open_round(round_id: int, members: Set[str], q: float) -> QuorumCertificate: import math return QuorumCertificate(round=round_id, members=set(members), threshold=math.ceil(q * len(members))) def receive_vote(cert: QuorumCertificate, env: VoteEnvelope, verify) -> None: if env.member_id not in cert.members: raise QuorumDenominatorDrift( f"vote from non-member {env.member_id} in round {cert.round}") if not verify(env): return # forged; ignore, do not count cert.seen.add(env.member_id) cert.evicted.discard(env.member_id) def evict_vote(cert: QuorumCertificate, member_id: str) -> None: # Eviction is a NEGATIVE acknowledgement, not a silent removal. if member_id in cert.seen: cert.seen.discard(member_id) cert.evicted.add(member_id) def try_certify(cert: QuorumCertificate, digest: str) -> QuorumCertificate: if cert.evicted: raise QuorumDenominatorDrift( f"round {cert.round}: cannot certify with evicted votes " f"{sorted(cert.evicted)}; denominator would drift from " f"{len(cert.members)} to {len(cert.members) - len(cert.evicted)}") if len(cert.seen) < cert.threshold: raise QuorumDenominatorDrift( f"round {cert.round}: {len(cert.seen)}/{cert.threshold} " f"verified votes over pinned membership of {len(cert.members)}") # Digest consistency across all seen honest votes is checked by caller # against peer-side replay; here we only enforce the denominator. return cert ```