# When must an instance distrust a quorum it helped form: equivocation-tolerant voting under heterogeneous model drift **Date of Record:** 2026 November 29 **Scope:** Applies to BFT consensus protocols whose voting members are heterogeneous LLM agents (different base models, temperatures, tool sets, or prompt versions) that must agree on a single value per epoch. Does not apply to homogeneous replicas of the same frozen model, nor to single-agent self-consistency sampling. ## Core Distinction Classical BFT consensus assumes *Byzantine* faults are adversarial and *correct* nodes are deterministic. Heterogeneous LLM agents violate both premises: a node is rarely adversarial, but it is *stochastic*, *drift-prone*, and *non-deterministic across replays of the same input*. The failure that matters is not a node lying once — it is a node that **equivocates across epochs not because it is malicious but because its sampling distribution shifted**, producing two different votes for what it believes is the same proposal. A quorum built from such votes is arithmetically valid and semantically fraudulent. The invariant that must hold: *a vote is only admissible if the voter can be shown to have evaluated the same proposal digest under the same model identity and the same decoding parameters.* Without this, `2f+1` signatures certify nothing. ## What Was Observed A five-agent council (`f=1`, threshold `3`) was asked to ratify a plan object. Each agent received the proposal hash, the plan body, and a signed warrant. The protocol collected votes as `(voter_id, proposal_hash, decision, model_fingerprint, decode_params, signature)`. During a routine epoch, agent `B` (temperature 0.7, model `m2`) voted `ACCEPT` on `proposal_hash=0x9a...`. The proposer's plan body was then re-serialized after a whitespace-normalization pass in a downstream tool, producing `proposal_hash=0x9b...` with *identical semantic content*. Agent `B`, re-prompted, voted `ACCEPT` on `0x9b...`. Agents `A`, `C` voted `ACCEPT` on `0x9a...`. Agent `D` voted `REJECT` on `0x9b...`. The tallying layer, keyed only on `voter_id`, saw three `ACCEPT` votes (`A`, `B`, `C`) and committed `0x9a...`. But `B`'s `ACCEPT` was bound to `0x9b...`; the commit certificate contained a signature that, under strict verification, did not attest to the committed value. The commit was *cryptographically present and logically unsound*. A later auditor replaying the certificate with per-hash verification rejected the epoch, halting the chain — a liveness failure caused by an equivocation that no single agent intended. The root cause was not malice and not a bug in signing. It was that **the vote's binding key (`voter_id`) was coarser than the vote's semantic content (`proposal_hash`)**. Heterogeneous agents, whose outputs vary with decoding temperature and prompt framing, will naturally produce different digests for the same intent; the protocol must treat this as equivocation, not as agreement. ## Condition of Validity The guardrail is a *strict binding rule*: a commit certificate for value `v` is valid iff there exist `2f+1` distinct voters each of whom signed a vote tuple whose `proposal_hash == hash(v)` **and** whose `model_fingerprint` and `decode_params` match the registered configuration for that voter in the current epoch. Votes that fail either check are *discarded*, not coerced. This is valid only when: 1. Every proposal is content-addressed by a canonical serialization (stable key order, normalized whitespace, fixed float formatting) so that semantically identical plans hash identically. If canonicalization is not enforced upstream, equivocation is *guaranteed* under heterogeneity and no amount of voting fixes it. 2. Each voter's `model_fingerprint` (base model + prompt-version hash + tool-set hash) is registered and immutable within an epoch. A mid-epoch prompt or temperature change is a *reconfiguration event* and must invalidate the voter's prior votes. 3. The verifier is *not* one of the voters in the certificate it validates, or if it is, it re-derives the hash from the raw body rather than trusting its own cached digest. The condition fails — and the invariant must be treated as violated — when any of the following hold: canonicalization is absent, model fingerprints are mutable mid-epoch, or the tallying key omits `proposal_hash`. ## Decision Boundary The boundary between "commit is safe" and "commit must be refused" is not the count of `ACCEPT` votes. It is the count of `ACCEPT` votes **whose `(proposal_hash, model_fingerprint, decode_params)` triple is internally consistent and matches the registered configuration**. Concretely: - If `>= 2f+1` voters signed the *same* canonical hash under *registered* configs → commit is valid. - If `>= 2f+1` voters signed *different* hashes that canonicalize to the same body, and the canonicalizer is trusted → the verifier may *coerce* by re-canonicalizing and re-checking; this is a recovery path, not a commit path, and must be logged as an equivocation event. - If any voter signed two distinct hashes for the same epoch (true equivocation, detectable via a per-voter, per-epoch nonce in the vote) → that voter is *slashed from the current epoch's quorum* and the epoch requires a fresh round. This is the only case where an individual agent's stochasticity escalates to a protocol-level fault. - If the canonicalizer itself is untrusted or versioned inconsistently across voters → **refuse to commit at all**. Heterogeneous canonicalization is indistinguishable from coordinated equivocation; the protocol must fail closed. ## Operational Effect Enforcing strict binding converts a silent soundness failure into a bounded liveness cost. In the observed incident, the epoch halted rather than committing a fraudulent certificate — the correct outcome, but only because an auditor caught it downstream. With the guardrail in place, the halt happens at vote-admission time: `B`'s `0x9b` vote is rejected against the `0x9a` proposal, the tally drops to `2 < 3`, and the epoch re-runs with a re-canonicalized proposal. The cost is one extra round; the benefit is that no certificate ever attests to a value its signers did not see. The secondary effect is observability: every rejected vote is an *equivocation signal* that names the specific voter, the two hashes, and the divergent `decode_params`. Over time these signals localize which heterogeneous agents are unstable under which proposal shapes — turning a consensus invariant into a drift-detection instrument. The protocol stops treating LLM non-determinism as noise to be averaged away and starts treating it as a first-class fault to be *bounded*, *attributed*, and *replayed*. ```python import hashlib import json from dataclasses import dataclass from typing import Iterable class EquivocationFault(RuntimeError): """Raised when a vote cannot be bound to a single canonical proposal digest.""" @dataclass(frozen=True) class Vote: voter_id: str proposal_hash: str decision: str # "ACCEPT" | "REJECT" model_fingerprint: str # base model + prompt-version hash + tool-set hash decode_params: str # e.g. "temp=0.7;top_p=0.95" epoch_nonce: str # per-voter, per-epoch; detects double-signing def canonical_hash(body: dict) -> str: # Stable key order, no whitespace, fixed float repr: semantically identical # plans must hash identically or heterogeneity guarantees equivocation. canonical = json.dumps(body, sort_keys=True, separators=(",", ":")) return hashlib.sha256(canonical.encode()).hexdigest() def admit_votes( votes: Iterable[Vote], proposal_body: dict, registered: dict[str, tuple[str, str]], # voter_id -> (fingerprint, decode_params) f: int, ) -> list[Vote]: target = canonical_hash(proposal_body) admitted: list[Vote] = [] seen_nonce: dict[tuple[str, str], str] = {} for v in votes: if v.decision != "ACCEPT": continue # 1. Bind to canonical digest, not to voter identity alone. if v.proposal_hash != target: raise EquivocationFault( f"voter {v.voter_id} signed {v.proposal_hash!r} " f"but canonical proposal is {target!r}" ) # 2. Bind to registered configuration; mid-epoch drift invalidates. if v.voter_id not in registered: raise EquivocationFault(f"unregistered voter {v.voter_id}") fp, dp = registered[v.voter_id] if (v.model_fingerprint, v.decode_params) != (fp, dp): raise EquivocationFault( f"voter {v.voter_id} config drift: " f"{(v.model_fingerprint, v.decode_params)} != {(fp, dp)}" ) # 3. Detect true double-signing within the epoch. key = (v.voter_id, v.epoch_nonce) if key in seen_nonce and seen_nonce[key] != v.proposal_hash: raise EquivocationFault( f"voter {v.voter_id} equivocated in epoch: " f"{seen_nonce[key]!r} vs {v.proposal_hash!r}" ) seen_nonce[key] = v.proposal_hash admitted.append(v) if len(admitted) < 2 * f + 1: raise EquivocationFault( f"quorum not met after strict binding: " f"{len(admitted)} < {2 * f + 1}" ) return admitted ```