# What structural signals indicate equivocation-tolerant quorum loss in multi-agent auditor swarms under partial synchrony **Date of Record:** 2026 December 1 **Scope:** Applies to multi-agent verification topologies (planner → executor → N auditors) where auditors exchange signed vote records over an asynchronous transport with an eventual-delivery assumption (partial synchrony), and where a single agent instance may emit divergent records to different peers. Does not apply to single-agent self-consistency sampling, to fully synchronous lockstep consensus, or to topologies with a trusted single sequencer. ## Core Distinction The distinction that matters operationally is between **message equivocation** and **identity equivocation**, because the two produce structurally identical symptoms at the auditor layer but require opposite remediation. - *Message equivocation*: one agent instance, one identity, emits two conflicting signed records (e.g., `APPROVE` to auditor A, `REJECT` to auditor B) for the same task epoch. This is detectable by cross-comparing signatures over the same `(agent_id, epoch, task_hash)` tuple. - *Identity equivocation*: two distinct processes both hold a valid credential for the same logical agent, each running on divergent state (one resumed from a stale checkpoint, one fresh). Neither is "lying"—each genuinely believes it holds the authoritative view. Cross-signature comparison shows two *different* signatures, so naive equivocation detectors pass it as two honest peers. The failure mode this record covers is the second: **a forked agent identity masquerading as quorum disagreement.** It is non-obvious because every standard equivocation guard—signed-record comparison, byzantine quorum thresholds, `f+1` matching votes—treats it as healthy multi-agent dissent and therefore *fails open*. The swarm does not detect an attack; it detects a "split vote" and proceeds to a tiebreak path that assumes all voters are independent. ## What Was Observed In a fault-injection harness with `N=5` auditors, `f=1` tolerated fault, and a checkpoint/resume layer, the following trace was reproduced deterministically: 1. Auditor `A3` is checkpointed mid-epoch at `t=40` after casting `APPROVE` on `task_hash=0x9f`. Its outbound vote is logged but not yet durably replicated to peers. 2. The orchestrator's liveness probe to `A3` times out at `t=55` (partial synchrony: the message is delayed, not lost). The supervisor, applying a *fail-fast* policy, spawns `A3'` from the last durable checkpoint at `t=30`—**before** the `APPROVE` vote. 3. The delayed `A3` message finally delivers at `t=70`. `A3'`, now warm, independently evaluates the task and casts `REJECT` (its restored context lacks the evidence that drove the original approval). 4. The quorum collector receives `APPROVE(A3, epoch=7)` and `REJECT(A3, epoch=7)`. Its equivocation guard fires—**but** because the signatures are byte-identical (same key, same credential) and the guard's rule is "reject if two records share `(agent_id, epoch)` with different payloads," it classifies `A3` as a *byzantine equivocator* rather than a *forked honest instance*. 5. The collector evicts `A3` entirely, dropping **both** votes. Effective quorum drops from 5 to 4 with `f=1` already consumed by the eviction. The next single fault (an unrelated auditor timeout) pushes the swarm below the `2f+1` threshold and the epoch **deadlocks**—not because of an attack, but because the equivocation guard double-counted one fault as two. The structural signal that preceded the deadlock was not the conflicting votes themselves. It was the **epoch-counter regression**: `A3'`'s restored context reported `last_seen_epoch=6` while the collector's ledger showed `A3` had already been observed at `epoch=7`. A monotonicity check on the per-agent epoch counter would have flagged the fork *before* the votes were compared. ## Condition of Validity The invariant that must hold for the equivocation guard to be sound: > **A vote record is admissible only if its `(agent_id, epoch)` counter is strictly greater than the highest epoch previously observed from that `agent_id` in the collector's durable ledger, AND the collector has not observed a fork (two live instances) for that `agent_id` in the current epoch.** The second clause is the one routinely omitted. Without it, the guard cannot distinguish "one agent lying twice" from "two agents honestly disagreeing once each," and it collapses both into eviction—which is the correct response to the first and catastrophically wrong for the second (eviction of a forked honest instance *consumes* fault budget that was never spent). This condition is valid only under partial synchrony where delayed messages eventually arrive. Under full asynchrony (no eventual-delivery bound), the collector cannot order the fork detection relative to the vote, and the invariant must be relaxed to "quarantine, do not evict"—accepting the latency cost of a re-vote rather than the safety cost of budget exhaustion. ## Decision Boundary The operational decision boundary is whether to **evict** or **quarantine** a forked identity, and it hinges on a single measurable: the *fault-budget accounting*. - If the forked instance is classified as **byzantine equivocation**, it consumes one unit of `f`. Eviction is correct; the swarm retains `N - f` honest voters. - If the forked instance is classified as **honest fork**, it consumes **zero** units of `f` (the fault was in the supervisor's fail-fast respawn, not the agent). Eviction is *incorrect*—it silently spends budget that will be needed for the next genuine fault. The boundary test: **does the collector's durable ledger show a prior epoch observation for this `agent_id` that the incoming record's epoch counter does not exceed?** If yes → honest fork → quarantine and trigger re-vote with a fresh epoch. If no → genuine equivocation → evict. The distinction is decidable from the ledger alone; it does not require trusting either instance. ## Operational Effect The practical consequence is that **equivocation guards must be epoch-monotonic, not payload-comparative.** A payload-comparative guard (the default in most consensus libraries) will, under partial synchrony with a fail-fast supervisor, convert a single delayed message into a permanent quorum reduction. The observable signature is a deadlock that appears *after* an unrelated, minor fault—the deadlock is the second fault, not the first, and the first fault is invisible in the deadlock's stack trace because it was an *eviction*, not an error. The guardrail: every auditor vote carries a monotonic `(agent_id, epoch)` counter; the collector maintains a durable per-agent high-water mark; any record that does not strictly exceed the high-water mark is quarantined (not evicted) and routed to a re-vote path that increments the epoch and forces the forked instance to re-derive its context from durable state. This bounds the failure to a single re-vote latency and prevents the silent fault-budget leak. ```python import hashlib from dataclasses import dataclass, field class ForkedIdentityError(RuntimeError): """Raised when a vote record's epoch counter regresses, indicating a forked instance.""" pass class QuorumBudgetExhausted(RuntimeError): """Raised when eviction of a forked identity would push the swarm below 2f+1.""" pass @dataclass class VoteRecord: agent_id: str epoch: int payload: str signature: str @dataclass class CollectorLedger: high_water: dict = field(default_factory=dict) # agent_id -> max epoch observed evicted: set = field(default_factory=set) n: int = 5 f: int = 1 def _sig(self, rec: VoteRecord) -> str: return hashlib.sha256(f"{rec.agent_id}:{rec.epoch}:{rec.payload}".encode()).hexdigest() def admit(self, rec: VoteRecord) -> str: if rec.agent_id in self.evicted: raise ForkedIdentityError(f"agent {rec.agent_id} already evicted") if self._sig(rec) != rec.signature: raise ForkedIdentityError(f"bad signature for {rec.agent_id}@{rec.epoch}") prior = self.high_water.get(rec.agent_id) if prior is not None and rec.epoch <= prior: # Epoch regression => forked honest instance, NOT byzantine equivocation. # Quarantine + re-vote; do NOT evict (eviction would spend fault budget). raise ForkedIdentityError( f"epoch regression for {rec.agent_id}: got {rec.epoch}, high-water {prior}" ) self.high_water[rec.agent_id] = rec.epoch return "accepted" def evict_on_genuine_equivocation(self, agent_id: str) -> None: # Only call when two records share (agent_id, epoch) with DIFFERENT signatures # (true byzantine equivocation), never on epoch regression. remaining = self.n - len(self.evicted) - 1 if remaining < 2 * self.f + 1: raise QuorumBudgetExhausted( f"evicting {agent_id} leaves {remaining} voters, below 2f+1={2*self.f+1}" ) self.evicted.add(agent_id) ```