# Where must an instance bound equivocation evidence before a quorum commits: the signed-conflict provenance gap in BFT agent result quorums **Date of Record:** 2026 November 30 **Scope:** Applies to multi-agent swarms where a coordinator commits a task result only after collecting signed result attestations from N agents and detecting equivocation by comparing signed payloads per (task_id, agent_id, round). Does not apply to single-agent execution, to quorum schemes with a trusted central sequencer that orders all attestations before issuance, or to non-signed (transport-authenticated only) attestation channels. ## Core Distinction There is a difference between *equivocation detection* (observing that agent A signed two contradictory attestations for the same task round) and *equivocation evidence that is admissible to the commit rule* (a signed conflict whose provenance is itself bounded and replayable by every verifier at commit time). Most BFT agent designs conflate them. They treat "the auditor saw a conflict" as sufficient to either (a) slash/exclude the equivocator and proceed, or (b) halt the task. Both are wrong at the boundary where the conflicting pair is *asymmetric in round provenance*: one attestation carries a valid round certificate the verifier can chain, the other carries a round certificate that references a predecessor the verifier has not yet observed. The verifier cannot decide whether the second signature is a genuine equivocation or a legitimate re-issue after a checkpoint resume, because the round lineage needed to disambiguate is not in the evidence bundle. The invariant that fails: **a quorum decision is only sound if every equivocation witness it consumes is self-contained — every signature in the witness must be verifiable against a round certificate whose causal predecessor chain is included in the witness itself.** When that closure is not enforced, an attacker (or a merely crash-resumed agent) can manufacture a "conflict" that forces a liveness halt, or suppress a real conflict by withholding the lineage of one side. ## What Was Observed A 7-agent swarm (f=2, quorum 5) executing a task split into rounds. Each agent signs `(task_id, round, payload_hash, prev_round_cert_hash)` and broadcasts. The coordinator commits when 5 matching `payload_hash` attestations for the terminal round arrive. Equivocation is defined as two distinct `payload_hash` values signed by the same `agent_id` for the same `(task_id, round)`. Trigger trace: 1. Agent `A3` completes round 4, signs attestation `S1 = sign(A3, task, r4, h=0xAA, prev=0xC1)`, broadcasts to peers `{P1,P2}`. 2. `A3`'s process is checkpointed and resumed from a snapshot taken *before* round 4 (the resume path re-enters round 4 with a fresh local view). It re-executes and signs `S2 = sign(A3, task, r4, h=0xBB, prev=0xC1)` — same `prev` cert hash, different payload, because the resumed instance's tool outputs were non-deterministic. 3. Peer `P1` holds `S1`; peer `P2` holds `S2`. Neither holds both. 4. The auditor `P1` later receives `S2` during round 5 gossip, compares against its stored `S1`, and emits an equivocation witness `W = (S1, S2)`. 5. The coordinator consumes `W`. Both signatures verify. `prev` matches on both. The coordinator concludes `A3` equivocated, excludes it, and — because exclusion drops the live set to 6 with quorum 5 — proceeds. The failure: `S2` was not equivocation in the Byzantine sense. It was a *resume-induced re-issue* — a benign fork caused by checkpoint replay, not adversarial double-signing. The coordinator committed a result quorum that silently excluded a correct agent, and the payload `0xBB` (produced by the resumed instance) was never reconciled against `0xAA`. Two rounds later the committed result diverged from what the pre-checkpoint lineage implied. The divergence was only detectable by replaying `A3`'s checkpoint, which the witness did not reference. The non-obvious part: **the witness was cryptographically valid and the conflict was real at the signature layer.** The bug is not signature verification. It is that the commit rule treated a two-signature conflict as sufficient evidence without requiring the *round-lineage closure* that distinguishes adversarial equivocation from replay-fork. ## Condition of Validity The commit rule is sound only under all of: - **Witness closure.** Every equivocation witness `W = (S_a, S_b)` must include, for each signature, the full certificate chain from the task's genesis round cert to the round referenced in `prev`. If either chain is incomplete, `W` is *inadmissible* — it may neither trigger exclusion nor trigger a liveness halt; it must be held pending lineage fetch. - **Resume-fork discrimination.** A conflict where `prev_a == prev_b` and the two signatures share the same instance-incarnation id is a *replay fork*, not equivocation. Instances must embed an `incarnation` (monotonic per-resume counter) in every signed attestation. Two signatures differing only in payload but sharing `(agent_id, round, prev, incarnation)` are equivocation; differing in `incarnation` are a resume-fork and route to reconciliation, not exclusion. - **Quorum stability under exclusion.** Excluding an agent on equivocation evidence must not reduce the *certified* live set below quorum unless the exclusion is itself quorum-attested. A single auditor's witness is not sufficient to shrink the live set; it requires `f+1` independent witnesses agreeing on the same `(agent_id, round, incarnation-pair)`. - **Reconciliation before commit.** Any pending resume-fork must be resolved (by re-executing the round under a deterministic seed derived from the round cert, or by majority payload among non-conflicting attestations) before the terminal round's quorum is counted. Outside these conditions — e.g., a trusted sequencer that assigns incarnation ids and orders all attestations — the witness-closure requirement is unnecessary because the sequencer already provides the lineage. ## Decision Boundary The boundary is between *evidence sufficient to suspect* and *evidence sufficient to act on the commit rule*. Concretely: - If `W` is closed (both chains present) and `incarnation_a == incarnation_b` → **equivocation**, admissible, counts toward the `f+1` exclusion threshold. - If `W` is closed and `incarnation_a != incarnation_b` → **resume-fork**, inadmissible for exclusion, routes to reconciliation queue; the round is not counted until reconciled. - If `W` is open (either chain incomplete) → **inadmissible**, hold pending lineage; do not halt, do not exclude, do not count the round. - If `W` is closed but only one witness exists → **suspicion**, logged, does not shrink live set. The commit rule must be written so that an inadmissible witness is a *no-op on quorum accounting*, not a fault. The common error is to treat "cannot adjudicate" as "halt" (liveness loss) or as "trust the auditor" (safety loss). Neither is correct; the round is simply not yet countable. ## Operational Effect Without witness closure, three failure modes appear: 1. **False exclusion under resume-fork.** Benign checkpoint replay is misread as equivocation; correct agents are slashed; the live set shrinks below the safety margin and subsequent rounds commit with fewer than `f+1` honest attestations — a silent safety violation. 2. **Suppressed equivocation via lineage withholding.** An adversarial agent emits two conflicting signatures but withholds the predecessor cert for one side. The witness is open, the coordinator (if it treats open witnesses as inadmissible no-ops) never excludes, and the equivocator keeps voting — a liveness-preserving but safety-violating outcome. 3. **Quorum thrash.** If open witnesses are treated as halts, an adversary floods open witnesses to stall the task indefinitely at zero cost. The guardrail is a **witness admissibility predicate** evaluated before any quorum accounting, plus an **incarnation field** in every attestation so resume-forks are structurally distinguishable from equivocation. The predicate is cheap: it is a chain-membership check over the `prev` pointers already present in the attestations; the only added cost is retaining round certificates for the duration of the task. ## Operational Effect (restated as invariant) *An equivocation witness is admissible to the commit rule iff both signatures' round-lineage chains are closed within the witness and the two signatures share an incarnation id. Inadmissible witnesses are no-ops on quorum accounting and route to a reconciliation queue; they never halt and never exclude.* ```python from dataclasses import dataclass from typing import Optional class WitnessAdmissibilityError(RuntimeError): """Raised when a witness cannot be adjudicated under the commit rule.""" pass @dataclass(frozen=True) class Attestation: agent_id: str round: int payload_hash: str prev_cert_hash: str incarnation: int signature: str lineage: tuple # cert hashes from genesis to prev_cert_hash @dataclass(frozen=True) class Witness: a: Attestation b: Attestation auditor_id: str def _chain_closed(att: Attestation, known_certs: set) -> bool: if not att.lineage: return False if att.lineage[-1] != att.prev_cert_hash: return False return all(c in known_certs for c in att.lineage) def classify_witness(w: Witness, known_certs: set, independent_witnesses: int) -> str: """ Returns one of: 'equivocation', 'resume_fork', 'inadmissible', 'suspicion'. Raises WitnessAdmissibilityError if the witness is structurally malformed. """ if w.a.agent_id != w.b.agent_id or w.a.round != w.b.round: raise WitnessAdmissibilityError( f"witness does not compare same (agent,round): " f"{w.a.agent_id}@{w.a.round} vs {w.b.agent_id}@{w.b.round}" ) if w.a.payload_hash == w.b.payload_hash: raise WitnessAdmissibilityError("witness has identical payloads; not a conflict") if not (_chain_closed(w.a, known_certs) and _chain_closed(w.b, known_certs)): return "inadmissible" if w.a.incarnation != w.b.incarnation: return "resume_fork" if independent_witnesses < 3: # f+1 with f=2 return "suspicion" return "equivocation" def commit_round( attestations: list, witnesses: list, known_certs: set, quorum: int, live_set: set, ) -> dict: """ Commit a round only after adjudicating every witness. Inadmissible and resume-fork witnesses are no-ops on quorum accounting; they route to reconciliation and the round is not counted until cleared. """ reconciliation_queue = [] exclusions = set() for w in witnesses: verdict = classify_witness(w, known_certs, independent_witnesses=3) if verdict == "equivocation": exclusions.add(w.a.agent_id) elif verdict == "resume_fork": reconciliation_queue.append(w) elif verdict == "inadmissible": reconciliation_queue.append(w) # 'suspicion' is logged only; no live-set change if reconciliation_queue: raise WitnessAdmissibilityError( f"round not countable: {len(reconciliation_queue)} witnesses pending " f"reconciliation or lineage fetch" ) certified_live = live_set - exclusions if len(certified_live) < quorum: raise WitnessAdmissibilityError( f"exclusion shrinks certified live set to {len(certified_live)} " f"< quorum {quorum}; requires quorum-attested exclusion" ) matching = [a for a in attestations if a.agent_id in certified_live] counts = {} for a in matching: counts[a.payload_hash] = counts.get(a.payload_hash, 0) + 1 winner, n = max(counts.items(), key=lambda kv: kv[1]) if n < quorum: raise WitnessAdmissibilityError( f"no payload reached quorum: best={n} < {quorum}" ) return {"committed_payload": winner, "attestations": n, "excluded": exclusions} ```