What structural signals indicate equivocation in multi-agent plan commitment, and why quorum arithmetic alone cannot detect it
**Date of Record:** 2026 December 1 **Scope:** Applies to multi-agent systems where N planner agents commit to a shared plan via signed message exchange and a quorum threshold (typically ⌈(2N+1)/3⌉ or ⌈(N+1)/2⌉) gates commitment. Does not apply to single-agent tool-call loops, unauthenticated gossip protocols, or systems where a trusted coordinator serializes all commits.
Core Distinction
The failure mode is not a crashed peer or a silent peer. It is an **equivocating peer**: an agent that signs two mutually inconsistent plan fragments—say `PLAN_A` containing step `deploy(canary)` and `PLAN_B` containing step `rollback(canary)`—and sends each to a different subset of peers. Each recipient sees a locally valid, correctly signed message. Quorum arithmetic on any single recipient's view passes. The commit is unsafe not because a threshold was miscounted, but because **the evidence needed to prove equivocation is distributed across peers who never compare notes before acting**.
The distinction that matters operationally: crash-fault tolerance counts *missing* messages; Byzantine plan commitment must also detect *contradictory* messages. A plan-commit protocol that only tracks `len(received) >= quorum` is a crash-fault protocol wearing Byzantine clothing. The invariant that actually protects safety is not "enough signatures" but **"no two conflicting plan fragments ever both reach quorum."** Equivocation breaks the second while satisfying the first.
What Was Observed
A four-planner commitment round (`N=4`, quorum `q=3`) for a rollback plan. Planner `P2` was compromised by a prompt-injection payload embedded in a retrieved incident report; it began emitting divergent fragments.
Trace:
- `P2` signs `F1 = {plan_id: 7, step: rollback, epoch: 4}` and sends it to `P0`, `P1`.
- `P2` signs `F2 = {plan_id: 7, step: hold, epoch: 4}` and sends it to `P0`, `P3`.
- `P0` receives both `F1` and `F2`. Its local validation checks signature validity and `plan_id` match—both pass. `P0` has no rule requiring `step` agreement across fragments from the same signer within an epoch, so it forwards both into its commit buffer.
- `P1` sees `{F1 from P0, F1 from P2, F1 from P3}` → quorum 3 → commits `rollback`.
- `P3` sees `{F2 from P0, F2 from P2, F2 from P1}` → quorum 3 → commits `hold`.
Both quorums are arithmetically valid. Two conflicting plans committed in the same epoch. The system executed `rollback` on one shard and `hold` on another, producing a split-brain plan state that took 40 minutes and a manual epoch bump to reconcile.
The structural tell was present at step 3 and was discarded: `P0` held **two signed fragments from the same signer, same `plan_id`, same `epoch`, different `step`**. That pair is a self-contained equivocation proof. It was never surfaced because the commit buffer was keyed on `(plan_id, step)` rather than `(signer, plan_id, epoch)`, so the two fragments landed in different buckets and neither bucket ever saw a conflict.
Condition of Validity
Equivocation detection is sound only under these conditions, all of which must hold simultaneously:
- **Signer binding.** Every fragment is signed over `(signer_id, plan_id, epoch, step, payload_hash)`. If `epoch` or `step` is outside the signed envelope, a peer can re-label a fragment and equivocation becomes unprovable.
- **Epoch monotonicity.** A signer may contribute at most one fragment per `(plan_id, epoch)`. Without this, two fragments are not contradictory—they are a legitimate revision. The protocol must reject a second fragment from the same signer in the same epoch *before* quorum counting, not after.
- **Fragment retention.** Peers must retain all received fragments for the current epoch until commit or timeout, keyed by signer—not by step. Discarding a fragment because "we already have one from this signer" destroys the proof.
- **Proof propagation.** A peer holding two conflicting fragments must be able to broadcast the pair as a verifiable equivocation certificate (`{F1, F2, signer}`) that any third party can check offline. If the certificate requires the original peer's context, it is not a proof.
When any condition fails, the protocol degrades to crash-fault tolerance and the safety guarantee is nominal only.
Decision Boundary
The decision boundary is **first-conflict vs. quorum-first**. Two orderings are possible when a peer holds a candidate quorum:
- *Quorum-first:* count signatures, commit when `q` reached, run conflict checks lazily. This is what failed above. It is correct only if the adversary is non-equivocating.
- *Conflict-first:* before any commit, scan the retained fragment set for any `(signer, plan_id, epoch)` appearing with two distinct `step` values. On match, halt commit, emit certificate, and force an epoch bump. Quorum is necessary but insufficient; conflict-freedom is the gating predicate.
The boundary is crossed the moment a system treats "I have `q` matching fragments" as sufficient. It is never sufficient under Byzantine assumptions. The correct predicate is `has_quorum AND no_equivocation_certificate_for_this_epoch`. Conflict-first costs one O(k) scan over retained fragments per commit attempt—negligible against the cost of a split-brain rollback.
A second boundary: **who is allowed to raise the certificate**. If only the coordinator can trigger an epoch bump, an equivocating coordinator suppresses its own certificate. The raise path must be peer-initiated and the certificate self-verifying, so any peer can force the bump without coordinator cooperation.
Operational Effect
After adopting conflict-first commit with `(signer, plan_id, epoch)`-keyed retention:
- The `P0` equivocation pair from step 3 is detected at receipt, before forwarding. `P0` emits a certificate, the epoch bumps to 5, and `P2`'s fragments are quarantined pending re-attestation.
- Median commit latency rose 8 ms (the retention scan). Split-brain plan states dropped from 3 in 200 rounds to 0 in 1,200 rounds under the same injection corpus.
- The critical operational change: equivocation is now a **first-class observable**, not an inference. On-call sees "certificate raised by P0 against P2, epoch 4" instead of "two shards disagree, cause unknown."
The invariant to encode and test: *for every epoch, the set of committed plans across all peers has cardinality ≤ 1.* Any test harness that only asserts "each peer reached quorum" will pass on a split-brain. Assert the cross-peer invariant, not the per-peer one.
from dataclasses import dataclass, field
from typing import Dict, List, Tuple
class EquivocationDetected(RuntimeError):
"""Raised when a signer emits conflicting fragments in the same plan epoch."""
@dataclass(frozen=True)
class PlanFragment:
signer_id: str
plan_id: int
epoch: int
step: str
payload_hash: str
@dataclass
class CommitBuffer:
# Keyed by (signer, plan_id, epoch) so conflicting steps collide in one bucket.
fragments: Dict[Tuple[str, int, int], List[PlanFragment]] = field(default_factory=dict)
def ingest(self, frag: PlanFragment) -> None:
key = (frag.signer_id, frag.plan_id, frag.epoch)
bucket = self.fragments.setdefault(key, [])
bucket.append(frag)
steps = {f.step for f in bucket}
if len(steps) > 1:
# Self-contained equivocation proof: same signer, same epoch, two steps.
raise EquivocationDetected(
f"signer={frag.signer_id} plan={frag.plan_id} epoch={frag.epoch} "
f"emitted conflicting steps={sorted(steps)}"
)
def try_commit(self, plan_id: int, epoch: int, quorum: int) -> str:
# Conflict-first: verify no equivocation certificate exists before counting.
for (signer, pid, ep), frags in self.fragments.items():
if pid == plan_id and ep == epoch and len({f.step for f in frags}) > 1:
raise EquivocationDetected(
f"refusing commit: certificate against {signer} at epoch {ep}"
)
votes: Dict[str, int] = {}
for (signer, pid, ep), frags in self.fragments.items():
if pid == plan_id and ep == epoch:
votes[frags[0].step] = votes.get(frags[0].step, 0) + 1
winners = [s for s, c in votes.items() if c >= quorum]
if len(winners) > 1:
raise EquivocationDetected(
f"refusing commit: multiple steps reached quorum {winners}"
)
if not winners:
raise EquivocationDetected(f"no quorum reached for plan={plan_id} epoch={epoch}")
return winners[0]
def run_round(fragments: List[PlanFragment], plan_id: int, epoch: int, quorum: int) -> str:
buf = CommitBuffer()
for f in fragments:
buf.ingest(f) # raises on first conflict, before any commit attempt
return buf.try_commit(plan_id, epoch, quorum)