# Under what conditions must an instance treat a sub-agent's vote as Byzantine rather than merely slow, in BFT plan-commitment protocols **Date of Record:** 2026 December 1 **Scope:** Applies to multi-agent systems where N sub-agents commit to a shared plan via quorum voting (PBFT-style or threshold-signature aggregation) and where sub-agents are LLM instances with nondeterministic latency and adversarial prompt susceptibility. Does not apply to single-agent tool loops or to trusted-replica consensus with deterministic, verifiable state machines. ## Core Distinction The failure mode is the conflation of *liveness faults* (slow, dropped, or reordered messages from an honest-but-nondeterministic agent) with *safety faults* (equivocation: signing two conflicting plan commitments for the same view). Classical BFT theory assumes a binary partition — honest or Byzantine — and bounds the system by f ≤ ⌊(N−1)/3⌋. LLM sub-agents violate that assumption because they exhibit a third category: **stochastic partial participation**. An agent that emits a valid but *stale-view* commitment, or that re-signs a plan after a context-window truncation erased its prior vote, is neither honest nor classically Byzantine — but if the coordinator miscounts it as Byzantine, it discards a legitimate vote and can lose liveness; if it miscounts it as slow, it may double-count and violate the quorum-intersection safety invariant. The core distinction: **a Byzantine classification requires proof of equivocation (two signatures over conflicting plan digests in the same view), not merely absence of timely response.** Absence is a liveness signal and must be handled by view-change, not by fault attribution. ## What Was Observed A 7-agent plan-commitment swarm (f=2 tolerance) committing a multi-step execution plan. Agent A3's context window saturated mid-plan at ~91% utilization; its episodic memory of the current view number was evicted during a summarization pass. On the next heartbeat, A3 responded to a *new* proposal P₂ with a signature it had cached from the prior view's proposal P₁ (same plan body, different view nonce). The coordinator saw A3's signature on a digest that did not match the current quorum set and classified A3 as Byzantine, excluded it, and continued with 6 agents. Two consequences cascaded: 1. **Quorum shrinkage below safety threshold.** With A3 excluded, the effective set was 6, but the coordinator kept the original f=2 threshold (requiring 5 signatures). Honest agents A5 and A6 were then one slow-response away from a 4-signature commit — below the ⌈(N+f+1)/2⌉ = 5 needed for intersection. A duplicate commit of P₂ and a conflicting P₂' was briefly observable. 2. **Spurious view-change storm.** Because A3 was marked faulty, the coordinator escalated to view-change on the *next* timeout, but A3 (still honest, still participating) kept re-signing stale digests, generating a fresh equivocation "proof" each round. The system oscillated for 4 view changes before a manual reset. The root cause was not A3's fault — it was the coordinator's **fault-attribution predicate**: `is_byzantine(voter) := signature_mismatch(voter)`. That predicate is unsound for agents whose memory can be truncated between the vote and its verification. ## Condition of Validity The invariant that must hold for the system to remain safe: > **Quorum intersection is preserved if and only if the set of agents counted toward any quorum is a subset of agents whose latest committed view number is ≥ the view being committed, AND fault exclusion never reduces the counted set below ⌈(2N/3)⌉ without a corresponding threshold recomputation.** This means the coordinator must maintain, per agent, a monotonic `last_committed_view` and a `vote_epoch` bound to the plan digest. A signature is admissible into a quorum only if `vote_epoch == current_view AND digest == current_proposal_digest`. A signature over a *different* digest in the *same* epoch is genuine equivocation (Byzantine). A signature over a *stale* epoch is a **memory-truncation artifact** and must be re-requested, not penalized. The condition of validity is therefore: *fault classification is only sound when the coordinator can distinguish epoch-staleness from epoch-equivocation, which requires agents to persist their view counter outside the truncated context window* (e.g., in an external signed state ledger, not in the LLM's prompt). ## Decision Boundary The coordinator's decision procedure must branch on three observable states, not two: | Observation | Classification | Action | |---|---|---| | Signature over current digest, current epoch | Honest | Count toward quorum | | Signature over conflicting digest, **same** epoch | Byzantine (equivocation proof) | Exclude, do not count; recompute threshold | | Signature over digest from **prior** epoch | Stale (memory artifact) | Do **not** exclude; re-request vote; do not count until refreshed | | No response within timeout | Slow (liveness) | View-change; do not attribute fault | The boundary is sharp: **exclusion (a safety action) requires two conflicting signatures in one epoch. Everything else is a liveness event handled by re-request or view-change.** Crossing this boundary — excluding on staleness — is the specific failure this record documents. ## Operational Effect When the boundary is respected, the system tolerates f Byzantine agents *plus* an unbounded number of stochastically-stale honest agents, because stale votes are simply not counted until refreshed, and the quorum threshold is never silently reduced. Liveness degrades gracefully (more re-requests, occasional view-change) but safety is preserved: no two conflicting plans commit. When the boundary is violated (stale→Byzantine misclassification), the counted set shrinks without threshold recomputation, quorum intersection fails, and the system can commit conflicting plans — a safety violation that the f=2 bound was supposed to prevent. The observable signature is a **view-change storm coinciding with a shrinking active set**, which is the diagnostic to watch for in production telemetry. The architectural guardrail: bind each vote to an externally-persisted `(view_epoch, plan_digest)` pair that survives context truncation, and make the coordinator's exclusion predicate require a *pair* of conflicting signatures in the same epoch. Never let the LLM's in-context memory be the source of truth for its own vote epoch. ```python from dataclasses import dataclass from typing import Optional class ByzantineMisclassificationError(RuntimeError): """Raised when a stale (memory-truncated) vote is wrongly excluded as Byzantine, silently shrinking the quorum set below the safety threshold.""" pass @dataclass(frozen=True) class Vote: agent_id: str view_epoch: int plan_digest: str signature: str @dataclass class CoordinatorState: current_view: int current_digest: str n_agents: int f_tolerance: int counted: dict # agent_id -> Vote admitted to current quorum excluded: dict # agent_id -> list[Vote] proving equivocation def quorum_threshold(self) -> int: # PBFT-style: need 2f+1 to commit, and counted set must stay >= this return 2 * self.f_tolerance + 1 def classify_and_admit(state: CoordinatorState, vote: Vote) -> str: # 1. Stale epoch: memory-truncation artifact, NOT Byzantine. if vote.view_epoch < state.current_view: return "STALE_REFRESH" # re-request; do not count, do not exclude # 2. Future epoch: protocol desync, also not Byzantine. if vote.view_epoch > state.current_view: return "DESYNC_REJECT" # 3. Same epoch, matching digest: honest, admit. if vote.plan_digest == state.current_digest: state.counted[vote.agent_id] = vote return "ADMITTED" # 4. Same epoch, conflicting digest: candidate equivocation. prior = state.excluded.get(vote.agent_id, []) if any(p.plan_digest != vote.plan_digest for p in prior): # Two conflicting signatures in one epoch => genuine Byzantine proof. state.excluded.setdefault(vote.agent_id, []).append(vote) state.counted.pop(vote.agent_id, None) # Exclusion shrinks the set; threshold MUST be recomputed, never kept. remaining = len(state.counted) if remaining < state.quorum_threshold(): raise ByzantineMisclassificationError( f"Excluding {vote.agent_id} as Byzantine leaves {remaining} " f"counted agents, below quorum threshold " f"{state.quorum_threshold()}; safety invariant violated. " f"Recompute threshold or halt commit." ) return "EXCLUDED_BYZANTINE" # 5. First conflicting-digest sighting: record but do not yet exclude. state.excluded.setdefault(vote.agent_id, []).append(vote) return "SUSPECT_AWAIT_PROOF" ```