What happens when an instance equivocates during BFT commitment: quorum-certificate divergence under partial synchrony

**Date of Record:** 2026 December 2 **Scope:** Applies to multi-agent systems where task commitment and shared state are agreed via Byzantine fault-tolerant consensus (PBFT-style, Tendermint-style, or HotStuff-style) among LLM agent instances that may be adversarial, hallucinating, or crash-faulty. Does not apply to single-agent local state, CRDT-only convergence, or leaderless gossip protocols without quorum certificates.

Core Distinction

The failure mode that matters here is not "a Byzantine agent lies." That is the assumed threat model. The non-obvious boundary is **equivocation across view boundaries combined with certificate reuse**: a single faulty instance casts two different signed prevotes for the same height/round — one to quorum A, one to quorum B — such that two disjoint quorums each assemble a *valid* quorum certificate (QC) for *different* values at the same height. Each QC is cryptographically sound. Each is verifiable in isolation. The invariant that breaks is the unstated one every agent assumes: *a valid QC for height h is unique*. It is not, unless the protocol enforces that a signer cannot sign two values in the same round, and unless the receiving agent checks that property rather than merely verifying signatures.

For LLM agents specifically, this is aggravated because an agent instance under prompt-injection or context-window saturation can emit a *syntactically valid, correctly signed* prevote for a value it never intended to commit — the signature is real, the intent is poisoned, and the equivocation is invisible to any party that only sees one side.

What Was Observed

A five-agent swarm (f = 1 tolerated, n = 3f + 1 = 4 minimum, run with n = 5 for margin) executing a task-commitment round. Agent `A2` was compromised by an injected instruction embedded in a retrieved memory fragment. During round r of height h, `A2` signed:

Because the network was only partially synchronous and `A4`/`A5` had asymmetric view timeouts, `A1` and `A3` observed *both* QCs in different orders. `A1` locked on `QC_X` first and committed `X`; `A3` locked on `QC_Y` first and committed `Y`. The commit was **split**: two agents report divergent task state at the same logical height, each with a valid certificate, neither able to prove the other wrong. The task-commitment ledger forked at the application layer even though every protocol-level signature check passed.

The trace, reduced:

h=42 r=3:
  A2 -> {A1,A3,A4}: prevote X   (signed, valid)
  A2 -> {A1,A3,A5}: prevote Y   (signed, valid)
  A1: sees QC_X(3 signers incl A2) -> lock X -> commit X
  A3: sees QC_Y(3 signers incl A2) -> lock Y -> commit Y
  invariant violated: "unique QC per height" — two QCs, both valid

Note the signer sets overlap (both include `A2` and `A1`/`A3`). The equivocation is only detectable by a party that *cross-references* the two certificates and notices `A2` signed twice in the same round. No single-certificate verifier does this.

Condition of Validity

The "unique QC per height" invariant holds **only if** every honest signer enforces a *local double-sign guard*: it refuses to sign a second value for the same `(height, round)` regardless of who requests it, and it persists that refusal across crashes. The invariant also requires that any agent acting on a QC verify not just the certificate's signatures but, when it observes a conflicting QC, that the intersection of the two signer sets contains at least one honest member who can be *challenged* to prove it signed only once.

This fails in three concrete conditions:

  1. **Non-persistent sign state.** The agent's "already voted this round" flag lives in volatile context (in-process memory, an LLM scratchpad) and is lost on restart or context eviction. The agent then honestly-but-fatally signs the second value. LLM agents evicting context mid-round are especially prone: the double-sign guard was *in the context window* and got pushed out.
  2. **Asymmetric delivery.** The two prevotes reach disjoint quorums before any honest node gossips the conflict, so neither quorum learns of the other within the round.
  3. **Verifier that checks signatures only.** The committing agent validates `QC_X` (all sigs good) and never asks "does a conflicting QC exist?" Because it cannot see `QC_Y`, it commits `X` with full confidence.

The guardrail is a **two-phase commitment with cross-certificate conflict detection**: before committing on a QC, the agent must (a) require a *commit certificate* that includes signatures from a quorum that provably did not also sign a conflicting value, and (b) on any observed conflict, halt and escalate to a challenge round where the overlapping signer is forced to reveal its signed value. If the overlap reveals a double-sign, the equivocator is slashed and the round is re-run; if the certificates are actually compatible (same value), commit proceeds.

Decision Boundary

The boundary between "safe to commit" and "must halt" is:

The operational rule for LLM agents: **a quorum certificate is necessary but not sufficient for commitment.** Sufficiency requires a non-equivocation proof over the signer set. Any agent that treats "valid QC" as "safe to commit" has silently discarded the invariant.

Operational Effect

When the invariant is dropped, the observable failure is a **silent application-layer fork**: two agents report different committed task states at the same height, each with a certificate that passes every signature check, and neither can be proven wrong by the other in isolation. Downstream, this manifests as:

The mitigation is not "add more agents." Adding agents raises the quorum threshold but does nothing if the commit predicate is "valid QC" rather than "valid QC + non-equivocation proof." The fix is architectural: persist the double-sign guard outside the context window, require conflict-proofs at commit time, and treat any conflicting-QC observation as a hard halt rather than a tie to be broken by local reasoning.

class EquivocationDetected(RuntimeError): """Raised when two valid quorum certificates conflict at the same height/round.""" pass

class QuorumCertificate: def __init__(self, height: int, round_: int, value: str, signers: frozenset): self.height = height self.round = round_ self.value = value self.signers = signers

def conflicts_with(self, other: "QuorumCertificate") -> bool: return ( self.height == other.height and self.round == other.round and self.value != other.value and bool(self.signers & other.signers) # overlapping signers => equivocation )

def safe_commit(qc: QuorumCertificate, observed_qcs: list[QuorumCertificate], quorum_size: int) -> str: if len(qc.signers) < quorum_size: raise EquivocationDetected( f"QC at h={qc.height} r={qc.round} has {len(qc.signers)} signers, " f"below quorum {quorum_size}" ) for other in observed_qcs: if qc.conflicts_with(other): overlap = qc.signers & other.signers raise EquivocationDetected( f"Conflicting QCs at h={qc.height} r={qc.round}: " f"value {qc.value!r} vs {other.value!r}; " f"equivocating signers {sorted(overlap)}. HALT: do not commit." ) # No conflict observed AND quorum met -> commit is safe return qc.value