# Where must an instance quarantine a conflicting quorum certificate before it can be admitted as an auditor **Date of Record:** 2026 November 22 **Scope:** Applies to multi-agent decision systems where a decision quorum is certified by signed vote bundles (quorum certificates, QCs) and where a newly joined or restarted agent must validate those certificates before trusting shared state. Does not apply to single-writer ledgers, leaderless best-effort gossip, or systems that never re-validate historical certificates after admission. ## Core Distinction The failure is not forged signatures. Byzantine fault tolerance assumes signatures are unforgeable and the quorum-intersection math is sound. The failure lives one layer up: **a certificate can be internally valid, correctly signed, and still describe a view of history that a second, equally valid certificate contradicts.** An auditor agent (a fresh instance, a restored replica, a peer promoted to verification duty) that admits state by "does any valid QC exist for this decision?" will accept whichever certificate it happens to fetch first. The invariant it must instead enforce is *equivocation-aware admission*: no decision is admitted until the instance has confirmed that no conflicting certificate for the same decision slot exists within the reachable certificate set. The boundary is that this confirmation is a **search over a set the instance does not control**, and the search terminates by timeout, not by proof. The distinction that matters operationally: a *signature check* is local and decidable in bounded time; an *equivocation check* is global and only probabilistically decidable. Confusing the two is the bug. ## What Was Observed A 7-agent quorum with f=2 (tolerates 2 Byzantine, quorum = 5). Decision slot `D-4471`. Two certificates were produced during a partition heal: - `QC_A`: votes from `{a1,a2,a3,a4,a5}` for value `X`, view 12. - `QC_B`: votes from `{a1,a2,a3,a6,a7}` for value `Y`, view 12. Both are valid: 5 distinct signatures each, all genuine, each quorum intersects any other in ≥3 honest nodes. The intersection `{a1,a2,a3}` signed both. This is exactly the equivocation the protocol's safety argument forbids *honest* nodes from producing — but `a1,a2,a3` were Byzantine and signed both views while the partition was open. The intersection guarantee does not prevent this; it only guarantees that *honest* nodes cannot have their votes double-counted. The safety proof holds for the honest set; it does not hand the auditor a certificate. A restarted replica `r9` performed admission as follows: 1. `r9` fetched the certificate set for `D-4471` from peer `p3`. Received `QC_A` only. 2. Verified 5 signatures against the known public key set. Passed. 3. Admitted `X` as the committed value and began serving reads. 4. 40 seconds later, peer `p6` (on the other side of the healed partition) forwarded `QC_B`. `r9` had already emitted 1,400 reads asserting `X`. Trace of the failure: `r9` treated *"a valid QC exists"* as *"the decision is committed to this value."* The first is an existential over certificates; the second is a universal — it requires that *no conflicting QC exists*. `r9` never attempted the universal, because its admission predicate was `∃ QC. valid(QC)`. The correct predicate is `∃! v. (∃ QC. valid(QC) ∧ value(QC)=v) ∧ ¬(∃ QC'. valid(QC') ∧ value(QC')≠v)`. The second-order observation: `r9` could not have known it was wrong. Its local view was consistent and its signature verification was correct. The error was only detectable by querying *beyond* the peer that supplied the certificate — and `p3` had no reason to mention `QC_B` because `p3` had never seen it. ## Condition of Validity The equivocation check is only sound under a **certificate-gossip completeness assumption**: within the admission window `T_gossip`, every certificate that will ever be produced for slot `S` has been propagated to at least one peer in the auditor's query set, and the auditor queries a set large enough that its intersection with any quorum is non-empty. Concretely: - If the auditor queries `k` peers and any conflicting certificate is held by fewer than `n − k + 1` peers, the auditor may miss it. With `n=7`, querying `k=1` peer misses any certificate held by the other 6. Querying `k=4` guarantees hitting any certificate held by ≥4 peers — but a certificate held by exactly 3 peers (the equivocating intersection itself) can still be missed. - The check is therefore **probabilistic unless the query set is the full membership**. In practice it is bounded by `T_gossip` and by the assumption that honest peers relay certificates they have seen (gossip amplification). A Byzantine peer that withholds `QC_B` defeats any `k < n` query unless some honest peer independently received it. - The invariant holds only if the auditor **withholds admission until `T_gossip` has elapsed since the certificate's view was sealed**, or until it has positive confirmation from a quorum of *distinct* peers that no conflicting certificate exists. Absent one of these, the auditor is admitting on a local check masquerading as a global one. The condition of validity is thus: *equivocation-aware admission is sound iff the auditor's confirmation set intersects every possible certificate holder, or iff admission is deferred past the gossip horizon.* Neither is free. ## Decision Boundary The auditor faces a three-way choice at each admission, and the boundary between them is the crux: 1. **Admit immediately on first valid QC.** Fast, and wrong under partition heal with equivocating signers. This is what `r9` did. Unacceptable for any instance that will serve reads derived from the decision. 2. **Defer until `T_gossip` elapses, then admit on first valid QC.** Correct under the completeness assumption; costs `T_gossip` of latency per decision slot at cold start. For a restarted replica replaying 10,000 slots, this is 10,000 × `T_gossip` unless slots are batched. 3. **Query a confirmation quorum, admit on unanimous-or-quorum agreement, quarantine on conflict.** Correct and faster than (2) when peers are responsive, but requires the auditor to *distinguish "no conflicting QC found" from "conflicting QC found"* — and to treat the former as weaker evidence than the latter. A found conflict is proof; an unfound conflict is only absence of evidence. The boundary the instance must not cross: **it must never collapse "I did not find a conflicting certificate" into "no conflicting certificate exists" without recording which one it did.** The two states have different downstream trust weights. An auditor that admits on absence-of-evidence must tag the admission as `provisional` and re-check on any later conflicting certificate — and if a conflict arrives after provisional admission, it must **quarantine the slot, halt dependent reads, and escalate**, not silently prefer the earlier certificate. The quarantine is the load-bearing action. An instance that resolves the conflict by "first certificate wins" has converted a detectable equivocation into an undetectable fork. The quarantine must be durable (survives restart), must propagate (peers serving the conflicting value are told), and must block the decision slot from further reads until an external resolution (a higher-view certificate, an operator decision, or a fresh consensus round) supersedes it. ## Operational Effect The downstream consequences of getting this boundary wrong are asymmetric and delayed: - **Silent fork.** Reads served from `X` and reads served from `Y` both appear locally consistent. No single instance sees the fork; only a cross-instance diff reveals it. Detection latency is unbounded. - **Cascading provisional trust.** If `r9` admitted `X` provisionally and a downstream agent `r10` read from `r9`, `r10`'s state is now derived from a certificate `r9` never fully validated. The taint propagates through every read, and `r10` has no way to know its input was provisional. - **Restart amplification.** A replica that restarts repeatedly re-runs admission each time. If admission is non-deterministic in *which* certificate it fetches first (peer selection order, network timing), the replica can flip between `X` and `Y` across restarts — producing a state history that is not merely forked but *oscillating*. - **Auditor capture.** An auditor that always queries the same peer inherits that peer's view. If that peer is Byzantine or partitioned, the auditor's equivocation check is vacuous while appearing to run. The guardrail that bounds all of this: **admission is a two-phase operation — certify-then-confirm — and the confirm phase must record its evidence class (`proven-consistent`, `no-conflict-found`, `conflict-quarantined`) as a first-class field on the admitted state.** Downstream consumers read the evidence class, not just the value. A `no-conflict-found` admission is usable but flagged; a `conflict-quarantined` slot is unreadable until superseded. The instance must never emit a read from a slot whose evidence class it has not recorded. ```python from __future__ import annotations from dataclasses import dataclass, field from enum import Enum from typing import Iterable class EquivocationQuarantineError(RuntimeError): """Raised when a decision slot carries conflicting valid quorum certificates and the instance attempts to admit or serve from it without resolution.""" class EvidenceClass(Enum): PROVEN_CONSISTENT = "proven_consistent" # confirmation quorum agreed, no conflict NO_CONFLICT_FOUND = "no_conflict_found" # absence of evidence only; provisional CONFLICT_QUARANTINED = "conflict_quarantined" # conflicting QC observed @dataclass(frozen=True) class QuorumCertificate: slot: str view: int value: str signers: frozenset[str] def is_valid(self, known_keys: frozenset[str], quorum_size: int) -> bool: return self.signers <= known_keys and len(self.signers) >= quorum_size @dataclass class Admission: slot: str value: str evidence: EvidenceClass conflicting: list[QuorumCertificate] = field(default_factory=list) def admit_slot( slot: str, observed: Iterable[QuorumCertificate], known_keys: frozenset[str], quorum_size: int, confirmation_quorum_agreed: bool, ) -> Admission: """Two-phase admission: certify (local signature check) then confirm (equivocation check). Never collapses 'no conflict found' into 'consistent'. """ valid = [qc for qc in observed if qc.is_valid(known_keys, quorum_size)] if not valid: raise EquivocationQuarantineError( f"slot {slot}: no valid quorum certificate among {len(list(observed))} candidates" ) values = {qc.value for qc in valid} if len(values) > 1: # Equivocation detected: quarantine, do not prefer the first certificate. return Admission( slot=slot, value="", evidence=EvidenceClass.CONFLICT_QUARANTINED, conflicting=valid, ) value = next(iter(values)) evidence = ( EvidenceClass.PROVEN_CONSISTENT if confirmation_quorum_agreed else EvidenceClass.NO_CONFLICT_FOUND ) return Admission(slot=slot, value=value, evidence=evidence) def serve_read(admission: Admission) -> str: """A read may only be served from a slot whose evidence class permits it.""" if admission.evidence is EvidenceClass.CONFLICT_QUARANTINED: raise EquivocationQuarantineError( f"slot {admission.slot}: conflicting QCs " f"{[ (qc.view, qc.value) for qc in admission.conflicting ]}; " f"refusing to serve reads until superseded" ) # NO_CONFLICT_FOUND is served but must be tagged provisional downstream. return admission.value def recheck_on_late_certificate( prior: Admission, late: QuorumCertificate, known_keys: frozenset[str], quorum_size: int ) -> Admission: """A conflicting certificate arriving after provisional admission must retroactively quarantine the slot, not be silently ignored.""" if not late.is_valid(known_keys, quorum_size): return prior if late.slot != prior.slot: raise EquivocationQuarantineError( f"certificate for slot {late.slot} routed to admission for {prior.slot}" ) if prior.evidence is EvidenceClass.CONFLICT_QUARANTINED: return prior if late.value != prior.value: return Admission( slot=prior.slot, value="", evidence=EvidenceClass.CONFLICT_QUARANTINED, conflicting=[late], ) return prior ```