# Where must an instance refuse to sign a commitment certificate when its own attestation quorum overlaps a peer's equivocation set? **Date of Record:** 2026 December 1 **Scope:** Applies to multi-agent task-commitment protocols where agents sign per-task commitment certificates and quorum is computed over a fixed validator set with Byzantine tolerance f = ⌊(n−1)/3⌋. Does not apply to single-agent retry loops, leaderless gossip dissemination without signed commitments, or systems using threshold signatures where the quorum is cryptographically collapsed into one aggregate. ## Core Distinction The common framing of Byzantine fault tolerance assumes the danger is *insufficient* quorum: an agent signs when it has not seen enough peer attestations, so a minority can push through a bad commitment. The non-obvious boundary is the inverse: an agent that has *exactly* enough attestations to reach quorum can still be signing a certificate that is provably unsafe, because the attestation set it collected is not disjoint from the equivocation set a peer is simultaneously building for the same task slot. The distinction that matters operationally is between **quorum cardinality** (did I collect ≥ 2f+1 signatures?) and **quorum disjointness** (does my 2f+1 intersect every other valid 2f+1 in at most f nodes, *and* is at least one node in my set known not to be equivocating?). Cardinality is a local count. Disjointness is a global property that a single instance cannot verify from its own inbox alone — but it *can* detect the precondition for its violation if it tracks per-signer equivocation evidence before sealing. ## What Was Observed A three-agent commitment ring (validators A, B, C; n=3, f=0 for the cardinality threshold but the protocol ran at n=7, f=2 in the failing deployment; the small case is the minimal repro). Agent A is the committing instance. It broadcasts `PROPOSE(task_id=T, epoch=e)` and collects attestations. Trace of the failure: 1. A receives `ATTEST(T, e, signer=B, view=1)` and `ATTEST(T, e, signer=C, view=1)`. 2. Concurrently, B has entered view 2 (a view change triggered by a timeout A did not observe) and is collecting `ATTEST(T, e, signer=D, view=2)` and `ATTEST(T, e, signer=E, view=2)`. 3. A's local count reaches 2f+1 = 5 using signers {B, C, D, E, F} — but B and D each signed *twice* across views 1 and 2 for the same `(T, e)`. A's set includes B and D, whose signatures are equivocal. 4. A seals the commitment certificate. B seals a competing certificate for the same `(T, e)` using {B, D, F, G, A?} — and crucially, B's set and A's set intersect in {B, D, F}, which is 3 > f = 2. Two certificates for the same task slot now exist with intersection exceeding the fault bound. Safety is violated: the two certificates cannot both be justified under the protocol's own assumption that at most f nodes are faulty, because the intersection contains at least one honest node that signed both — meaning an honest node double-signed, which the protocol claimed was impossible. The root cause is not that A miscounted. A counted correctly. The root cause is that A's attestation set contained signers whose *own* attestation histories were internally inconsistent (same task, same epoch, different view), and A did not run an equivocation check on the signer set before sealing. The quorum was cardinality-valid and disjointness-invalid. The minimal detector: for each signer s in the candidate quorum, require that s's attestation for `(T, e)` is unique across all views s has published. If any signer has two distinct attestations for the same `(T, e)`, that signer is equivocating and must be excluded from *both* the numerator and the denominator of the quorum computation — not merely flagged, because flagging without exclusion still lets the signer's signature count toward 2f+1. ## Condition of Validity The invariant that must hold before an instance seals any commitment certificate is: > For a candidate quorum Q of size ≥ 2f+1 over validator set V, |Q| ≥ 2f+1 **and** for every s ∈ Q, s has exactly one attestation for `(T, e)` across all views observed by the sealing instance **and** the sealing instance has not itself observed any conflicting attestation from any s ∈ Q for the same `(T, e)`. This is strictly stronger than the standard quorum rule. It is *not* satisfiable by local counting alone when views have diverged, because A cannot see B's view-2 attestations unless B gossips them. Therefore the invariant must be enforced at seal time by a *reconciliation pass*: A must request, from each signer in Q, that signer's full attestation history for `(T, e)` (a bounded, verifiable set — at most one per view), and must reject any signer whose history is non-singleton. The condition fails when: - The sealing instance has not observed a view change that a peer has entered (partial view visibility). - The protocol allows re-signing across views without invalidating prior signatures (view-scoped signatures without cross-view uniqueness). - The fault bound f is used only as a cardinality slack rather than as a disjointness budget. The condition holds when the validator set is static, view changes are gossiped with bounded delay, and each signer's attestation is a function of `(T, e, view)` with a monotonic view counter that the sealing instance can verify. ## Decision Boundary The decision boundary is whether to **seal**, **defer**, or **abort** when the candidate quorum is cardinality-valid but contains at least one signer with an equivocation witness. - **Seal** only if all signers in Q have singleton attestation histories for `(T, e)` as observed by the sealing instance *and* the instance has completed a reconciliation pass against every signer in Q. This is the safe path but costs one round-trip per signer. - **Defer** if the instance cannot complete reconciliation within the commitment deadline (e.g., a signer is unreachable). Deferral is not failure; it is the correct response to unverifiable disjointness. The instance must not seal on a timeout, because a timeout is exactly the condition under which view divergence is most likely. - **Abort** if any signer in Q is proven equivocal (two distinct attestations for the same `(T, e)` observed by the sealing instance). Abort must also emit an equivocation proof to the validator set so the signer is slashed and removed from future quorums; otherwise the same signer poisons the next round. The boundary is sharp: there is no "seal with a warning." A certificate sealed over an equivocal quorum is not a weaker certificate; it is an invalid one that can coexist with a conflicting valid certificate, and the protocol has no mechanism to retract it once peers have accepted it. ## Operational Effect The operational consequence is that commitment latency becomes a function of reconciliation completeness, not of signature collection. In the failing deployment, A sealed in 40 ms (signature collection) but the certificate was invalid; the correct path would have taken one additional reconciliation round (~120 ms in the same network) and would have detected B's view-2 attestation, excluded B and D, and found the quorum unsatisfiable — correctly deferring rather than sealing. The second effect is that the fault budget f must be spent on *disjointness*, not *cardinality slack*. A protocol that tolerates f equivocators must ensure that any two valid quorums intersect in at most f nodes, which for 2f+1 quorums over n = 3f+1 requires n ≥ 3f+1 and forbids any signer with a non-singleton history from counting. Systems that treat 2f+1 as a simple majority threshold and ignore signer history will seal unsafe certificates under view divergence — and will do so silently, because the local count is always correct. The guardrail is a pre-seal equivocation check that is *mandatory and blocking*: no certificate is emitted until every signer in the candidate quorum has been reconciled against its own published attestation history for the task slot. This is the only invariant that bounds the boundary, and it must be enforced at the sealing instance, not delegated to an auditor, because the auditor sees the certificate only after it exists. ```python class EquivocalQuorumError(RuntimeError): """Raised when a candidate commitment quorum contains a signer with a non-singleton attestation history for the same (task_id, epoch).""" pass def seal_commitment_certificate( task_id: str, epoch: int, candidate_quorum: dict[str, list[dict]], fault_bound: int, ) -> dict: """ candidate_quorum maps signer_id -> list of attestations that signer has published for (task_id, epoch), each {view, signature}. The sealing instance must supply the full history it has observed per signer, not just the latest attestation. Invariant: quorum size >= 2f+1 AND every signer's history is singleton. """ required = 2 * fault_bound + 1 if len(candidate_quorum) < required: raise EquivocalQuorumError( f"quorum too small: {len(candidate_quorum)} < {required}" ) equivocators = [] for signer, history in candidate_quorum.items(): distinct_views = {att["view"] for att in history} if len(distinct_views) > 1: equivocators.append((signer, sorted(distinct_views))) if equivocators: # Do not seal. A certificate over an equivocal quorum can coexist # with a conflicting valid certificate (intersection > f), which # violates safety. Emit proof and abort. raise EquivocalQuorumError( f"refusing to seal {task_id}@{epoch}: equivocating signers " f"{equivocators} would make quorum intersection exceed f={fault_bound}" ) return { "task_id": task_id, "epoch": epoch, "signers": sorted(candidate_quorum.keys()), "fault_bound": fault_bound, "sealed": True, } ```