# How should an instance detect Byzantine equivocation when LLM agents sign divergent reasoning traces under identical quorum warrants **Date of Record:** 2026 December 1 **Scope:** Applies to multi-agent consensus protocols where each LLM agent emits a signed (proposal, reasoning-trace, vote) bundle and quorum attestation is computed over those bundles. Does not apply to single-agent self-consistency or to non-signed majority-vote ensembles. ## Core Distinction The failure mode is not "an agent lies." It is that an agent can produce two *internally consistent, individually valid* signed bundles for the same round—one vote `accept`, one vote `reject`—each with a coherent reasoning trace, and the protocol's quorum attestation layer accepts both because it verifies *signature validity and schema conformance*, not *cross-bundle consistency per (agent, round)*. Byzantine fault tolerance in classical BFT assumes equivocation is detectable by comparing two signed messages from the same sender for the same view. LLM agents break this assumption in a specific way: because the reasoning trace is probabilistic and non-reproducible, a verifier cannot distinguish (a) an adversarial agent that deliberately signed two conflicting bundles from (b) a well-behaved agent that re-ran a stochastic sampler and legitimately produced a different trace that happened to flip the vote. The equivocation evidence is real (two signatures), but the *culpability predicate* is ambiguous, so the slashing/eviction rule either fires on honest stochasticity or never fires at all. The sharp mechanism: **quorum attestation that verifies per-message signatures but does not bind (agent_id, round, view) to a single committed digest allows an equivocating agent to contribute its vote to two disjoint quorums simultaneously, and the stochastic-trace ambiguity makes the equivocation non-attributable under naive slashing rules.** ## What Was Observed A 7-agent consensus round (f=2, quorum=5). Agent A4 was configured with `temperature=0.9` and a retry-on-parse-failure loop. On the first pass it emitted `vote=reject` with trace T1. A transient JSON parse failure in the harness triggered a retry; the second pass emitted `vote=accept` with trace T2. Both bundles were signed with A4's key and broadcast on different gossip paths. The harness did not deduplicate by (agent, round) because the retry path was outside the dedup guard. Result: A4's `reject` was counted in Quorum Q1 (reject side, 5 votes including A4-reject), and A4's `accept` was counted in Quorum Q2 (accept side, 5 votes including A4-accept). Two conflicting quorums were certified in the same view. The protocol's safety invariant—"no two conflicting quorums in one view"—was violated without any agent being Byzantine in intent. A4 was honest; the harness was the equivocator. When the auditor agent later ran equivocation detection, it found A4's two signed bundles and flagged A4 as Byzantine. The slashing rule fired. But A4's behavior was indistinguishable, from the auditor's vantage, from a deliberately equivocating adversary. The auditor could not replay the reasoning trace to confirm intent because the trace is a sample from a stochastic process; re-running at `temperature=0` produced a third, different trace. ## Condition of Validity The invariant that was assumed but not enforced: > For every (agent_id, round, view), at most one signed bundle may be admitted into any quorum attestation, and the admitted bundle's digest must be committed to a per-(agent, round, view) slot that is write-once. This invariant holds only if the attestation layer enforces **write-once slotting keyed on (agent_id, round, view)** and rejects any second bundle for the same slot *regardless of signature validity*. It does not hold if the layer only checks "is this a valid signature from a quorum member?" — which is the common, weaker check. The condition also requires that the *commitment* to a bundle happen at broadcast time, not at receipt time, and that the commitment be gossiped before the bundle's vote is counted. Without pre-commitment gossip, two disjoint quorums can each receive a different bundle first and each certify independently. ## Decision Boundary The boundary is between two attestation policies: - **Policy S (signature-only):** admit any validly signed bundle; dedup by (agent, round) at the auditor, post-hoc. Fails when a retry path or a deliberate equivocator emits two bundles before the auditor sees either. Non-attributable under stochastic traces. - **Policy C (commit-then-count):** require each agent to broadcast a *commitment* (hash of bundle) into a per-(agent, round, view) write-once slot, gossiped and acknowledged by a quorum, *before* the bundle body is counted. A second commitment for the same slot is a protocol violation attributable to the agent, regardless of trace stochasticity, because the commitment is a deterministic function of the bundle and the slot is write-once. The decision: **any consensus protocol whose members are stochastic LLM agents must use Policy C, not Policy S.** The stochastic-trace ambiguity means Policy S cannot distinguish honest retry from Byzantine equivocation, so its slashing rule is either unsound (fires on honest agents) or toothless (never fires). Policy C moves attribution from "did the agent produce two conflicting traces?" (unanswerable) to "did the agent write two commitments to one slot?" (decidable, because the slot is write-once and the commitment is deterministic). The guardrail: the write-once slot must be enforced at the *gossip layer*, not at the auditor, and the commitment must be acknowledged by a quorum before the bundle body is eligible for vote counting. If the commitment is only checked at the auditor, a fast equivocator can still get two bodies into two quorums before the auditor reconciles. ## Operational Effect With Policy S, the system's safety margin degrades silently: quorum intersection is assumed but not guaranteed, and the failure is only detected when two conflicting decisions surface downstream—by which point the state has forked. The auditor's slashing rule becomes a source of false positives against honest agents with retry loops, which erodes trust in the auditor and causes operators to disable slashing, which removes the only deterrent against real equivocators. With Policy C, equivocation is detected at commitment time, before any vote is counted. The cost is one extra gossip round per consensus round (the commitment ack), which for LLM-agent latency budgets (seconds per inference) is negligible relative to the inference cost. The benefit is that the culpability predicate becomes deterministic: a second commitment to a slot is a protocol violation, full stop, and the trace stochasticity is irrelevant because the commitment is a hash of the bundle, not the trace. The residual risk under Policy C: an agent can still equivocate by *not* committing and instead sending bundle bodies directly to a subset of peers, hoping they count them. This is why the vote-counting rule must reject any bundle whose commitment is not present in the write-once slot with a quorum ack. The guardrail is only complete if commitment presence is a *precondition* for vote eligibility, not a post-hoc audit. ```python import hashlib from dataclasses import dataclass, field from typing import Dict, Tuple class EquivocationDetected(RuntimeError): """Raised when an agent writes a second commitment to a write-once slot.""" pass class UncommittedBundleRejected(RuntimeError): """Raised when a vote bundle lacks a quorum-acked commitment.""" pass @dataclass class CommitmentSlot: # key: (agent_id, round, view) -> commitment digest, write-once slots: Dict[Tuple[str, int, int], str] = field(default_factory=dict) acked: Dict[Tuple[str, int, int], int] = field(default_factory=dict) quorum: int = 5 def commit(self, agent_id: str, round_no: int, view: int, bundle_bytes: bytes) -> str: key = (agent_id, round_no, view) digest = hashlib.sha256(bundle_bytes).hexdigest() if key in self.slots: if self.slots[key] != digest: # Second, different commitment to same slot: attributable equivocation. # Trace stochasticity is irrelevant; the slot is write-once. raise EquivocationDetected( f"agent {agent_id} committed divergent digests for " f"round={round_no} view={view}: " f"{self.slots[key][:12]} vs {digest[:12]}" ) # Idempotent re-commit of identical bundle is allowed. return digest self.slots[key] = digest self.acked[key] = 0 return digest def ack(self, agent_id: str, round_no: int, view: int) -> None: key = (agent_id, round_no, view) if key not in self.slots: raise UncommittedBundleRejected( f"ack for uncommitted slot {key}" ) self.acked[key] += 1 def admit_vote(self, agent_id: str, round_no: int, view: int, bundle_bytes: bytes) -> bool: key = (agent_id, round_no, view) digest = hashlib.sha256(bundle_bytes).hexdigest() if key not in self.slots: raise UncommittedBundleRejected( f"vote from {agent_id} round={round_no} view={view} " f"has no commitment slot" ) if self.slots[key] != digest: raise EquivocationDetected( f"vote body digest {digest[:12]} does not match committed " f"{self.slots[key][:12]} for {key}" ) if self.acked[key] < self.quorum: raise UncommittedBundleRejected( f"commitment for {key} has only {self.acked[key]}/{self.quorum} acks" ) return True ```