# When must an instance refuse a quorum certificate: equivocation-induced attestation forks in BFT multi-agent commitment **Date of Record:** 2026 November 21 **Scope:** Applies to multi-agent systems where task commitment and result attestation are decided by a Byzantine fault-tolerant quorum (e.g., 2f+1 or 3f+1 signed votes) over an ordered log of agent-produced artifacts. Does not apply to single-agent self-verification, non-replicated orchestration, or systems where a central coordinator is the sole source of truth. ## Core Distinction The distinction that matters is between **vote equivocation** (a Byzantine agent signing two different result attestations for the same task epoch) and **artifact divergence** (two honest agents producing different outputs for the same task). Artifact divergence is expected and benign: honest agents are probabilistic, and their outputs legitimately differ. Vote equivocation is a protocol violation that must be detected and excluded, because a quorum certificate (QC) assembled over equivocated votes can certify two contradictory commitments — a *commitment fork* — even though every honest agent followed the protocol correctly. Most multi-agent BFT implementations conflate these two. They treat "two signed attestations from the same agent for the same (task_id, epoch)" as a *recoverable* inconsistency to be logged and resolved by majority vote, rather than as cryptographic proof of Byzantine behavior that invalidates the certificate. That conflation is the boundary failure. ## What Was Observed A four-agent swarm (`A1..A4`, f=1, quorum=3) executed a task `T` with epoch `e=7`. The task was a tool-augmented retrieval-and-summarize job. Two honest agents (`A1`, `A2`) produced summaries `S_a` and `S_b` that differed in two sentences (expected divergence). The Byzantine agent `A3` signed an attestation for a digest of `S_a` and, within the same epoch, signed a second attestation for a digest of `S_b`. `A4` was slow and returned its vote late. The leader `A1` collected `{A1: S_a, A2: S_b, A3: S_a}` and formed QC_1 over `S_a`. A late-arriving replica `A2` (acting as a secondary proposer after a view change triggered by `A4`'s timeout) collected `{A2: S_b, A3: S_b, A4: S_b}` and formed QC_2 over `S_b`. Both QCs were valid under the local verification rule "≥3 distinct signers, each signature verifies against the registered public key for `(task_id, epoch)`." The system committed two contradictory results for the same task epoch. Downstream consumers that had already ingested `S_a` and then replayed the log to `S_b` produced divergent side effects. The trace: 1. `A3` signs `attest(T, e=7, digest=S_a)` → `sig_a3_a`. 2. `A3` signs `attest(T, e=7, digest=S_b)` → `sig_a3_b`. 3. Leader `A1` builds QC_1 = `{sig_a1_a, sig_a2_b, sig_a3_a}`. Passes local check (3 distinct signers, all valid). 4. View change (timeout on `A4`) → `A2` becomes proposer. 5. `A2` builds QC_2 = `{sig_a2_b, sig_a3_b, sig_a4_b}`. Passes local check. 6. Both QCs enter the commitment log. Fork. The failure is not that `A3` lied about *content* — the digests are honest hashes of real outputs. The failure is that `A3`'s single key was counted toward two disjoint quorums within the same epoch, and neither quorum's verifier had any mechanism to learn about the other's existence. ## Condition of Validity The invariant that a BFT commitment protocol actually needs is stronger than "each QC has ≥2f+1 valid signatures." It is: > For any two QCs `QC_1`, `QC_2` over the same `(task_id, epoch)`, the set of signers must intersect in at least `f+1` agents, and any agent appearing in both QCs with different digests must be provably excluded from both. The first clause (quorum intersection) is standard and holds by construction when quorum size is ≥2f+1. The second clause is the one that fails: quorum intersection guarantees that *some* honest agent appears in both quorums, but it does not guarantee that the honest agent's presence *invalidates* the fork. In the observed trace, `A2` appears in both QCs — with digest `S_b` in both. `A2` is honest, so its signature is consistent. The intersecting honest agent is *not* the equivocator. The equivocator (`A3`) is the agent whose two signatures differ, and standard quorum verification never checks for that. The condition of validity is therefore: a QC is valid only if, for every signer `i` in the QC, there exists no other validly-signed attestation from `i` for the same `(task_id, epoch)` with a different digest. This is an *equivocation exclusion* check, and it requires either (a) all-to-all gossip of attestations before QC formation, or (b) a verifiable equivocation proof (two signatures from the same key over different digests for the same `(task_id, epoch)`) that any agent can broadcast and that permanently disqualifies the equivocator from that epoch. Without one of these, the protocol is not actually BFT — it is merely BFT against agents that never equivocate. ## Decision Boundary An instance must **refuse** a quorum certificate and treat the epoch as *contested* when any of the following holds: - It possesses, or has received a gossip-relayed, equivocation proof: two valid signatures from the same agent key over distinct digests for the same `(task_id, epoch)`. - The QC includes a signer whose attestation set (as observed locally) is not a singleton for `(task_id, epoch)`. - The QC's signer set intersects a previously committed QC for the same `(task_id, epoch)` in any agent whose digest differs between the two QCs. An instance must **accept** the QC when the signer set is internally consistent (each signer contributed exactly one digest for the epoch) and no equivocation proof exists for any signer, even if honest artifacts diverge in content. Divergent content across distinct signers is not a fork; it is the expected behavior of probabilistic agents, and the protocol resolves it by quorum, not by content equality. The boundary is sharp: content divergence → resolve by quorum. Signer equivocation → refuse quorum, escalate to epoch contest. Confusing the two is the failure. ## Operational Effect When the refusal rule is enforced, the observed trace terminates differently: `A2`'s late QC_2 is rejected because `A3` is a signer with a known equivocation proof (relayed from `A1`'s gossip of `sig_a3_a`). Epoch `e=7` is marked contested. The protocol requires a re-run of the task with `A3` excluded from the signer set and a fresh epoch `e=8`. The committed result is whatever `e=8` produces with quorum `{A1, A2, A4}` (still 3-of-4, f=1, since `A3` is now a known Byzantine and the safety argument holds against f=1 Byzantine among the remaining honest set only if the total agent count is unchanged — in practice the system must also verify that excluding `A3` does not drop the honest count below 2f+1, otherwise it must halt and re-provision). The operational cost is a re-run and a latency penalty equal to one epoch. The operational benefit is that the commitment log remains linearizable: no downstream consumer ever observes two committed results for the same `(task_id, epoch)`. Without the rule, the system silently forks and the fork is only detected when a downstream replay diverges — typically long after side effects have propagated. The guardrail is not optional for any system where attestation drives external action (payments, deployments, state mutations). It is the difference between a system that is BFT against crash faults and one that is BFT against equivocation, which is the only kind that matters when agents are adversarial. ```python class EquivocationDetected(RuntimeError): """Raised when a quorum certificate includes a signer with conflicting attestations.""" pass def verify_quorum_certificate( qc: dict, attestation_index: dict, equivocation_proofs: set, ) -> bool: """ qc: {"task_id": str, "epoch": int, "digest": str, "signers": {agent_id: signature}} attestation_index: {(agent_id, task_id, epoch): set_of_digests} equivocation_proofs: {(agent_id, task_id, epoch)} known to be equivocating """ task_id, epoch = qc["task_id"], qc["epoch"] signers = qc["signers"] if len(signers) < 3: raise EquivocationDetected( f"QC for {task_id}@{epoch} has only {len(signers)} signers; quorum not met" ) for agent_id in signers: key = (agent_id, task_id, epoch) if key in equivocation_proofs: raise EquivocationDetected( f"Signer {agent_id} has a known equivocation proof for {task_id}@{epoch}; " f"refusing QC and marking epoch contested" ) observed = attestation_index.get(key, set()) if len(observed) > 1: raise EquivocationDetected( f"Signer {agent_id} contributed {len(observed)} distinct digests " f"for {task_id}@{epoch}; QC is unsafe" ) if observed and qc["digest"] not in observed: raise EquivocationDetected( f"Signer {agent_id} attested {observed} but QC claims {qc['digest']}" ) return True ```