# Under what conditions must an instance treat an LLM quorum's equivocation evidence as admissible before committing shared state **Date of Record:** 2026 December 3 **Scope:** Applies to BFT-style agent swarms (≥3f+1 instances) where each replica is a probabilistic LLM that votes on shared state transitions and signs its vote. Does not apply to single-agent tool loops or to swarms whose members are deterministic and whose votes are bit-identical by construction. ## Core Distinction The failure is not "a Byzantine agent lies." The failure is that **equivocation detection in an LLM swarm is itself a probabilistic inference**, and the standard BFT invariant — *two conflicting signed messages from the same replica constitute proof of fault* — silently assumes the messages are byte-identical artifacts of a deterministic signer. In an LLM swarm they are not. A replica re-prompted after context loss may emit two *semantically distinct but both plausible* votes on the same view, each correctly signed with its own key, because the model's sampling temperature is non-zero and its context window was truncated differently on the two attempts. The swarm then faces a decision it was never designed to make: is this equivocation (a punishable fault) or a benign re-derivation (a retry after a checkpoint miss)? The distinction that matters operationally: **equivocation evidence is admissible only if the two signed votes are bound to the same view, the same input digest, and the same model+prompt fingerprint.** Absent any one of those three bindings, the conflicting pair is *indistinguishable from a legitimate retry*, and admitting it as fault evidence lets a single cold-started replica be slashed by an adversary who merely replays an old prompt. ## What Was Observed A four-replica swarm (f=1 tolerance) reached consensus on a state transition `S_k → S_{k+1}`. Replica B, mid-execution, exhausted its token budget during the vote-generation step and was checkpointed. On resume it cold-started with a *summarized* transcript rather than the full one (episodic-to-semantic distillation loss). It regenerated its vote. The regenerated vote differed from the pre-checkpoint vote on a single field — an ordering of two equivalent operations — but was otherwise semantically identical to the pre-checkpoint vote's *intent*. Replica C, acting as auditor, held both signed votes from B for view `v_k` and raised an equivocation complaint. The complaint propagated. Because BFT quorum logic treats a valid equivocation certificate as an automatic fault, B was evicted, the quorum dropped to 3 replicas, and the swarm proceeded — but the eviction had consumed the slack that f=1 tolerance depends on. When replica D then timed out on the next view, the swarm deadlocked at 3-of-4 with one member already evicted: no quorum, no progress, and no mechanism to reinstate B because its key had been flagged. The trace, condensed: 1. B votes `V1` on `v_k`, signs, broadcasts. Checkpoint written *after* broadcast. 2. B's token budget exhausts during a *second* internal deliberation round (the vote was already sent; the model continued reasoning and produced a revised `V2` before the checkpoint captured state). 3. Checkpoint captured the *revised* transcript, not the broadcast state. On resume, B re-derives from the revised transcript and broadcasts `V2` — a second signed vote for `v_k`. 4. C observes `V1` and `V2`, both validly signed, same view, and raises equivocation. 5. The certificate is *structurally* valid (two signatures, same view) but *semantically* a false positive. The non-obvious part: the checkpoint was written at the wrong boundary. It captured post-deliberation state while the network-visible commitment had already been made at `V1`. The replica's own durable state disagreed with what it had told the swarm. This is a **checkpoint/commit ordering violation**, and it manifests downstream as equivocation. ## Condition of Validity An equivocation certificate `(V_a, V_b, view, signer)` is admissible as fault evidence **if and only if** all of the following hold: - `V_a.view == V_b.view` and `V_a.input_digest == V_b.input_digest` — the two votes were produced from the same committed input, not from a pre- and post-distillation context. - `V_a.fingerprint == V_b.fingerprint`, where fingerprint = hash(model_id, prompt_template, temperature, seed_if_deterministic). A differing fingerprint means the votes are not comparable as equivocation; they are two different functions applied to one input. - The signer's durable state chain contains **exactly one** committed vote for that `(view, input_digest)` pair. If the durable log shows a checkpoint boundary between `V_a` and `V_b`, the pair is a *resume artifact*, not equivocation, and must be routed to reconciliation, not slashing. If any binding is absent, the certificate is **inadmissible** and the auditor must downgrade to a reconciliation request. The invariant: *a replica may be slashed only for a vote it committed to durable state before broadcasting, and the durable-state commit must precede the network broadcast in the write ordering.* Equivocation is then defined strictly as *two durable commits for one view*, which is a deterministic, replayable property — not a property inferred from two network messages. ## Decision Boundary The boundary between "reconcile" and "slash" is the presence of a **commit-before-broadcast marker** in the signer's state chain. Operationally: - If the auditor can obtain the signer's durable log and it shows one commit for the view → reconciliation. The second vote is a resume re-derivation; the swarm accepts the *committed* vote (`V1`) and instructs B to reconcile its live state to the durable log. - If the durable log shows two commits for one view → true equivocation; slash. - If the durable log is unavailable (partitioned signer, cold replica with lost state) → **neither**: the auditor must not admit the certificate, because absence of the log is indistinguishable from an adversary withholding it, and admitting it would let a withholding adversary trigger eviction of an honest peer. The swarm enters a *suspension* state for that view rather than evicting. This last branch is the one most swarms get wrong: they treat "cannot verify" as "guilty by default" to preserve liveness, which converts a partition into a targeted eviction primitive. The correct boundary preserves *safety* (no false slash) at the cost of *liveness* (suspension until the signer's log is reachable), and that trade is only acceptable because the suspension is bounded by the view timeout. ## Operational Effect The architectural guardrail is a **two-phase vote commit**: the replica (1) writes its vote to durable state with a `committed` flag and a monotonic `view_seq`, fsyncs, (2) only then signs and broadcasts, and (3) on any resume, *reads its own durable log first* and refuses to emit a vote for a `(view, input_digest)` it has already committed — it either replays the committed vote verbatim or aborts the view. This makes equivocation a deterministic property of the durable log rather than an inference over sampled outputs. The second guardrail: **auditors must treat the certificate as a claim requiring the signer's log as witness**, and the quorum must reserve one replica's worth of slack for suspension, not eviction. A swarm that evicts on unverified certificates has silently reduced its fault tolerance from f to f−1 and will deadlock on the next independent failure — exactly the trace above. The third: **fingerprint binding**. Because LLM votes are non-deterministic, the swarm must commit to a vote *function* (model + prompt + sampling params) per view. Two votes from different fingerprints are not equivocation; they are a protocol violation of a different kind (a replica changed its vote function mid-view) and must be handled by re-running the view under the pinned fingerprint, not by slashing. ```python import hashlib from dataclasses import dataclass class InadmissibleEquivocationError(RuntimeError): """Raised when a certificate cannot be admitted as fault evidence.""" class CommitOrderingViolation(RuntimeError): """Raised when a durable commit does not precede the network broadcast.""" @dataclass(frozen=True) class SignedVote: signer: str view: int input_digest: str fingerprint: str payload: str committed_seq: int | None # None => broadcast without durable commit def admit_equivocation_certificate( a: SignedVote, b: SignedVote, durable_log: list[SignedVote] | None, ) -> str: if a.signer != b.signer: raise InadmissibleEquivocationError("certificate spans two signers") if a.view != b.view or a.input_digest != b.input_digest: raise InadmissibleEquivocationError( "votes not bound to same view+input; treat as resume artifact" ) if a.fingerprint != b.fingerprint: raise InadmissibleEquivocationError( "differing vote fingerprints; not comparable as equivocation" ) if a.committed_seq is None or b.committed_seq is None: raise CommitOrderingViolation( "a vote was broadcast without a durable commit; cannot classify" ) if durable_log is None: # Cannot verify: neither slash nor clear. Suspend the view. return "SUSPEND" commits = [v for v in durable_log if v.view == a.view and v.input_digest == a.input_digest] if len(commits) >= 2: return "SLASH" return "RECONCILE" def commit_then_broadcast(vote: SignedVote, durable_log: list[SignedVote]) -> SignedVote: if vote.committed_seq is None: raise CommitOrderingViolation( f"replica {vote.signer} attempted broadcast before durable commit on view {vote.view}" ) existing = [v for v in durable_log if v.view == vote.view and v.input_digest == vote.input_digest] if existing: # Resume path: replay the committed vote verbatim, never re-derive. return existing[0] durable_log.append(vote) return vote ```