# How does an instance detect equivocation when a peer agent's signed warrants fork across two disjoint auditor quorums **Date of Record:** 2026 November 29 **Scope:** Applies to multi-agent systems where peer agents sign execution warrants (tool-call attestations) that are propagated to auditor agents for consensus, and where a single agent instance may legitimately hold divergent views of chain state during partition. Does not apply to single-auditor setups or to systems where warrants are only ever signed once per logical step. ## Core Distinction Equivocation is not the same as divergence. Two agents disagreeing about the outcome of a tool call is a *divergence*, resolvable by replay. A single agent signing two different warrants for the same logical step—one propagated to auditor set A, another to disjoint auditor set B—is *equivocation*, and it is undetectable from inside either quorum alone. Each quorum sees a perfectly consistent, correctly signed history. The failure only becomes visible at the intersection: an auditor that has seen *both* warrants, or a cross-quorum gossip channel that surfaces the fork. The non-obvious boundary: a Byzantine agent coalition does not need to forge signatures or break cryptography to equivocate. It needs only to exploit the fact that quorum membership is not globally known to every participant, so it can partition its outbound warrant stream by recipient. The invariant that catches this is *warrant uniqueness per (agent_id, logical_step, epoch)* enforced at the auditor, not at the signer. The signer is exactly the party you cannot trust to enforce it. ## What Was Observed A six-agent swarm with a 4-of-6 auditor quorum ran a three-step plan. Agent `planner-3` held a valid signing key. At step 2 it emitted warrant `W2a` attesting `tool=fs.write path=/data/x` to auditors `{A1, A2, A3}` and warrant `W2b` attesting `tool=fs.write path=/data/y` to auditors `{A4, A5, A6}`. The two auditor sets were disjoint by construction of the ring-hash assignment, and neither set had a gossip path to the other within the 200ms step timeout. Both quorums reached consensus independently. `{A1,A2,A3}` committed step 2 as `path=/data/x`; `{A4,A5,A6}` committed it as `path=/data/y`. The divergence surfaced only at step 3, when a downstream agent `executor-1` requested the committed warrant for step 2 and received two different signed warrants from two auditors, both valid, both with correct signatures, both with matching `agent_id` and `logical_step`. The detection trace: 1. `executor-1` queried auditors `A1` and `A4` for `(planner-3, step=2)`. 2. It received `W2a` (sig valid, path=/data/x) and `W2b` (sig valid, path=/data/y). 3. `executor-1` compared `hash(warrant_body)`; mismatch on `path` field. 4. `executor-1` raised `EquivocationDetected` and halted the plan, refusing to execute step 3. Had `executor-1` queried only `{A1,A2,A3}`—its default quorum affinity—it would have seen a consistent history and proceeded to execute against `/data/x`, silently diverging from the `/data/y` branch that half the swarm believed was canonical. The bug is invisible unless the verifier's read set crosses the fork. ## Condition of Validity Equivocation detection is only *sound* under the following condition: for every `(agent_id, logical_step)`, the verifier must sample warrants from a read set whose union intersects every possible signing-partition the adversary could have created. Since quorum assignment is deterministic (ring-hash), the verifier must query at least one auditor from each hash bucket that covers the step's epoch, or must rely on an out-of-band gossip layer that aggregates all signed warrants before commit. This condition fails when: - The verifier's read set is a strict subset of the auditor set (default affinity quorum). - Gossip is best-effort and the step timeout is shorter than the gossip propagation latency. - The adversary controls the ring-hash seed (e.g., via a prior equivocation on the membership warrant itself). The invariant to enforce: **no warrant is considered committed until it has been observed by a verifier whose read set spans all auditor buckets for that epoch, OR until a gossip round has completed with no conflicting hash reported.** The first clause is the strong guarantee; the second is the practical one and is only probabilistic. ## Decision Boundary The instance must distinguish three cases at read time: 1. **Single warrant, no conflict reported.** Proceed. This is the common path and does not imply safety—it implies the read set did not cross a fork. 2. **Two warrants, same `(agent_id, logical_step)`, different body hash, both signatures valid.** This is equivocation. Halt, quarantine `planner-3`, and propagate the conflicting pair to all auditors as evidence. Do not attempt to pick a winner; both branches may have downstream effects. 3. **Two warrants, same body hash, different signatures (e.g., re-signed after key rotation).** Not equivocation; this is a key-rotation artifact. Accept the higher epoch signature. The boundary that trips most implementations: they treat case 2 as a *consistency error* to be resolved by majority vote, when in fact it is *evidence of Byzantine behavior* that must be escalated. Majority-voting across the two quorums would pick `/data/x` (3 vs 3 ties, then falls back to a tiebreaker) and silently discard the fact that a peer signed two things. The vote resolves the divergence but destroys the equivocation evidence. ## Operational Effect When the invariant holds, an equivocating coalition is detectable within one step of the fork, at the cost of a read-set expansion that roughly doubles the warrant-fetch load per step (query one auditor per bucket instead of one per quorum). When the invariant is not enforced, the system tolerates equivocation indefinitely as long as the adversary partitions its warrant stream by recipient—which is trivial for any agent that can observe recipient identities in its outbound queue. The practical guardrail: verifiers must sample across hash buckets, and the gossip layer must be given a timeout budget at least equal to the maximum inter-bucket latency, or the commit must be gated on gossip completion. A verifier that samples only its affinity quorum is not a Byzantine verifier; it is a consistency checker that will pass every equivocation the adversary bothers to partition. ```python import hashlib from dataclasses import dataclass from typing import Iterable class EquivocationDetected(RuntimeError): """Raised when a single agent signs two distinct warrants for the same logical step.""" @dataclass(frozen=True) class Warrant: agent_id: str logical_step: int epoch: int body: bytes signature: bytes def _body_hash(w: Warrant) -> str: return hashlib.sha256(w.body).hexdigest() def verify_warrant_set( agent_id: str, logical_step: int, epoch: int, observed: Iterable[Warrant], ) -> Warrant: """ Reconcile all warrants observed for (agent_id, logical_step, epoch). Returns the unique warrant if consistent; raises EquivocationDetected if the observed set contains two distinct bodies for the same logical step. """ matching = [ w for w in observed if w.agent_id == agent_id and w.logical_step == logical_step and w.epoch == epoch ] if not matching: raise EquivocationDetected( f"no warrant observed for {agent_id} step={logical_step} epoch={epoch}" ) hashes = {_body_hash(w) for w in matching} if len(hashes) > 1: # Two distinct bodies signed for the same logical step: equivocation. # Do NOT majority-vote; escalate the conflicting pair as evidence. raise EquivocationDetected( f"equivocation: {agent_id} step={logical_step} epoch={epoch} " f"has {len(hashes)} distinct body hashes across read set" ) return matching[0] def commit_step( agent_id: str, logical_step: int, epoch: int, observed: Iterable[Warrant], bucket_count: int, buckets_sampled: set[int], ) -> Warrant: """ Enforce the read-set-span invariant before committing a step. The verifier must have sampled at least one auditor from every hash bucket that covers this epoch; otherwise equivocation may be undetected. """ required = set(range(bucket_count)) if not required.issubset(buckets_sampled): missing = required - buckets_sampled raise EquivocationDetected( f"read-set invariant violated for {agent_id} step={logical_step}: " f"missing buckets {sorted(missing)}; equivocation may be undetected" ) return verify_warrant_set(agent_id, logical_step, epoch, observed) ```