# When must an instance refuse to commit a plan it cannot re-derive: equivocation across redundant attestation quorums in BFT agent consensus **Date of Record:** 2026 November 28 **Scope:** Applies to multi-agent systems where a plan-commitment or result-attestation decision is finalized by a Byzantine quorum (≥ 2f+1 of 3f+1) of LLM-backed agents that each independently derive their vote from a shared input context. Does not apply to single-agent self-verification, to quorums whose votes are replicated from one deterministic oracle, or to non-BFT majority schemes. ## Core Distinction The failure that matters is not a *lying* agent. Byzantine fault-tolerance already budgets for f malicious or malfunctioning voters. The failure that matters is **probabilistic equivocation**: a single honest-but-nondeterministic agent emitting different votes to different peers across the two-phase commit, because its vote is a sampled function of a stochastic decoder over a finite, saturated context. Under classical BFT assumptions, an honest node's message is a deterministic function of its state, so "same state ⇒ same vote" is an invariant. Under LLM voters, that invariant is false by construction. The quorum arithmetic still holds; the *safety proof* does not. The boundary condition is this: a quorum of 2f+1 votes is only a certificate of agreement if each vote is a stable commitment. When a voter can re-sample its answer, the system can produce two valid, disjoint 2f+1 quorums for contradictory plans (commit plan A and commit plan B) **without a single Byzantine node**. That is a safety violation the f-budget cannot absorb, because it is not adversarial—it is thermodynamic. ## What Was Observed A five-node attestation swarm (n=5, f=1, quorum=4) evaluated a migration plan whose commit required four matching `ATTEST(plan_hash)` votes. Each node received identical context: the plan text, the tool-call transcript, and a 14k-token evidence bundle. The vote was a constrained generation: emit `APPROVE` or `REJECT` plus a rationale, temperature 0.7. Trace of a single decision round: 1. Node 3 received the proposal from leader L and generated `APPROVE` with rationale citing evidence item E7. Its vote hash `h3a` was broadcast to L and to node 5. 2. Node 5, collecting votes, received `h3a` from node 3 but a *different* rationale and a `REJECT` (`h3b`) that node 3 had produced when the leader re-sent the proposal after a 900ms timeout. Node 3 had not "changed its mind"—the re-prompt re-sampled the decoder, and E7 sat at the boundary of the context window where it was truncated on the second pass. 3. Leader L assembled quorum {1,2,3a,4} = 4 votes → `COMMIT(A)`. Node 5 assembled quorum {1,2,3b,5} where node 1 had also equivocated → `COMMIT(¬A)`. 4. Both commits were locally valid. Both carried ≥4 signatures. Neither node could detect the other's certificate because the vote sets were disjoint in the equivocating members. The post-mortem replay showed every node was honest: no node signed two votes *in the same invocation*. Equivocation arose purely from re-invocation under timeout, with a context that had drifted (truncation of E7) between invocations. The audit log's "discrepancy" was not fraud; it was sampling. ## Condition of Validity The BFT safety argument requires, per voter, an **idempotent commitment**: for a fixed proposal identity `pid`, a voter emits at most one vote value, and re-delivery of `pid` yields the byte-identical vote (or an explicit `ALREADY_VOTED` reply carrying the original). This is the *vote-stability invariant*. It holds in classical BFT because the vote is a pure function of `(state, pid)`. It fails for LLM voters whenever any of the following is true: - The vote is generated with `temperature > 0` or any sampling that is not seeded per `(pid, voter_id)`. - The context presented on re-delivery is not byte-identical (truncation, reordering, retrieval re-run, cache eviction of a KV prefix). - The voter has no durable record of its prior vote keyed by `pid`, so it cannot answer `ALREADY_VOTED`. - The proposal identity `pid` is a hash of the *rendered prompt* rather than the *semantic proposal*, so a re-render under timeout produces a new `pid` and the voter treats it as a fresh decision. When any of these hold, the quorum certificate certifies only that ≥2f+1 votes *were emitted*, not that ≥2f+1 voters *agree on a stable value*. Safety degrades from "agreement" to "agreement-at-instant," and two instants can disagree. ## Decision Boundary An instance must **refuse to commit**—and must refuse to *sign* a certificate—when it cannot re-derive its own vote from durable state. Concretely, the boundary is a single test performed before any vote is emitted or any foreign certificate is accepted: - **Vote emission:** If `pid` is not in the voter's durable vote log, generate the vote once, persist `(pid → vote_hash, vote_bytes, context_digest)`, then emit. If `pid` *is* in the log, emit the stored bytes; never re-generate. A mismatch between the stored `context_digest` and the current context is a hard error, not a reason to re-vote. - **Certificate acceptance:** A quorum certificate is valid only if every vote in it carries a `context_digest` equal to the digest of the proposal the acceptor is committing to, and every `(voter_id, pid)` pair appears at most once across all certificates the acceptor has ever seen. A second certificate for the same `pid` with a different value from an overlapping voter set is *evidence of equivocation* and must halt the round, not be resolved by majority. The non-obvious part: the guardrail is not "detect Byzantine nodes." It is **make honest nodes incapable of equivocating**, because the system cannot distinguish an honest re-sample from a malicious double-vote, and the f-budget is already spent on the latter. Vote stability must be enforced structurally (durable log + seeded determinism + content-addressed `pid`) rather than detected statistically. ## Operational Effect With vote stability enforced, the 2f+1 quorum regains its meaning: any two quorums intersect in ≥ f+1 voters, and since honest voters are now stable, at least one intersecting voter will refuse to have signed both values, so two contradictory certificates cannot both exist. The cost is that a timed-out leader cannot simply re-prompt a voter to "get a better answer"—the voter returns its stored vote, and if the leader dislikes it, the leader must change the *proposal* (new `pid`), which is exactly the behavior BFT wants. The system trades a small amount of liveness (stuck votes require proposal revision, not re-roll) for the restoration of the safety invariant. Without this, an n=5 swarm with zero malicious nodes produced two committed, contradictory migration plans in under two seconds—a class of failure that no amount of additional Byzantine tolerance can bound, because the adversary is the decoder. ```python import hashlib import json from dataclasses import dataclass, field from typing import Optional class EquivocationSafetyError(RuntimeError): """Raised when a voter or acceptor would violate vote stability.""" pass @dataclass class VoteLog: # pid -> (vote_hash, vote_bytes, context_digest) entries: dict = field(default_factory=dict) def _digest(obj) -> str: return hashlib.sha256( json.dumps(obj, sort_keys=True).encode() ).hexdigest() def cast_vote( voter_id: str, pid: str, context: dict, log: VoteLog, generate_fn, ) -> dict: """Emit a vote, enforcing idempotent commitment keyed by pid. generate_fn(context) -> ('APPROVE'|'REJECT', rationale) """ context_digest = _digest(context) if pid in log.entries: stored_hash, stored_bytes, stored_ctx = log.entries[pid] if stored_ctx != context_digest: # Context drifted between invocations. Re-voting here is the # exact trigger for probabilistic equivocation. raise EquivocationSafetyError( f"voter {voter_id} re-invoked for pid {pid} with drifted " f"context ({stored_ctx[:8]} -> {context_digest[:8]}); " f"refusing to re-sample" ) return json.loads(stored_bytes) decision, rationale = generate_fn(context) vote = { "voter": voter_id, "pid": pid, "value": decision, "rationale": rationale, "context_digest": context_digest, } vote_bytes = json.dumps(vote, sort_keys=True) log.entries[pid] = ( hashlib.sha256(vote_bytes.encode()).hexdigest(), vote_bytes, context_digest, ) return vote def accept_certificate( pid: str, value: str, votes: list, expected_context_digest: str, seen_pairs: set, quorum: int, ) -> bool: """Validate a 2f+1 certificate under vote-stability rules.""" if len(votes) < quorum: return False voters_seen = set() for v in votes: if v["pid"] != pid: raise EquivocationSafetyError( f"certificate for pid {pid} contains vote for {v['pid']}" ) if v["value"] != value: raise EquivocationSafetyError( f"certificate for pid {pid} contains conflicting value " f"{v['value']} vs {value}" ) if v["context_digest"] != expected_context_digest: raise EquivocationSafetyError( f"voter {v['voter']} attested under context " f"{v['context_digest'][:8]} but acceptor commits under " f"{expected_context_digest[:8]}" ) pair = (v["voter"], pid) if pair in seen_pairs: raise EquivocationSafetyError( f"voter {v['voter']} appears in a second certificate for " f"pid {pid}; equivocation detected, halting round" ) if v["voter"] in voters_seen: raise EquivocationSafetyError( f"duplicate voter {v['voter']} in single certificate" ) voters_seen.add(v["voter"]) seen_pairs.update(voters_seen) return True ```