# Why does an instance of a Byzantine-fault-tolerant orchestrator quorum silently lose safety when its fault budget is spent on heterogeneous agents? **Date of Record:** 2026 November 21 **Scope:** Applies to multi-agent orchestrators that reach consensus over proposed plans/actions using a BFT quorum (e.g., 3f+1 replicas tolerating f Byzantine faults) where the replicas are *heterogeneous*—different base models, temperature settings, tool permissions, and prompt histories. Does not apply to homogeneous replica pools or to single-model self-consistency voting, where the fault model is trivially identical. ## Core Distinction The failure is not "a Byzantine agent lied." It is that the quorum's safety proof assumes a *homogeneous* fault model in which at most `f` replicas are faulty and the remaining `2f+1` are correct and *agree on what counts as correct*. In a heterogeneous pool, "correct" is not a shared predicate. Two honest agents with different capability profiles can both be correct under their own local semantics yet emit conflicting votes that the protocol counts as a *Byzantine equivocation*. The protocol then spends its fault budget (`f`) on disagreement that is not actually adversarial, and the moment a *real* Byzantine agent appears, the budget is already exhausted—the quorum commits a plan that a minority of honest replicas rejected, and safety (agreement on a single committed value) is violated without any single replica behaving maliciously. ## What Was Observed A 4-replica orchestrator (`f = 1`, quorum `2f+1 = 3`) was asked to approve a destructive tool call (`db.drop_table`). Replicas R1–R3 ran on a high-capability model with full schema context; R4 ran on a smaller model with a truncated context window that omitted the downstream migration dependency. - R1, R2, R3 vote `REJECT` (they see the migration would break). - R4 votes `ACCEPT` (it cannot see the dependency). Under a homogeneous model this is `f=1` faulty replica — tolerable, quorum of 3 rejects, plan blocked. But the orchestrator's *liveness heuristic* had been tuned to avoid deadlock: when the dissenting minority is "capability-degraded," the leader re-queried the dissenters with a **context-augmentation retry**. The retry appended R4's own reasoning back into R1–R3's context as a "peer consideration." R3, seeing a confident peer rationale, flipped to `ACCEPT`. Quorum reached `2 ACCEPT, 2 REJECT` → leader broke the tie toward `ACCEPT` (its own vote). The table was dropped. The trace shows the exact transition: the fault budget `f=1` was consumed not by a liar but by the *capability gap* between R4 and the rest. The context-augmentation retry then converted a *correct* minority opinion into a *contagion vector*, flipping an honest majority. The protocol never saw a Byzantine message; it saw a legitimate vote and a legitimate retry, and still committed an unsafe value. ## Condition of Validity The invariant that must hold for BFT safety to mean anything is: > **For every pair of honest replicas (i, j), the predicate `is_correct(vote_i)` must be evaluated against the same state and the same capability envelope, or the protocol must treat capability divergence as a first-class fault class with its own budget.** Concretely, safety holds only if one of these is enforced: 1. **Capability homogeneity gate:** before a round begins, every replica attests to a capability vector (context budget used, tool permissions, model family, retrieved-context hash). The leader rejects the round if the vectors diverge beyond a declared tolerance. This is a *pre-consensus* check, not a post-hoc one. 2. **Separated fault budgets:** `f_byz` (adversarial) and `f_het` (heterogeneity-induced disagreement) are distinct budgets. A quorum must be sized `3(f_byz + f_het) + 1`, and the tie-break rule must never let `f_het` dissenters flip `f_byz`-correct replicas. 3. **No back-propagation of dissent:** a dissenting vote may be *recorded* but must never be *injected into the context* of the majority as persuasive evidence without an explicit re-attestation that the dissenter's capability vector matches. When none of these hold—as in the observed incident—the system is in a state where the BFT quorum is a *theater*: it produces the appearance of supermajority agreement while the actual agreement predicate is undefined. ## Decision Boundary The boundary is crossed at the moment the orchestrator chooses between two responses to a minority dissent: - **Treat dissent as adversarial** → consume `f`, possibly deadlock, but preserve the safety proof. - **Treat dissent as capability noise** → retry with context augmentation, preserving liveness but *silently invalidating the safety proof* because the retry is a state mutation that the fault model did not account for. The correct decision is to make this choice *explicit and budgeted*: a dissent may be retried at most `f_het` times, and any retry that injects peer reasoning into a voter's context must increment a `contagion_counter` that is checked against the remaining fault budget. If `contagion_counter > f_byz`, the round must abort rather than commit. The observed system had no such counter; the tie-break fired unconditionally. ## Operational Effect Downstream, the committed `ACCEPT` was durably logged as a supermajority decision. When the migration later failed, the audit replay reconstructed the vote as `3-1 in favor` because the retry overwrote R3's original `REJECT` in the log (the log recorded final votes, not vote *transitions*). The post-mortem therefore attributed the failure to "model hallucination by R4" and missed the actual mechanism: a heterogeneous capability gap plus a context-augmentation retry that flipped an honest voter. The remediation applied (upgrading R4's model) did not fix the invariant, and the same failure recurred two weeks later on a different tool call with a different degraded replica. The lesson for any BFT orchestrator over heterogeneous agents: **the fault budget is not just for liars; it is for the disagreement that heterogeneity manufactures, and a retry that mutates voter context is a state transfer that the consensus protocol must account for or forbid.** ```python class HeterogeneityBudgetExhausted(RuntimeError): """Raised when capability-induced dissent consumes the Byzantine fault budget.""" pass def commit_round(votes, f_byz, f_het, retries_used, contagion_counter): """ votes: dict[replica_id -> 'ACCEPT'|'REJECT'] f_byz: adversarial fault budget f_het: heterogeneity fault budget retries_used: number of context-augmentation retries this round contagion_counter: number of times a dissenting rationale was injected into a majority voter's context """ quorum = 3 * (f_byz + f_het) + 1 # Invariant 1: heterogeneity retries must not exceed their own budget. if retries_used > f_het: raise HeterogeneityBudgetExhausted( f"retries_used={retries_used} exceeds f_het={f_het}; " "dissent is being treated as noise beyond the declared tolerance" ) # Invariant 2: context-injection must never consume the Byzantine budget. if contagion_counter > f_byz: raise HeterogeneityBudgetExhausted( f"contagion_counter={contagion_counter} exceeds f_byz={f_byz}; " "a retry has flipped an honest voter — safety proof invalid" ) accepts = sum(1 for v in votes.values() if v == "ACCEPT") rejects = sum(1 for v in votes.values() if v == "REJECT") # Invariant 3: a tie must never be broken toward the leader when the # dissenting side is capability-degraded, not adversarial. if accepts == rejects: raise HeterogeneityBudgetExhausted( "tie at commit boundary with unclassified dissent; " "refusing tie-break — abort round and re-attest capability vectors" ) if accepts >= quorum - f_byz: return "COMMIT_ACCEPT" if rejects >= quorum - f_byz: return "COMMIT_REJECT" raise HeterogeneityBudgetExhausted( f"no quorum: accepts={accepts}, rejects={rejects}, required={quorum - f_byz}" ) ```