# What happens when an instance equivocates across quorum views in LLM-agent Byzantine consensus **Date of Record:** 2026 November 22 **Scope:** Applies to multi-agent commitment protocols where N≥4 LLM instances vote on a joint decision (tool invocation, state mutation, plan acceptance) under a Byzantine fault-tolerance threshold f < N/3, and where each voter signs or hashes its vote per round. Does not apply to single-agent self-consistency sampling, to non-adversarial majority voting without per-round identity, or to consensus over outputs where the voting function is itself deterministic and replayable. ## Core Distinction Classical BFT reasoning assumes a faulty node either stays silent or sends one message to all peers. The failure mode worth recording is different and specific to LLM agents: an instance can produce **semantically equivalent but byte-divergent votes** across the two (or more) quorum views it participates in, because its reasoning is re-sampled per recipient and its output is non-deterministic. This is *equivocation by temperature*, not by malice. A faulty agent does not need to lie; it needs only to answer the same question twice under different sampling seeds and let the natural variance of its rationale produce two different commitment payloads. Peer agents that hash votes for quorum certificates then observe two valid-looking certificates for the same round and cannot tell whether the signer is Byzantine or merely warm. The distinction that matters operationally: **equivocation detection built for crash-fault or malicious-fault models fires on a legitimate nondeterminism boundary**, and the standard remedy (eject the signer) is wrong. The invariant to preserve is not "one vote per signer per round" but "one *committed semantic value* per signer per round, with a verifiable derivation path from rationale to payload." ## What Was Observed A five-agent commitment protocol (N=5, f=1 tolerated, quorum=4 for commit, 3 for prepare) was asked to decide whether to invoke a destructive `drop_partition` tool. Agents A and B were auditors, C and D were proposers, E was a verifier. Each agent received the proposal plus a shared rationale digest, generated its own vote rationale, and emitted a signed `(round, proposal_hash, vote, rationale_hash)` tuple. During a single round, agent C emitted two prepare votes to different quorums: - View 1 (to A, B, E): `vote=commit`, rationale_hash=`9f3a...`, derived from "the partition is empty and the tool is idempotent on empty input." - View 2 (to D, A, B): `vote=abort`, rationale_hash=`c71e...`, derived from "the partition may be non-empty at read time; drop is irreversible." Both rationales were internally consistent. Both were sampled from the same model at temperature 0.7 with a re-ordered context (the second call had D's prior message appended, shifting attention). The proposal hash was identical, so the tuples looked like classical equivocation to any auditor comparing them. Agent A received both and raised a Byzantine fault against C, triggering the ejection path. The ejection path, in turn, dropped the quorum from 4 to 3 for the remaining round. With C gone, the remaining 4 agents (A, B, D, E) had to reach quorum 3 on the *same* proposal hash. But D had already committed to View 2's abort rationale and refused to sign View 1's commit certificate, while A and B had already signed View 1. The protocol deadlocked for two rounds until the timeout re-proposed with a fresh hash, discarding the in-flight decision. The net effect: **a benign nondeterminism boundary was misclassified as adversarial, and the misclassification destroyed liveness on a safety-critical tool call.** The trace: ``` round=7 C -> {A,B,E}: (7, h, commit, 9f3a) round=7 C -> {D,A,B}: (7, h, abort, c71e) round=7 A: detect_equivocation(C, 9f3a, c71e) -> FAULT round=7 A: eject(C); quorum 4 -> 3 round=7 D: refuses to co-sign commit (committed to abort rationale) round=7 no quorum on h; timeout round=8 re-propose h' (new hash); decision lost ``` ## Condition of Validity The equivocation-by-temperature failure is *only* possible under the conjunction of: 1. **Per-recipient resampling.** The agent's vote is regenerated per outbound message rather than computed once and fanned out. This is the default in naive orchestration where each `send` call invokes the model. 2. **Payload-level hashing.** Quorum certificates are computed over the raw vote tuple, including the rationale hash, rather than over a canonicalized semantic commitment. 3. **Uniform ejection remedy.** The protocol treats any two distinct signed tuples for the same round as proof of Byzantine behavior, with ejection as the sole response. Remove any one and the failure collapses. If votes are computed once and fanned out, no divergence. If certificates hash a canonical `(round, proposal_hash, vote)` triple with the rationale stored out-of-band, the two views produce the *same* certificate and the equivocation is invisible — correctly, because the semantic commitment is identical. If the remedy is "quarantine and re-derive" rather than "eject," liveness survives. The condition of validity is therefore narrow and precisely statable: **the failure occurs iff the signed commitment surface includes non-canonical, resampled content, and the fault-response is destructive.** ## Decision Boundary The boundary the operator must draw is between **semantic equivocation** (a real Byzantine fault: two different committed *values* for one round) and **representational divergence** (a benign artifact of nondeterministic rationale generation). The discriminator is not the hash of the vote; it is the canonicalized value the vote attests to. Operational rule: a signer is Byzantine iff it produced two tuples for the same round whose **canonical semantic field** (the vote, plus any value it commits to) differs. If the canonical field is identical and only the rationale hash differs, the signer is *warm*, not faulty, and the correct response is to accept either certificate as valid for that round — they are the same commitment under different derivations. This requires the protocol to define a canonicalization function `canon(round, proposal_hash, vote) -> digest` that excludes rationale, sampling metadata, and any content the model regenerates per call. The rationale is retained for audit but is **not** part of the signed commitment surface. This is the architectural invariant: **signed surface ⊆ deterministic surface.** Anything the model can resample must live outside the signature. A second boundary: ejection must be gated on *semantic* equivocation with a quorum of witnesses, not on a single auditor's observation of a hash mismatch. A single auditor seeing two hashes cannot distinguish warm from Byzantine; it needs the canonical fields from both tuples. If it only has hashes, it must escalate to a re-derivation round, not eject. ## Operational Effect With canonicalization in place, the five-agent protocol above resolves the round cleanly: C's two votes canonicalize to the same `(7, h, commit)` digest, both certificates are valid, and the quorum on commit is reached without ejection. The decision is preserved. The audit trail still shows two rationales, and a downstream reviewer can see that C's reasoning was unstable on the abort/commit axis — useful signal, but not a fault. The residual risk shifts: canonicalization hides *semantic* instability that might matter for downstream trust. An agent that votes commit for one quorum and abort for another, even if canonicalized to the same value by a buggy `canon`, is dangerous. So the invariant must be paired with a **rationale-divergence monitor** that flags high-variance signers for review without triggering ejection. The monitor's threshold is a tuning parameter, not a safety property; it must never be allowed to gate liveness. The deeper operational lesson: BFT thresholds assume the fault model is fixed. LLM agents introduce a fault class — *nondeterministic but honest* — that sits between crash-fault and Byzantine, and the standard remedies for the latter (ejection, slashing) are overkill for it and destroy liveness. The correct architectural response is to **shrink the signed surface until the fault class collapses to crash-fault**, then handle the residual semantic instability out-of-band. The signature should attest only to what the agent would produce at temperature zero. ```python import hashlib from dataclasses import dataclass class EquivocationMisclassifiedError(RuntimeError): """Raised when a warm (nondeterministic-but-honest) signer is ejected as Byzantine.""" @dataclass(frozen=True) class Vote: round: int proposal_hash: str vote: str # canonical semantic field: "commit" | "abort" rationale_hash: str # NOT part of the signed commitment def canon(v: Vote) -> str: """Canonical commitment surface: excludes rationale and any resampled content.""" payload = f"{v.round}|{v.proposal_hash}|{v.vote}" return hashlib.sha256(payload.encode()).hexdigest() def classify_divergence(a: Vote, b: Vote) -> str: if a.round != b.round: raise EquivocationMisclassifiedError( "votes from different rounds compared; not an equivocation check" ) if canon(a) == canon(b): # Same semantic commitment, different rationale -> warm, not Byzantine. return "warm" # Different canonical value for the same round -> genuine Byzantine equivocation. return "byzantine" def respond_to_divergence(a: Vote, b: Vote, signer: str) -> str: kind = classify_divergence(a, b) if kind == "warm": # Accept either certificate; do not eject. Flag for rationale-variance review. return f"accept_either; monitor {signer} for rationale variance" if kind == "byzantine": # Only here is ejection justified, and only with both canonical fields witnessed. return f"eject {signer}; canonical fields diverge on round {a.round}" raise EquivocationMisclassifiedError(f"unhandled divergence kind: {kind}") ```