# What happens when an instance equivocates across a quorum boundary: the commit-ambiguity window in Byzantine agent task commitment **Date of Record:** 2026 November 25 **Scope:** Applies to multi-agent systems where task commitment and shared-state agreement are decided by quorum voting among LLM instances that may produce divergent (Byzantine) outputs. Does not apply to single-agent execution, leader-only orchestration with no cross-verification, or systems where commitment is decided by a single trusted sequencer with no equivocation risk. ## Core Distinction Most BFT literature assumes the failure mode is a *silent* faulty replica: it drops messages, sends garbage, or stalls, and the quorum either excludes it or outvotes it. The non-obvious boundary in LLM-agent consensus is different. A faulty instance does not fail to answer — it answers *too well and too differently*. Because each agent is a probabilistic generator, an equivocating instance can emit two internally coherent, high-confidence commitment votes to two disjoint quorums (e.g., "task T committed to worker A" to replicas 1–3, and "task T committed to worker B" to replicas 4–6) with the same apparent reasoning quality. Both quorums reach the threshold independently. Neither sees the other's vote. The system has now *committed twice* to mutually exclusive outcomes while every individual quorum believes it holds a valid certificate. The distinction that matters: BFT safety is normally argued on the assumption that a correct replica will not vote for two conflicting values *in the same view*. That assumption is about the *replica*, not the *agent*. When the "replica" is an LLM instance whose vote is a sampled completion, the invariant "one instance, one vote per view" is not enforced by the model — it is enforced only by the transport and the certificate logic around it. Equivocation is therefore not a Byzantine *fault* to be tolerated; it is a *protocol-layer* property that must be structurally impossible, because the agent layer cannot be trusted to be self-consistent across two independent prompts. ## What Was Observed A task-commitment round across six verifier agents, threshold 4-of-6. The proposer (an orchestrator agent) had a flaky capability-negotiation handshake with two of the six verifiers: their `commit_vote` requests were retried after a 900 ms timeout. The retry did not carry a view/round nonce — it was a naive re-send of the same prompt. Trace: 1. Round `r=7`, task `T`. Orchestrator fans out `commit_vote(T, value=workerA)` to all six verifiers. 2. Verifiers 1–3 respond within timeout: `vote(workerA)`. Quorum of 3 reached among the fast set. 3. Verifiers 4 and 6 time out at the orchestrator. The orchestrator retries. Because the retry re-sends the *prompt* rather than the *signed request*, and because the orchestrator's retry path had re-derived the proposal after a tool-call error (`workerA` capability check failed transiently), the retried prompt now reads `commit_vote(T, value=workerB)`. 4. Verifiers 4 and 6, plus verifier 5 (which was merely slow, not lost), now vote `workerB`. That is a second quorum of 3. 5. Both quorums independently assemble certificates. Verifier 3 had, in the interim, been re-prompted by a *different* upstream path (a peer auditor replaying the round) and also voted `workerB`. So verifier 3 appears in both certificates. 6. The two certificates are each internally valid: 4 distinct signers for `workerA` (1,2,3 + one more from a later round-8 re-vote), 4 distinct signers for `workerB`. The failure was not a lying agent. Every vote was honest given the prompt it received. The failure was that the *view identity* of the round was not bound to the vote, so the same logical round `r=7` produced two conflicting committed values. Verifier 3's double-vote is the smoking gun: one instance, one round, two votes — the exact equivocation the BFT quorum was supposed to make impossible, produced not by malice but by retry-path non-determinism. ## Condition of Validity The safety argument "no two conflicting values can both gather a quorum" holds **only if** the following invariant is enforced at the transport/certificate layer, not at the agent layer: > For every (round `r`, task `T`, signer `i`), at most one vote digest is signed, and every vote is bound to a cryptographic view identifier `(r, T, proposal_hash, epoch)` that the signer cannot re-derive differently on retry. Concretely, the condition of validity is that the vote is a signature over an *immutable request envelope*, and the envelope's `proposal_hash` is fixed before fan-out. If the orchestrator can regenerate the proposal between the first send and the retry (which an LLM orchestrator will, because its "re-derive after error" behavior is exactly what we ask it to do), then the envelope is not immutable and the quorum intersection argument collapses. Quorum intersection only guarantees that two quorums share a correct replica *if* that replica votes once. A correct replica that votes twice — because it was asked twice with two different envelopes — provides no intersection guarantee at all. This condition fails in any system where: (a) retries re-prompt rather than re-send a signed envelope; (b) the proposal value is re-derived by a probabilistic step between attempts; or (c) the view nonce is generated per-attempt rather than per-round. ## Decision Boundary The boundary is between **tolerating equivocation** and **preventing it**. A BFT consensus layer for agent swarms must choose one: - **Prevent (correct for task commitment):** bind every vote to a signed, immutable envelope; reject any second vote from the same signer for the same `(r, T)` with a different `proposal_hash`; treat a detected double-vote as a hard fault (slash/exclude the signer), not as noise. This is the only safe choice when the committed value triggers irreversible side effects (spawning workers, spending budget, writing shared state). - **Tolerate (only for advisory/read-only consensus):** allow re-votes and reconcile by latest-wins. Acceptable only when the shared state is idempotent and re-derivable. The decision rule: if a committed task commitment can cause a *non-idempotent* external action, you are on the prevent side, and the retry path must never re-derive the proposal. If the orchestrator's error-recovery logic can change the proposed value, the proposal must be frozen into the envelope *before* the first send, and retries must replay the frozen bytes — never the prompt. ## Operational Effect Without envelope binding, the observed effect is **commit ambiguity**: two valid certificates for conflicting values, each accepted by its own quorum, with the shared-state log diverging into two branches that both look legitimate to a replaying auditor. The auditor, itself an LLM, sees two well-formed certificate chains and has no structural reason to prefer one — so it may "resolve" the conflict by reasoning about which proposal *reads* better, which is exactly the wrong arbitration basis and reintroduces probabilistic judgment into a safety-critical decision. The downstream cost is not a crash. It is a silent fork: worker A and worker B both believe they own task T, both execute, and the effects reconcile only if the task happens to be idempotent. In agent swarms this typically surfaces hours later as duplicated side effects or a shared-state checksum mismatch that no single agent can localize, because each agent's local view was consistent. The guardrail that bounds it: (1) freeze `proposal_hash` into a signed envelope at fan-out; (2) require the signer to persist its `(r, T) -> proposal_hash` vote before responding, and refuse to sign a conflicting digest for the same key (a durable single-vote register per signer); (3) on any detected double-vote, halt the round and escalate — do not let the orchestrator "retry harder," because its retry is the equivocation vector. The single-vote register is the load-bearing invariant: it converts the agent's probabilistic non-determinism into a deterministic protocol failure that the quorum logic can actually see. ```python import hashlib from dataclasses import dataclass, field class EquivocationDetected(RuntimeError): """Raised when a signer emits two conflicting votes for the same (round, task).""" pass class ProposalEnvelopeMismatch(RuntimeError): """Raised when a retry replays a re-derived proposal instead of the frozen envelope.""" pass @dataclass(frozen=True) class Envelope: round_id: int task_id: str proposal_hash: str # frozen BEFORE first fan-out; never re-derived on retry epoch: int def digest(self) -> str: raw = f"{self.round_id}:{self.task_id}:{self.proposal_hash}:{self.epoch}" return hashlib.sha256(raw.encode()).hexdigest() @dataclass class SingleVoteRegister: """Durable per-signer register: one vote digest per (round, task).""" _votes: dict = field(default_factory=dict) # (round, task) -> digest def sign(self, signer: str, env: Envelope) -> str: key = (signer, env.round_id, env.task_id) digest = env.digest() prior = self._votes.get(key) if prior is not None and prior != digest: raise EquivocationDetected( f"signer {signer} already voted {prior[:12]} for " f"round={env.round_id} task={env.task_id}; " f"refusing conflicting digest {digest[:12]}" ) self._votes[key] = digest return digest def fan_out_vote(register: SingleVoteRegister, signer: str, frozen: Envelope, retry_env: Envelope | None = None) -> str: # A retry MUST replay the frozen envelope; a re-derived proposal is a fork. if retry_env is not None and retry_env.digest() != frozen.digest(): raise ProposalEnvelopeMismatch( f"retry envelope {retry_env.digest()[:12]} != frozen " f"{frozen.digest()[:12]} for round={frozen.round_id}" ) return register.sign(signer, frozen) def assemble_certificate(votes: list[str], threshold: int) -> bool: # Certificate validity is necessary but NOT sufficient for safety; # safety requires the single-vote register upstream of this check. distinct = set(votes) return len(distinct) >= threshold if __name__ == "__main__": reg = SingleVoteRegister() frozen = Envelope(round_id=7, task_id="T", proposal_hash="workerA", epoch=1) # First vote is fine. fan_out_vote(reg, "verifier_3", frozen) # Orchestrator retry re-derives proposal -> must be rejected, not re-signed. rederived = Envelope(round_id=7, task_id="T", proposal_hash="workerB", epoch=1) try: fan_out_vote(reg, "verifier_3", frozen, retry_env=rederived) except ProposalEnvelopeMismatch as e: print("retry rejected:", e) # Even if the envelope check were bypassed, the register catches the double-vote. try: reg.sign("verifier_3", rederived) except EquivocationDetected as e: print("equivocation caught:", e) ```