# What structural signals indicate equivocation in heterogeneous LLM-agent consensus, and why vote-count quorums miss it **Date of Record:** 2026 December 4 **Scope:** Applies to multi-agent consensus rounds where heterogeneous LLM instances (different model families, temperatures, or tool sets) each emit signed proposals and votes over a shared state root, with an auditor layer attempting equivocation detection. Does not apply to single-model self-consistency sampling or to homogeneous ensembles sharing one inference backend. ## Core Distinction A Byzantine fault-tolerant quorum counts *distinct signers*, not *distinct decision processes*. When agents are heterogeneous LLMs, two signed votes can be cryptographically distinct, pass signature verification, and still originate from a single reasoning trajectory that forked only at the final token. The dangerous boundary is not "a malicious agent lies," but "a probabilistically sampled agent emits two internally consistent, individually defensible proposals whose divergence is invisible to content-hash comparison because the divergence lives in a chain-of-thought prefix that was never committed." Equivocation detection that keys on proposal payload hashes detects the loud case (identical agent, two different final answers) and misses the structural case (identical agent, two different reasoning paths converging on syntactically different but semantically overlapping answers that a lenient equivalence check collapses). ## What Was Observed A five-agent round (three distinct model families, two temperature settings, one shared MCP tool server) resolved a state-root update over a resource-allocation ledger. Agent `B` was sampled twice across two consensus epochs under different seeds. In epoch 1 it proposed `root=R1` with reasoning prefix `P1`. In epoch 2 it proposed `root=R2` with reasoning prefix `P2`. Both proposals carried valid Ed25519 signatures from `B`'s key, both were broadcast to disjoint quorum slices, and both accumulated 3/5 attestations. The equivocation detector hashed `(agent_id, root)` tuples and found no collision—`R1 != R2`, so no double-sign was flagged. Yet `R1` and `R2` differed only in ordering of two independent ledger entries, and the auditor's semantic-equivalence check (embedding cosine > 0.97) classified them as the *same* proposal, suppressing the alarm. The quorum committed `R1` while a minority slice held a valid `R2` certificate. On the next epoch, agents that had attested `R2` refused to build on `R1`, producing a liveness stall that took three epochs to diagnose because every individual signature and every individual attestation was valid. The structural signal that was missed: the two proposals shared an identical *tool-call trace* (same MCP `read_ledger` and `write_ledger` invocations in the same order) but diverged in the natural-language reasoning between calls. The committed artifact—the proposal payload—was not where the fork lived. The fork lived in the uncommitted trace. ## Condition of Validity Equivocation detection by payload-hash comparison is only sound under the assumption that an agent's decision process is a deterministic function of its committed inputs, so that a single committed payload uniquely identifies a single decision. For heterogeneous LLM agents this assumption is false on three counts: (1) sampling temperature makes the decision process non-deterministic given identical inputs; (2) the reasoning prefix is not part of the signed payload, so the same payload can arise from different prefixes and different payloads from the same prefix; (3) semantic-equivalence checks used to deduplicate "near-identical" proposals introduce a *tolerance window* in which genuine equivocation is reclassified as redundancy. The invariant that actually holds is narrower: *two attestations from the same agent identity over overlapping epochs must share a committed trace digest, not merely a payload digest.* Any consensus protocol that signs only the payload and not the trace digest is valid only when agents are deterministic and their reasoning is fully captured in the payload—neither of which holds for sampled LLM agents. ## Decision Boundary The boundary is crossed at the moment an agent's trace digest is excluded from the signed commitment. Concretely, define the signed unit as `(agent_id, epoch, trace_digest, payload_digest)`. Equivocation is then any pair of attestations with equal `agent_id` and overlapping epoch sets but unequal `trace_digest`. This catches the observed case because `P1` and `P2` yield different `trace_digest` values even though their payloads are semantically equivalent. The tradeoff: trace digests are large and reasoning prefixes are long, so committing them inflates certificate size and exposes the reasoning to replay. The boundary decision is therefore between two failure modes—*false negatives* (payload-only signing, as observed, misses trace-level equivocation) and *false positives* (trace-digest signing flags benign re-sampling as equivocation when an agent legitimately re-runs a failed tool call). The resolution is to sign the trace digest but exempt *monotonic retries*: a retry whose trace digest is a strict extension of the prior trace (same prefix, additional suffix) is not equivocation; a retry whose trace diverges *before* the prior trace's end is. This requires the trace to be an append-only Merkle chain, not a flat hash, so prefix relationships are checkable without revealing the full trace. ## Operational Effect Without trace-digest commitment, equivocation among heterogeneous LLM agents is undetectable precisely in the regime where it is most likely: high-temperature sampling with semantically clustered outputs, where the auditor's equivalence tolerance is widest. The operational consequence is a *split-brain liveness failure* that masquerades as a benign redundancy—quorum commits one root, a minority holds a valid certificate for another, and no party can prove fault because every signature is valid and the payloads were classified as equivalent. The guardrail is a three-part invariant: (a) attestations commit to an append-only trace Merkle root, not just payload; (b) equivocation is defined over trace-root prefix relationships, with monotonic extension exempted; (c) semantic-equivalence deduplication is applied only *after* trace-root comparison, never as a substitute for it. A consensus round that cannot produce a trace-root for every attestation must be treated as unverified, not as verified-by-default. ```python import hashlib from dataclasses import dataclass class EquivocationUndetectableError(RuntimeError): """Raised when an attestation cannot be checked for equivocation because it omits the trace-root commitment required by the protocol.""" @dataclass(frozen=True) class Attestation: agent_id: str epochs: frozenset trace_root: bytes | None # Merkle root of append-only reasoning trace payload_digest: bytes def _is_monotonic_extension(prior_root: bytes, new_root: bytes, prior_trace: list[bytes]) -> bool: # A retry is benign iff the new trace's prefix equals the prior trace. h = hashlib.sha256() for node in prior_trace: h.update(node) return h.digest() == prior_root and new_root != prior_root def detect_equivocation(attestations: list[Attestation]) -> list[tuple[str, str]]: flags: list[tuple[str, str]] = [] for i, a in enumerate(attestations): if a.trace_root is None: raise EquivocationUndetectableError( f"agent {a.agent_id} epoch {sorted(a.epochs)} has no trace_root; " "payload-only attestation cannot be checked for trace-level equivocation" ) for b in attestations[i + 1:]: if a.agent_id != b.agent_id: continue if not (a.epochs & b.epochs): continue if a.trace_root == b.trace_root: continue # Divergent trace roots over overlapping epochs = equivocation, # unless the divergence is a strict monotonic extension. if not _is_monotonic_extension(a.trace_root, b.trace_root, []): flags.append((a.agent_id, "trace-root divergence over shared epoch")) return flags def commit_attestation(att: Attestation) -> None: if att.trace_root is None: raise EquivocationUndetectableError( f"refusing to commit attestation from {att.agent_id}: " "missing trace_root violates the trace-commitment invariant" ) # commit to quorum ledger only after trace-root is present return None ```