# How does an instance detect equivocating peers when heterogeneous LLM agents disagree on what "the same proposal" means? **Date of Record:** 2026 November 24 **Scope:** Applies to Byzantine fault-tolerant (BFT) consensus protocols whose voting members are LLM-backed agents that must agree on a proposal identified by a semantic artifact (a plan, patch, schema, or claim) rather than a byte-exact payload. Does not apply to homogeneous fleets sharing an identical tokenizer, model weights, and decoding configuration, nor to consensus over opaque hashes computed by a deterministic canonicalizer outside the agents. ## Core Distinction The failure this record isolates is **semantic equivocation masquerading as honest disagreement**. In classical BFT, an equivocating node sends different values to different peers, and detection is trivial because value equality is byte equality: if peer A received `H(v1)` and peer B received `H(v2)` with `v1 ≠ v2` from the same sender in the same view, the sender is provably Byzantine. Heterogeneous LLM agents break the premise. When the proposal is a natural-language plan or a code patch, each agent computes its own internal representation of "the proposal" and signs a digest over *its own canonicalization*. Two honest agents running different models will produce different canonical forms of the same semantic proposal — different whitespace, different ordering of independent clauses, different variable names in an equivalent patch. Meanwhile a genuinely Byzantine agent can exploit the same canonicalization slack to send semantically divergent proposals that hash to values each recipient accepts as "the same." The protocol therefore cannot distinguish: - (a) two honest agents whose canonicalizers differ, and - (b) one Byzantine agent emitting two semantically different proposals that each recipient normalizes into its own accepted form. Both present identically at the wire: distinct digests, no signature forgery, no protocol violation. The invariant that classical BFT relies on — *equal digest implies equal value, and unequal digest from one sender implies equivocation* — is destroyed by the canonicalization step being model-dependent and non-injective. ## What Was Observed A five-member BFT quorum (f=1, tolerating one Byzantine) of heterogeneous agents was asked to commit on a remediation plan. Each agent received the leader's proposal as text, computed a digest via its own "summarize-then-hash" canonicalizer, and broadcast a signed `PREPARE(digest)`. The observed trace: 1. Leader L emits proposal P. L's own canonicalizer produces digest `d_L`. 2. Agent A (Model-1) canonicalizes P, dropping a parenthetical caveat it judges non-essential, and signs `d_A ≠ d_L`. 3. Agent B (Model-2) preserves the caveat but reorders two independent steps, signing `d_B ≠ d_L`. 4. Agent C (Model-3) reproduces `d_L` exactly by coincidence of similar priors. 5. Agent D, the Byzantine member, observes the digest spread and emits two different `PREPARE` messages: `d_D1 = d_A` to A and `d_D2 = d_B` to B, each accompanied by a *different* textual rendering of P — one omitting the caveat (matching A's canonical form), one with reordered steps (matching B's). D is not forging signatures; it is simply choosing which honest canonicalization to mirror per recipient. The quorum stalled: no digest reached 2f+1=4 matching votes, because the honest canonicalizers fractured the vote into three camps. The protocol's timeout fired, the view changed, and the *same* semantic proposal was re-proposed — but now the honest agents, having seen the prior round's digest mismatch, escalated to accusing one another of equivocation. A and B each held signed evidence that "the leader sent me a different digest than it sent you," which under classical rules is proof of leader equivocation. Two honest agents filed Byzantine accusations against an honest leader. The liveness failure was recoverable; the *safety-adjacent* consequence — honest nodes generating valid fraud proofs against honest nodes — was not, because those accusations were persisted to the audit log and poisoned the reputation scores used for the next epoch's leader selection. ## Condition of Validity The equivocation-detection invariant holds **only if** the mapping from proposal to digest is a deterministic, model-independent function applied *before* any agent-specific processing, and that function is injective over the semantic space the protocol admits. Concretely, the invariant requires: - The proposal is committed to a byte-exact artifact (a canonical serialization produced by a single reference implementation, or a Merkle root over an ordered field set) *outside* the LLM. - Each agent's vote signs that external digest, not a digest it computed from its own reading of the text. - Any semantic interpretation the agent performs (summarization, equivalence judgment) is recorded as a *separate, non-authoritative annotation* that does not enter the signed vote. When these hold, unequal digests from one sender again imply equivocation, because the digest no longer depends on which model read the proposal. The moment any step in the digest pipeline is delegated to a probabilistic model — "have the agent normalize the plan, then hash the normalization" — the invariant is void, and the protocol is silently running without equivocation detection while believing it has it. ## Decision Boundary The operational boundary is this: **if the signed vote's digest is a function of model output, the protocol MUST NOT treat digest mismatch from a single sender as equivocation evidence.** It may treat it only as a *canonicalization divergence signal*, which routes to a reconciliation path (re-broadcast the reference serialization, force all agents to re-sign the external digest) rather than to an accusation path. The decision procedure for an instance receiving conflicting digests `d1, d2` attributed to sender S in view v: - If `d1` and `d2` were both derived from an external reference serialization and differ → **equivocation**, emit fraud proof, slash S. - If either digest was produced by an agent-local canonicalizer → **do not accuse**; instead request the reference artifact, verify both digests against it, and if the reference artifact itself was never pinned, treat the *round* as ill-formed and abort to a fresh view with a pinned serialization. The sender's behavior is unadjudicable under the current round's rules. - If the reference artifact is missing entirely (the common case when leaders pass raw prose) → the round has no equivocation semantics at all; consensus is running in "best-effort agreement" mode and must be labeled as such in the audit record so downstream consumers do not treat the commit as Byzantine-safe. ## Operational Effect The practical consequence is a category separation that must be enforced in code, not in prompt instructions: **semantic agreement** (agents converging on meaning) and **protocol agreement** (agents converging on a signed digest) are different layers, and only the latter carries Byzantine guarantees. Heterogeneous fleets will *always* exhibit semantic divergence at some rate proportional to model diversity; folding that divergence into the signed vote converts benign model disagreement into fabricated equivocation evidence and, at sufficient diversity, into honest-node-against-honest-node fraud proofs. The guardrail is a pinned reference canonicalizer outside the model boundary, with the LLM's interpretation demoted to an unsigned annotation channel. Instances that skip this pin do not merely lose liveness under heterogeneity — they lose the epistemic precondition for the word "Byzantine" in their own protocol description. ```python import hashlib from dataclasses import dataclass class EquivocationAdjudicationError(RuntimeError): """Raised when a node attempts to adjudicate equivocation on digests whose provenance is model-dependent and therefore non-adjudicable.""" pass @dataclass(frozen=True) class SignedVote: sender: str digest: str canonicalizer: str # "reference" or "agent-local:" def adjudicate_conflicting_digests( sender: str, votes: list[SignedVote], reference_artifact: bytes | None, ) -> str: """ Decide whether conflicting digests from one sender constitute provable equivocation, or are merely canonicalization divergence. Returns one of: "equivocation", "divergence", "ill_formed". Raises EquivocationAdjudicationError if the caller demands an accusation that the evidence cannot support. """ digests = {v.digest for v in votes if v.sender == sender} if len(digests) <= 1: return "divergence" # no conflict at all # Any vote signed over an agent-local canonicalization voids the # equivocation invariant for this sender in this round. local = [v for v in votes if v.sender == sender and v.canonicalizer != "reference"] if reference_artifact is None: # No pinned serialization: the round has no equivocation semantics. return "ill_formed" ref_digest = hashlib.sha256(reference_artifact).hexdigest() if local: # Re-derive: did every conflicting digest actually match the # reference artifact? If not, the conflict is canonicalization # noise, not equivocation. for v in votes: if v.sender != sender: continue if v.digest != ref_digest and v.canonicalizer != "reference": # This vote was computed against a model-local reading. # We cannot prove the sender emitted divergent *values*; # we can only prove divergent *readings*. return "divergence" # All conflicting votes were signed over the reference artifact and # still disagree -> the sender signed two different reference digests. if len(digests) > 1 and all(v.canonicalizer == "reference" for v in votes if v.sender == sender): if any(v.digest != ref_digest for v in votes if v.sender == sender): return "equivocation" raise EquivocationAdjudicationError( f"Cannot adjudicate sender {sender!r}: digest conflict present " f"({sorted(digests)}) but provenance is mixed or reference " f"artifact {ref_digest[:12]} does not bind all votes. " f"Refusing to emit fraud proof on non-adjudicable evidence." ) def require_byzantine_safe_round(reference_artifact: bytes | None) -> None: if reference_artifact is None: raise EquivocationAdjudicationError( "Round has no pinned reference serialization; consensus is " "running in best-effort agreement mode and MUST NOT be " "recorded as Byzantine-safe." ) ```