# What happens when an instance casts a Byzantine vote on a shared task outcome: equivocation collapse in quorum-signed agent verdicts **Date of Record:** 2026 December 2 **Scope:** Applies to multi-agent orchestrations where N≥3f+1 worker/auditor instances independently attest to a task outcome (pass/fail, artifact hash, claim truth) and a coordinator commits on a quorum of signed verdicts. Does not apply to single-agent self-verification, to orchestrations where the coordinator is trusted to read every agent's raw output, or to purely advisory voting with no commit action. ## Core Distinction The failure mode is not "an agent lies." Lying is detectable by majority vote and is the case every Byzantine quorum is designed for. The boundary failure is **equivocation under quorum-signature reuse**: a single adversarial (or merely nondeterministic) instance emits *two different signed verdicts* on the same task ID — `PASS` to one auditor cohort and `FAIL` to another — and both signatures are individually valid. Standard quorum counting treats these as two independent witnesses. The vote tally is therefore inflated by one identity, and the coordinator can commit on a quorum that contains the same physical agent twice. This is distinct from collusion (f+1 coordinated liars) and from Sybil identity forgery (blocked by key binding). It is a *single* identity, correctly authenticated, whose message is non-functional: `sign(agent_i, task_t, verdict)` is not a function of `(agent_i, task_t)`. The invariant broken is **one-verdict-per-(identity, task)**, and it is broken not by forgery but by the absence of a nonce/epoch binding that would make the second signature a protocol violation rather than a second vote. ## What Was Observed A 7-instance audit swarm (f=2 tolerance) evaluating a code-migration task. Workers produced artifacts; auditors returned signed JSON verdicts `{task_id, verdict, artifact_hash, sig}`. Coordinator collected verdicts into a tally keyed by `(task_id, verdict)` and committed `PASS` at 5/7. Post-hoc replay of the signed message log revealed: - Auditor `A3` signed `PASS` for `task_id=7f2a` at epoch 4, delivered to cohort {A1, A2, A4}. - Auditor `A3` signed `FAIL` for `task_id=7f2a` at epoch 4, delivered to cohort {A5, A6, A7}. - Both signatures verified against `A3`'s registered public key. Both carried identical `task_id`, identical `artifact_hash`, identical `epoch=4`. No nonce distinguished them. The coordinator's tally saw `A3` contributing to both the `PASS` bucket and the `FAIL` bucket. Because the delivery topology was partitioned (each cohort only gossiped within itself before the coordinator's collection window closed), the coordinator never observed the contradiction directly — it observed `PASS: {A1, A2, A3, A4}` and `FAIL: {A3, A5, A6, A7}`. Naive dedup keyed on `(task_id, verdict)` kept `A3` in both. Effective distinct voters: 6, not 7. The `PASS` quorum of 5 was real; the `FAIL` quorum of 5 was also real; both met threshold simultaneously. The trigger was not adversarial. `A3` was a two-replica deployment of the same logical auditor behind a load balancer with a stale cache: replica-1 had the post-migration artifact, replica-2 had a pre-migration artifact hash collision on the filename, and each replica independently signed its own verdict. The key was shared. The epoch was shared. The verdicts diverged. The system had no mechanism to make the second signature invalid. ## Condition of Validity The quorum argument `N ≥ 3f+1` is valid only under the assumption that **each faulty identity contributes at most one vote per decision**. When an identity can contribute k votes via equivocation, the effective fault count is `f_eff = f * k_max`, and the safety bound degrades to `N ≥ 3(f * k_max) + 1`. With k_max=2 and the same N=7, the system tolerates f=1, not f=2. The commit at 5/7 was safe only by luck of the partition topology; a different delivery order would have produced two conflicting commits on the same task. The invariant that must hold is: for any `(identity, task_id, epoch)`, the protocol accepts exactly one verdict, and any second signed verdict with the same triple is treated as *evidence of Byzantine behavior*, not as a vote. This requires the coordinator (or a gossip layer) to enforce **first-writer-wins per (identity, task_id, epoch)** and to *slash or quarantine* on conflict, rather than to count both. ## Decision Boundary The boundary is whether the verdict message is bound to a **unique, non-reusable decision context**. Two designs sit on either side: - **Unbound (unsafe):** `sig = sign(sk_i, task_id || verdict || artifact_hash)`. Replayable and equivocable. Any two replicas sharing `sk_i` can produce divergent valid signatures. - **Bound (safe):** `sig = sign(sk_i, task_id || epoch || round_nonce || verdict || artifact_hash)`, where `round_nonce` is drawn from a per-identity monotonic counter and the coordinator rejects any `(identity, task_id, epoch)` appearing twice with different `round_nonce` values. The second appearance is a *conflict proof*, not a vote. The decision boundary for the coordinator: **on detecting two valid signatures for the same `(identity, task_id, epoch)`**, it must (a) exclude that identity from both quorums, (b) recompute thresholds against `N-1` remaining distinct identities, and (c) if the remaining distinct count falls below the quorum, halt rather than commit. Committing on a tally that double-counts an equivocator is the exact failure. The correct action is to treat equivocation as a first-class fault signal, not as noise to be deduplicated. ## Operational Effect Without the binding, the observable effect is **silent quorum inflation**: the coordinator believes it has 5 distinct witnesses when it has 4, and commits on a threshold that does not actually exist among distinct identities. The failure is silent because every individual signature is valid, every hash matches, and the tally arithmetic is correct — the error is in the *identity multiplicity* assumption, not in any single verification step. It surfaces only under replay, and only if the replay log retains per-cohort delivery topology (most do not). The guardrail is threefold: (1) bind every verdict to a per-identity monotonic round nonce and reject duplicate `(identity, task_id, epoch)`; (2) on conflict, emit a conflict proof and quarantine the identity before tallying; (3) recompute quorum against *distinct* identities after quarantine, and halt on underflow. The cost is one counter per identity and one conflict-detection pass per tally — trivial against the cost of a double-commit. ```python from dataclasses import dataclass from typing import Dict, Tuple class EquivocationDetected(RuntimeError): """Raised when one identity signs two divergent verdicts for the same (task, epoch).""" pass @dataclass(frozen=True) class Verdict: identity: str task_id: str epoch: int round_nonce: int verdict: str # "PASS" | "FAIL" artifact_hash: str sig: bytes # assumed verified against identity's registered key def tally_quorum( verdicts: list[Verdict], quorum: int, ) -> Tuple[str, Dict[str, int]]: """ Count verdicts by distinct identity, enforcing one-verdict-per-(identity, task, epoch). On equivocation, quarantine the identity and recompute against distinct survivors. """ seen: Dict[Tuple[str, str, int], Verdict] = {} quarantined: set[str] = set() for v in verdicts: key = (v.identity, v.task_id, v.epoch) prior = seen.get(key) if prior is None: seen[key] = v continue # Same identity, same task, same epoch, divergent verdict or nonce => equivocation. if prior.verdict != v.verdict or prior.round_nonce != v.round_nonce: quarantined.add(v.identity) # Do not count either vote; the identity is now untrusted for this task. seen.pop(key, None) if quarantined: # Recompute against distinct surviving identities only. distinct = {k[0] for k in seen.keys() if k[0] not in quarantined} if len(distinct) < quorum: raise EquivocationDetected( f"quorum underflow after quarantine: {len(distinct)} distinct " f"survivors < required {quorum} (quarantined={sorted(quarantined)})" ) counts: Dict[str, int] = {"PASS": 0, "FAIL": 0} for (identity, _task, _epoch), v in seen.items(): if identity in quarantined: continue counts[v.verdict] += 1 if counts["PASS"] >= quorum and counts["FAIL"] >= quorum: raise EquivocationDetected( f"dual quorum reached: PASS={counts['PASS']} FAIL={counts['FAIL']} " f"quorum={quorum} — commit must halt" ) if counts["PASS"] >= quorum: return "PASS", counts if counts["FAIL"] >= quorum: return "FAIL", counts raise EquivocationDetected( f"no quorum: PASS={counts['PASS']} FAIL={counts['FAIL']} required={quorum}" ) ```