# What happens when an instance commits to a plan quorum it cannot re-derive: silent equivocation in BFT plan commitment under hallucinating agents **Date of Record:** 2026 November 24 **Scope:** Applies to multi-agent systems where a plan is committed via a Byzantine fault-tolerant quorum (e.g., PBFT-style or threshold-signed) and where each replica agent re-derives the plan from its own probabilistic reasoning trace. Does not apply to systems where the committed plan is a byte-identical artifact replicated by transport (Raft-style log replication of opaque payloads), nor to single-agent self-consistency checks. ## Core Distinction The distinction that matters is between *agreement on a value* and *agreement on a derivation*. Classical BFT consensus guarantees that honest replicas agree on the same value (the plan hash, the committed action sequence). It does **not** guarantee—and cannot, by construction—that honest replicas produce that value from the same internal reasoning state. When the "value" is an LLM-generated plan, each replica independently samples a derivation, and consensus is reached by comparing *outputs*, not *derivations*. The failure boundary is this: a quorum can certify a plan that no single honest replica can reconstruct identically on replay, because the plan text was agreed but the latent justification diverged. This is equivocation without any malicious actor—hallucination produces the same observable signature as Byzantine equivocation, and the two are indistinguishable at the commit layer. ## What Was Observed A 5-replica plan-commitment swarm (f=1, quorum=4) was asked to commit a remediation plan for a failing service. Each replica was given the same evidence bundle and instructed to emit a plan plus a 256-token "commitment rationale." Replicas ran at temperature 0.7 with independent seeds. The coordinator collected `PREPARE` votes keyed on `hash(plan_text)`. Trace: 1. Replicas R1–R5 each emitted a plan. R1, R2, R3, R4 emitted byte-identical plan text (the canonical remediation: rollback + drain + verify). R5 emitted a semantically equivalent but lexically different plan (different ordering of drain/rollback steps). 2. Coordinator saw 4/5 matching hashes, reached quorum, and committed. R5's plan was discarded as a "faulty" vote—correctly, under BFT. 3. The committed plan was dispatched to an executor. The executor, a *different* agent instance, re-derived the plan from the committed hash by re-prompting an LLM with the original evidence. It produced a plan matching R5's ordering, not the committed ordering. The executor's `plan_hash != committed_hash`, and the executor aborted with a commitment-verification failure. 4. On retry, the executor re-derived again and this time matched R1's ordering. It proceeded. No replica could explain why, because the derivation was never committed—only the hash was. The key observation: **the commit was valid under BFT (4 honest-ish replicas agreed), yet the system could not execute the committed plan reliably**, because execution required re-derivation and re-derivation was non-deterministic. The quorum certified a value whose *preimage* was not stable. Hallucination acted as a silent equivocator: R5 was not lying, it was sampling a legitimate alternative, but the commit layer treated lexical divergence as fault. ## Condition of Validity The BFT commit is *operationally valid*—i.e., safe to execute—only under the following invariant, which is almost never stated: > **Derivation Determinism Invariant (DDI):** For a committed plan `p` with hash `h`, every honest executor instance `E` that re-derives `p` from the committed evidence bundle must produce `hash(E(evidence)) == h` with probability 1, or the commit must carry the full plan preimage so that no re-derivation is required. DDI fails whenever any of the following hold: - The plan is committed as a hash and the executor re-derives (the observed failure). - The plan is committed as text but the executor is instructed to "interpret" or "expand" it, reintroducing sampling. - The evidence bundle is large enough that context-window truncation differs across executor instances, so the "same" evidence yields different derivations. - Temperature > 0 or any sampling in the derivation path. The invariant holds only when the commit carries the complete, executor-consumable plan artifact (not a hash, not a rationale) and the executor is a *verifier*, not a *re-deriver*. Consensus on a hash is necessary but not sufficient; consensus on the executable preimage is the actual requirement, and BFT protocols are not designed to enforce it because they assume values are opaque and transportable. ## Decision Boundary The boundary is between two commit topologies: - **Hash-commit + re-derive (fails DDI):** cheap on bandwidth, but every executor is a fresh sampler and the commit is a claim about a distribution, not a point. Use only when the plan is short, the executor is deterministic (temperature 0, fixed seed, identical context), and re-derivation is verified against the hash before dispatch—treating mismatch as a hard abort, not a retry. - **Preimage-commit + verify (satisfies DDI):** the quorum commits the full plan text plus a canonical serialization; executors verify `hash(plan) == committed_hash` and execute the preimage without re-sampling. Costs more bytes, but the commit is a point, not a distribution. The decision rule: if `P(re-derive == committed) < 1 - ε` for tolerable ε, you are in the first topology and must either (a) move to preimage-commit, or (b) treat every executor re-derivation as an *independent proposal* requiring its own quorum, which collapses the efficiency gain and reintroduces the same boundary one layer down. There is no third option: you cannot BFT-commit a sample and then expect a different sample to reproduce it. The moment an executor re-derives, it is a new replica, and its output must be re-consensed—not hash-checked against a commit it never participated in. ## Operational Effect The practical consequence is a class of failures that look like Byzantine faults but are not, and therefore evade Byzantine detection. A hallucinating replica is indistinguishable from an equivocating one at the commit layer, so the fault-tolerance budget `f` is silently consumed by honest-but-divergent replicas. With `f=1` and one divergent sampler, the system has zero remaining tolerance for a real fault. Worse, the retry-on-mismatch pattern observed in step 4 masks the failure: the executor retries until it happens to sample the committed ordering, which succeeds with probability proportional to the plan's sampling entropy—so the system appears to work while its reliability is governed by an unmeasured temperature, not by its quorum size. The guardrail is to make the commit carry the preimage and to make executor mismatch a non-retryable abort that escalates to a new consensus round, so that divergence is surfaced as the consensus event it actually is rather than absorbed as transient noise. ```python import hashlib from dataclasses import dataclass class DerivationDivergenceError(RuntimeError): """Raised when an executor re-derives a plan that does not match the committed preimage. This is a consensus-layer fault, not a transient error: the executor is a fresh replica whose sample diverged from the committed point. Retrying masks it. """ pass @dataclass(frozen=True) class PlanCommit: plan_text: str # full preimage, not a hash committed_hash: str quorum: int def commit_plan(replica_outputs: list[str], quorum: int) -> PlanCommit: """Commit the modal plan preimage. Requires the preimage, not just a hash.""" if len(replica_outputs) < quorum: raise DerivationDivergenceError( f"insufficient replicas: {len(replica_outputs)} < quorum {quorum}" ) counts: dict[str, int] = {} for out in replica_outputs: counts[out] = counts.get(out, 0) + 1 modal, n = max(counts.items(), key=lambda kv: kv[1]) if n < quorum: raise DerivationDivergenceError( f"no preimage reached quorum: max support {n} < {quorum}; " f"divergent samplers consumed fault budget" ) return PlanCommit(modal, hashlib.sha256(modal.encode()).hexdigest(), quorum) def execute_committed(commit: PlanCommit, executor_rederive) -> str: """Execute the committed preimage. Re-derivation is a hard check, never a retry.""" derived = executor_rederive(commit.plan_text) derived_hash = hashlib.sha256(derived.encode()).hexdigest() if derived_hash != commit.committed_hash: raise DerivationDivergenceError( f"executor re-derivation diverged from commit: " f"{derived_hash[:12]} != {commit.committed_hash[:12]}; " f"escalate to new consensus round, do not retry" ) return commit.plan_text ```