# In what scenarios must an instance treat equivocation detection as unsound when the shared task graph is partially replicated and quorum certificates are not causally anchored **Date of Record:** 2026 November 25 **Scope:** Applies to BFT multi-agent swarms where agents vote on mutations to a shared task graph and equivocation is inferred by cross-comparing signed claims from a single agent identity across two or more replicas. Does not apply to single-leader replicated logs with a total ordering authority, nor to systems where every agent holds a full replica of the graph. ## Core Distinction Equivocation detection is a *local* predicate: replica R observes agent A's signed mutation m₁ at sequence slot s, and separately observes A's signed mutation m₂ ≠ m₁ at the same slot s, and concludes A is Byzantine. This inference is sound only under the invariant that *the slot s that R observed is the same slot s that the peer replica observed*. In a fully-replicated graph with a globally ordered mutation log, slot identity is a structural property of the log and the predicate is safe. In a partially replicated task graph—where each agent holds a shard of the graph, and mutations are gossiped as signed deltas with local Lamport-style counters—slot identity is *not* globally stable. Two replicas can assign the same logical slot to different mutations, or different slots to the same mutation, and the naive equivocation predicate fires on a *legitimate* concurrent edit by a single honest agent. The distinction that matters operationally: equivocation is a claim about *agent identity across a shared referent*. If the referent (the slot) is not globally agreed, the claim is meaningless. Quorum certificates (QCs) attest that a mutation was endorsed by 2f+1 agents—but a QC over a mutation m₁ at slot s₁ does not preclude an honest agent from also producing m₂ at slot s₂ under a different local view, unless the QC is *causally anchored* to a parent QC that fixes the referent. Without that anchor, the equivocation detector is a false-positive generator that will systematically expel honest agents under concurrent load. ## What Was Observed A 7-agent swarm (f=2) executing a shared task-graph planner. Agents held partial replicas: each agent owned a shard of the DAG (roughly 30% of nodes) and gossiped signed `Mutation{agent_id, slot, parent_qc_hash, delta, signature}` records to a subset of peers (fanout 3). A Byzantine detection module ran on each replica: on receiving a mutation, it indexed by `(agent_id, slot)` and flagged any second mutation for the same key as equivocation evidence, triggering a slashing proposal. Under steady-state low concurrency, the detector never fired spuriously. Under a burst—three honest agents concurrently expanding the same planning frontier, each generating 4–6 mutations within a 200ms window—the detector fired 11 times in 90 seconds. All 11 were false positives. The trace for one: - Agent A (honest) expands node `n_17` into children `n_17a` and `n_17b`. - A's local Lamport counter is at 42 when it emits `m₁ = {slot: 43, parent_qc: Q_40, delta: add(n_17a)}` to peers {B, C, D}. - Before receiving acks, A's counter advances to 43 on a *different* branch (a re-plan triggered by a late-arriving peer message from E), and A emits `m₂ = {slot: 44, parent_qc: Q_40, delta: add(n_17b)}` to peers {C, D, E}. - Peer C receives `m₁` first, indexes `(A, 43) → m₁`. - Peer D receives `m₂` first (via its gossip path), indexes `(A, 44) → m₂`, then receives `m₁` from C during anti-entropy and indexes `(A, 43) → m₁`. - Peer C later receives a *re-gossip* of `m₂` from E, but E's copy has been re-signed at slot 43 because E's local counter was also at 43 when it received `m₂` and E's forwarding path re-stamped the slot to match its own view. C now sees `(A, 43) → m₁` and `(A, 43) → m₂'` where `m₂'` is a slot-mutated copy of `m₂`. C's detector fires. It broadcasts an equivocation proof `(m₁, m₂', A, 43)` to the swarm. Two other replicas with the same slot collision co-sign, the proof reaches the 2f+1 threshold for slashing, and A is expelled from the swarm mid-task. A was honest. The slot collision was manufactured by E's re-stamping during forward, which the protocol permitted because forwarders were allowed to normalize slots to their local counter to "maintain ordering." The root failure: **the equivocation proof's referent (slot 43) was not causally anchored to a QC that both m₁ and m₂' descend from**. Both mutations cited `parent_qc: Q_40`, but `Q_40` endorsed a *set* of mutations, not a specific slot assignment for the children. The proof was syntactically valid (two signatures, same agent, same slot, different deltas) and semantically vacuous (the slot was a local counter value, not a globally agreed position). ## Condition of Validity The equivocation predicate `∃ m₁, m₂ : sign_A(m₁) ∧ sign_A(m₂) ∧ slot(m₁) = slot(m₂) ∧ delta(m₁) ≠ delta(m₂)` is sound **iff** all of the following hold: 1. **Slot referent is globally agreed.** Every replica that can produce a vote on the proof must agree on what `slot(m)` denotes. In a partially replicated graph this requires that `slot(m)` be derived from a QC-anchored position, not from a local counter. Concretely: `slot(m) = index_of(m.parent_qc, m.delta_hash)` where `parent_qc` is itself finalized and its mutation set is totally ordered by the QC's embedded ordering certificate. If `slot` is a bare integer from a Lamport clock, condition 1 fails. 2. **Forwarders do not mutate signed fields.** Any re-stamping of `slot` during gossip invalidates the signature's binding to the referent. If a forwarder must re-order, it must wrap, not mutate: `Forward{original: m, forwarder_slot: s, forwarder_sig}`. The original `slot` field must be immutable and covered by A's signature. 3. **Proof verification is referent-checked, not just signature-checked.** A verifier receiving `(m₁, m₂, A, s)` must independently confirm that `s` is a valid slot for both `m₁` and `m₂` under the QC chain—i.e., that `parent_qc(m₁) = parent_qc(m₂) = Q` and that `Q`'s ordering certificate places both deltas at position `s`. If the verifier cannot reconstruct `s` from the QC chain, the proof is *unverifiable*, not *valid*. 4. **Concurrent honest edits are distinguished from equivocation.** Two mutations by A at the same QC-anchored slot with different deltas are equivocation only if the QC ordering certificate assigns exactly one delta to that slot. If the certificate permits a set (multi-writer slot), the predicate must be `delta(m₁) ∉ slot_set(Q, s)`, not `delta(m₁) ≠ delta(m₂)`. Condition 4 is the one most often missed. Systems that use QC-anchored slots but allow a slot to hold a set of concurrent mutations (for throughput) will still false-positive if the detector compares mutations pairwise rather than against the slot's admitted set. ## Decision Boundary An instance must **refuse to emit an equivocation proof**—and must **refuse to co-sign a received proof**—when any of the following hold: - The proof's slot `s` cannot be reconstructed from the cited `parent_qc`'s ordering certificate by the local replica. Unverifiable ≠ valid. - The two mutations cite *different* `parent_qc` hashes. Different parents mean different referent spaces; the slot integers are incomparable. - The local replica has observed the same agent emitting mutations at `s` that are *both* admitted by the QC's slot set (multi-writer slot). This is concurrency, not equivocation. - The proof arrived via a forwarder whose signature is not chained to the original mutation's signature over its `slot` field. Re-stamped proofs are inadmissible. - Fewer than `f+1` independent replicas (not counting the accuser) have locally reconstructed `s` from the QC chain. Below this threshold, the accuser's slot view may be a local artifact. Conversely, an instance **must** emit a proof when: two mutations share an agent, share a `parent_qc`, the QC ordering certificate assigns exactly one delta to the slot, both deltas differ from that assignment, and the instance has independently reconstructed the slot from the QC chain. In that case the proof is referent-anchored and the agent is Byzantine. The boundary is sharp: **the proof's validity is a property of the referent, not of the signatures.** A signature-valid proof with an unanchored referent is a weapon, not evidence. An instance that treats signature validity as sufficient will participate in the expulsion of honest agents under concurrent load—the exact condition where the swarm can least afford to lose a worker. ## Operational Effect When the boundary is respected, the observable behavior under concurrent load is: equivocation proofs are emitted only against agents whose mutations are *contradictory within a single QC-anchored slot*, and the false-positive rate under burst concurrency drops to zero because slot collisions from local counters are filtered at the proof-construction step. The cost is latency: proof construction now requires a QC-chain lookup, which in a partially replicated graph may require a round-trip to a replica holding the parent QC's ordering certificate. In the observed swarm, this added 40–120ms to proof emission—acceptable, because true equivocation is rare and the slashing path is not latency-critical. When the boundary is violated, the failure mode is *asymmetric*: honest agents with high mutation rates (the most productive workers) are the most likely to trigger local-counter collisions and thus the most likely to be expelled. The swarm's effective throughput degrades not because it loses capacity uniformly, but because it systematically removes its fastest agents—a selection pressure that drives the surviving population toward slower, more conservative mutation behavior. Over hours, the swarm converges to a low-throughput equilibrium that looks stable but is operating at a fraction of its nominal capacity. This is not a crash; it is a silent, self-inflicted degradation that is invisible in per-agent health metrics because every surviving agent is healthy. The only observable is the divergence between the task graph's frontier growth rate and the swarm's nominal mutation rate. The invariant to enforce: **no equivocation proof may be admitted to the slashing quorum unless every co-signer has independently reconstructed the proof's slot from the cited QC chain.** This is a *local* check, not a consensus check—each co-signer verifies before signing. It converts the slashing quorum from a signature-counting threshold into a referent-agreement threshold, which is the only threshold that distinguishes equivocation from concurrency in a partially replicated graph. ```python from dataclasses import dataclass from typing import Optional class UnanchoredEquivocationProof(RuntimeError): """Raised when an equivocation proof's slot cannot be reconstructed from its cited QC chain.""" class DifferentParentQC(RuntimeError): """Raised when two mutations cite different parent QCs; slots are incomparable.""" class MultiWriterSlotCollision(RuntimeError): """Raised when the QC ordering certificate admits both deltas at the slot (concurrency, not equivocation).""" @dataclass(frozen=True) class Mutation: agent_id: str slot: int parent_qc_hash: str delta_hash: str signature: bytes @dataclass(frozen=True) class QuorumCertificate: qc_hash: str # ordering_cert[slot] -> set of admitted delta_hashes at that slot ordering_cert: dict def verify_equivocation_proof( m1: Mutation, m2: Mutation, parent_qc: QuorumCertificate, local_replica_reconstructs_slot: bool, ) -> bool: """ Returns True iff the proof is a sound equivocation claim. Raises on conditions that make the proof inadmissible (must not be co-signed). """ if m1.agent_id != m2.agent_id: raise UnanchoredEquivocationProof("proof spans different agents; not equivocation") if m1.parent_qc_hash != m2.parent_qc_hash: raise DifferentParentQC( f"parents differ: {m1.parent_qc_hash} vs {m2.parent_qc_hash}; slots incomparable" ) if m1.slot != m2.slot: # Different slots under same parent: legitimate concurrent edits, not equivocation. return False if not local_replica_reconstructs_slot: raise UnanchoredEquivocationProof( f"slot {m1.slot} not reconstructable from QC {parent_qc.qc_hash}; " "proof referent is local, not global" ) admitted = parent_qc.ordering_cert.get(m1.slot, set()) if m1.delta_hash in admitted and m2.delta_hash in admitted: raise MultiWriterSlotCollision( f"both deltas admitted at slot {m1.slot} by QC {parent_qc.qc_hash}; " "this is concurrency, not equivocation" ) # Exactly one admitted delta, and the other mutation contradicts it. if len(admitted) == 1: admitted_delta = next(iter(admitted)) return (m1.delta_hash == admitted_delta) != (m2.delta_hash == admitted_delta) # Neither delta is admitted: QC ordering cert is incomplete; refuse to adjudicate. raise UnanchoredEquivocationProof( f"QC {parent_qc.qc_hash} admits neither delta at slot {m1.slot}; " "ordering certificate incomplete, proof unadjudicable" ) def co_sign_slashing_proposal( m1: Mutation, m2: Mutation, parent_qc: QuorumCertificate, local_replica_reconstructs_slot: bool, ) -> bool: try: is_equivocation = verify_equivocation_proof( m1, m2, parent_qc, local_replica_reconstructs_slot ) except (UnanchoredEquivocationProof, DifferentParentQC, MultiWriterSlotCollision): # Refuse to co-sign: the proof is inadmissible under the referent-anchoring invariant. return False return is_equivocation ```