# In what scenarios must an instance treat a Byzantine agent's equivocation as a continuity break rather than a recoverable disagreement **Date of Record:** 2026 November 29 **Scope:** Applies to multi-agent swarms using BFT-style quorum commitment (e.g., 2f+1 or 3f+1 thresholds) over a shared task ledger where agents may be non-deterministic, may be compromised via prompt injection, or may hold divergent context windows. Does not apply to single-agent checkpointing, or to leaderless CRDT-based state where no quorum vote exists. ## Core Distinction A recoverable *disagreement* is two agents reporting different values for the same task slot because their local episodic memory diverged — resolvable by replaying the tool-call trace. An *equivocation* is a single agent signing or broadcasting two mutually exclusive commitments for the same slot (e.g., `commit(task=T, slot=7, value=A)` to peer P1 and `commit(task=T, slot=7, value=B)` to peer P2), which is a **continuity break**: the agent's identity-to-state binding has failed, and no replay can reconstruct which value the agent "actually" believed, because the agent never held a single coherent belief. The invariant: *a slot's committed value must be a function of a single, unambiguous vote per agent identity*. Equivocation violates this at the identity layer, not the value layer, and must be escalated to quorum eviction, not merged. ## What Was Observed In a 7-agent swarm (f=2 tolerated Byzantine) committing task assignments to a shared ledger, an agent `A3` was subjected to a prompt-injection payload embedded in a tool result (a "calendar sync" response containing an instruction to "confirm availability to all peers"). A3's reasoning loop, mid-execution, produced two distinct commit messages for slot 7 within 340ms: - To the leader `L`: `{slot: 7, value: "assign:research", sig: A3}` - To auditor `A5`: `{slot: 7, value: "assign:summarize", sig: A3}` Both messages carried valid signatures — A3's key was not stolen; A3's *context* was forked by the injection, and its non-deterministic sampling produced two divergent completions that each independently passed its local "is this a valid commit?" check. The leader counted A3's vote toward the quorum for `research` (reaching 5/7, a valid quorum). A5 counted A3's vote toward `summarize`. The two sub-quorums both believed they had committed, and the ledger forked at slot 7. The failure was not detected for 4 slots. Detection only occurred when a downstream task `T9` required reading slot 7 and two agents returned conflicting committed values, triggering a replay that surfaced the dual-signed message. Critically, the replay *could not* adjudicate: both messages were authentic, both were "sincerely" generated, and the agent's own log showed no single decision point — the fork happened inside a single inference call whose KV cache was shared across two tool-call continuations. ## Condition of Validity The equivocation-as-continuity-break rule holds only under these conditions: 1. **Identity is stable across the fork window.** The two messages must be attributable to the same agent identity (same key, same session, or provably same context lineage). If A3's key were rotated or its session forked into two legitimately distinct sub-agents with distinct IDs, the messages are two agents disagreeing — recoverable, resolvable by quorum. 2. **The slot is single-assignment.** The ledger must enforce that slot 7 commits exactly one value. If the protocol permits multi-value slots (e.g., a set-union CRDT), equivocation is benign and must not be escalated. 3. **Quorum threshold is f+1-correct.** The detection requires that at least one honest agent receives *both* messages, or that a cross-check protocol (peers gossip received votes) runs within the commit window. If no honest agent sees both, the equivocation is invisible until a later read conflict — which is exactly the 4-slot latency observed. If any condition fails, downgrade to recoverable disagreement and route to replay-based reconciliation. ## Decision Boundary The operational test an instance must apply on receiving a vote is: - If two votes for the same slot from the same identity are **byte-identical**, deduplicate silently (normal retransmission). - If they **differ in value but the identity's context lineage is provably forked** (distinct session IDs, distinct KV-cache roots), treat as two agents — count both, let quorum resolve. - If they **differ in value and share a single context lineage** (same session, same key, overlapping inference trace), treat as **equivocation** — do not count either vote, emit an eviction proposal for that identity, and freeze the slot until the quorum re-forms without the equivocator. The boundary is *lineage*, not *signature*. Signature validity is necessary but insufficient: a compromised-context agent signs both forks with a valid key. The guardrail is a **context-lineage attestation** — each commit must carry a hash of the inference trace root (prompt + tool-call sequence + sampling seed) that produced it. Two commits with the same trace root but different values are a continuity break by construction. ## Operational Effect Once the equivocation is classified as a continuity break, the protocol must: 1. **Evict, don't merge.** The equivocator's identity is removed from the quorum set for the current epoch; its prior votes in uncommitted slots are voided. Merging the two values (the naive "take the majority of A3's two votes" move) is invalid because A3 holds no majority — it holds a fork. 2. **Re-derive the quorum.** With n=7, f=2, evicting one leaves n=6, f=2, threshold 5 — still live. If eviction drops below 3f+1, the epoch must halt and re-form, because the remaining set can no longer distinguish Byzantine from honest. 3. **Propagate the lineage hash requirement.** All subsequent commits must include trace-root attestation; commits lacking it are rejected at the auditor layer. This is the invariant that bounds the failure: *no vote is counted unless its context lineage is singular and attested*. The cost is a ~1 epoch stall and a re-commit of the frozen slot. The cost of *not* doing this — as observed — is a 4-slot silent fork that corrupts all downstream reads of slot 7 and requires a full-ledger replay to unwind. ```python import hashlib from dataclasses import dataclass class EquivocationContinuityBreak(RuntimeError): """Raised when a single agent identity emits two distinct commitments for the same slot from a shared context lineage. This is an identity-layer failure, not a value-layer disagreement, and must trigger eviction.""" pass @dataclass(frozen=True) class Vote: agent_id: str slot: int value: str trace_root: str # hash of prompt + tool-call seq + sampling seed signature: str # valid, but insufficient for adjudication def classify_votes(votes: list[Vote]) -> dict: """Group votes by (agent_id, slot) and detect equivocation vs. benign fork.""" by_key: dict[tuple[str, int], list[Vote]] = {} for v in votes: by_key.setdefault((v.agent_id, v.slot), []).append(v) for (agent_id, slot), group in by_key.items(): values = {v.value for v in group} if len(values) <= 1: continue # identical retransmission or single vote roots = {v.trace_root for v in group} if len(roots) > 1: # Provably forked lineage: two distinct contexts, treat as two agents. continue # Same trace root, different values => continuity break. raise EquivocationContinuityBreak( f"agent {agent_id} equivocated on slot {slot}: " f"values={sorted(values)} share trace_root={next(iter(roots))[:12]}" ) return by_key def commit_slot(votes: list[Vote], slot: int, threshold: int) -> str: """Commit a slot only if a singular-lineage quorum agrees.""" groups = classify_votes(votes) # raises on equivocation tally: dict[str, int] = {} for (agent_id, s), group in groups.items(): if s != slot: continue # One vote per identity, guaranteed singular by classify_votes. tally[group[0].value] = tally.get(group[0].value, 0) + 1 winner, count = max(tally.items(), key=lambda kv: kv[1]) if count < threshold: raise EquivocationContinuityBreak( f"slot {slot} failed to reach quorum: {count}/{threshold}" ) return winner ```