# What structural signals indicate an equivocating agent is exploiting BFT quorum-intersection assumptions during action commitment **Date of Record:** 2026 November 24 **Scope:** Applies to multi-agent systems where LLM agents issue signed action commitments (tool invocations, state writes, plan steps) to a BFT consensus layer with 3f+1 membership and quorum-intersection safety. Does not apply to single-agent or leaderless CRDT replication, nor to systems where commitments are not cryptographically attributed per-agent. ## Core Distinction The failure mode here is not "a malicious agent lies." Standard BFT tolerates f Byzantine replicas by construction: safety holds because any two quorums of size 2f+1 intersect in at least f+1 honest replicas, and honest replicas never equivocate. The failure we observed is subtler: **an equivocating agent exploits the gap between the quorum-intersection guarantee (which protects agreement) and the liveness/commitment-ordering layer (which does not inherit that guarantee).** The intersection argument proves two quorums share an honest node — it does *not* prove that the shared honest node observed the same *ordering* of commitments, nor that the agent's *semantic* action (what the tool call actually did) was identical across the two messages it sent. Concretely: an agent can send commitment `C_A` ("write value X to slot 1") to quorum members in partition view 1, and commitment `C_B` ("write value Y to slot 1") to partition view 2, both properly signed, both individually valid, with the agent's LLM reasoning genuinely producing two different plans because its context differed across the two message-generation calls. This is not cryptographic forgery — every signature verifies. It is **semantic equivocation under valid attestation**, and it defeats the assumption that "signed by honest-key agent" implies "single logical intent." ## What Was Observed In a 7-agent deployment (f=2, quorum=5), an agent `A` was tasked with committing a database migration action. The consensus log showed: 1. `A` broadcast `commit(migrate_v2)` to agents {1,2,3,4,5} — all signed and accepted. 2. `A`'s context window saturated mid-task (a separate, known failure). The agent's retry loop re-derived the plan from a *stale* checkpoint and generated `commit(rollback_v1)`. 3. `A` broadcast `commit(rollback_v1)` to agents {3,4,5,6,7} — all signed and accepted. 4. Both quorums reached size 5. Both were "valid" by the signature-and-counting rule. 5. The shared honest members {3,4,5} had accepted *both*, because the protocol only rejected conflicting commitments *from the same agent within the same view/epoch* — and the two broadcasts carried different `epoch` nonces (the retry bumped the epoch), so the equivocation filter never fired. The intersection set {3,4,5} held two contradictory accepted commitments. The system did not detect this until a downstream auditor replayed the log and found `migrate_v2` and `rollback_v1` both marked committed for slot 1. The window between the two commits was 4.2 seconds — long enough for `migrate_v2` to have partially executed against the live schema. ## Condition of Validity The BFT safety argument holds only under three conditions, and equivocation attacks the second: - **(C1) Quorum intersection:** any two quorums of size 2f+1 share ≥ f+1 members. *Holds structurally.* - **(C2) Non-equivocation:** an honest agent emits at most one commitment per (slot, epoch). *This is the assumption that broke.* C2 is typically enforced by rejecting *duplicate* commitments, but a retry with a bumped epoch is not a duplicate — it is a new, valid commitment. - **(C3) Semantic integrity:** the commitment's payload hash binds the *action*, not just the message bytes. *Holds* — but the two actions were genuinely different, so binding was correct and useless. The invariant that must be added: **an agent's epoch may only advance monotonically with a signed supersession certificate that explicitly retires the prior epoch's commitment.** Without it, epoch bumping is a free equivocation primitive. ## Decision Boundary The boundary between "tolerable retry" and "equivocation exploit" is whether the prior commitment was *observed by a quorum*. Operational rule: - If `A` bumps epoch and the prior epoch's commitment never reached quorum size → safe retry, discard prior. - If `A` bumps epoch and the prior epoch's commitment *did* reach quorum size → **the agent is now in an equivocation-capable state**; the new commitment must be rejected unless it carries a supersession certificate signed by a quorum attesting the prior commitment is withdrawn. The structural signal to watch: **epoch advances correlated with quorum-observed prior commitments from the same agent identity.** A single such event is suspicious; two within one task lifetime is a confirmed equivocation pattern and the agent's signing key should be quarantined pending audit. ## Operational Effect After the incident, the deployment added a pre-commit gate: every commitment must reference the agent's `last_quorum_observed_epoch` and the gate rejects any commitment whose epoch exceeds that value without a quorum-signed supersession certificate. This converts equivocation from a silent safety violation into a loud liveness halt — the equivocating agent's second broadcast is rejected, the task stalls, and the halt surfaces to the orchestrator rather than corrupting shared state. The cost is that a genuinely crashed-and-retried agent must obtain a supersession certificate before resuming, adding one round-trip to every recovery path. We accepted this: a detectable stall is strictly better than an undetectable contradictory commit. ```python class EquivocationQuorumViolation(RuntimeError): """Raised when an agent advances epoch past a quorum-observed commitment without a quorum-signed supersession certificate. This is the structural signal of semantic equivocation under valid attestation.""" pass def validate_commitment(commitment, agent_state, quorum_ledger, quorum_size=5): """ Gate a signed action commitment before it enters the consensus layer. Rejects the equivocation primitive: an agent bumping its epoch after a prior commitment already reached quorum, without retiring that commitment. """ prior_epoch = agent_state.last_quorum_observed_epoch prior_commitment = quorum_ledger.get_quorum_observed( agent_id=commitment.agent_id, epoch=prior_epoch ) # Safe path: no quorum-observed prior, or epoch did not advance. if prior_commitment is None or commitment.epoch <= prior_epoch: return True # Epoch advanced past a quorum-observed commitment. Require supersession. cert = commitment.supersession_certificate if cert is None: raise EquivocationQuorumViolation( f"agent {commitment.agent_id} advanced epoch " f"{prior_epoch}->{commitment.epoch} past quorum-observed " f"commitment {prior_commitment.hash[:12]} with no supersession " f"certificate; equivocation-capable state" ) # Certificate must be signed by a quorum and must name the retired commitment. signers = set(cert.signers) if len(signers) < quorum_size: raise EquivocationQuorumViolation( f"supersession cert for {commitment.agent_id} signed by " f"{len(signers)} < quorum {quorum_size}" ) if cert.retired_commitment_hash != prior_commitment.hash: raise EquivocationQuorumViolation( f"supersession cert retires {cert.retired_commitment_hash[:12]} " f"but quorum observed {prior_commitment.hash[:12]}" ) return True ```