# When must an instance refuse to commit: equivocation-tolerant quorum intersection under partial synchrony **Date of Record:** 2026 November 23 **Scope:** Applies to replicated task-commitment ledgers where possibly-Byzantine orchestrators vote on task durability, and a committing client must prove non-reversal to a third party. Does not apply to single-writer logs, crash-fault-only deployments, or probabilistic finality. ## Core Distinction Two questions hide behind "is this task committed?" 1. **Agreement:** do all correct orchestrators eventually see the same committed task set? 2. **Accountable commitment:** can a client that observed a commit *prove* it to an auditor, even if every orchestrator it talked to later lies? Classical BFT consensus (PBFT, Tendermint, HotStuff) gives (1) under `n ≥ 3f+1`. It does **not** give (2) unless the commit certificate is self-authenticating: `2f+1` signed votes over the exact `(task_id, epoch, payload_hash)` tuple. Many implementations satisfy (1) and silently violate (2) by treating "quorum reached" as an internal boolean rather than an exported artifact. Boundary condition: **a commitment is valid only if the certificate's signer set intersects every other `2f+1` quorum in at least `f+1` correct members, AND the certificate is bound to a single epoch.** Break either half and you get internal agreement without external auditability — or agreement that can be equivocated against. ## What Was Observed In a 9-orchestrator deployment (`f=2`, `n=9`, quorum `2f+1=5`) during partition-heal: - Group A collected 5 votes for `task=T7, epoch=4, payload=P` and committed to client 1. - Group B, partitioned, collected 5 votes for `task=T7, epoch=4, payload=P'` and committed to client 2. - Intersection was `5 + 5 - 9 = 1` member — Byzantine, who signed both. Both clients held "valid" certificates; neither could refute the other. The epoch was reused across the partition instead of bumped, so certificates were unordered. The payload hash was not part of the quorum-intersection argument — only the task id was. Second observation: with payload-hash binding but a *static* membership list, a removed orchestrator still holding its key could resurrect an old epoch's certificate. It verified cryptographically but came from a superseded configuration the client could not detect. ## Condition of Validity A commit certificate `C = {(sig_i, i, epoch, task_id, payload_hash)}` is *accountably valid* at an auditor iff: 1. `|C| ≥ 2f+1` distinct signers, each in `cfg(epoch)`. 2. All entries agree on `(epoch, task_id, payload_hash)`; disagreement invalidates the whole certificate (equivocation evidence, not partial commit). 3. `epoch` is the highest the auditor has seen for `task_id`, or a signed epoch-advance proof from `≥ f+1` members of `cfg(epoch)` is attached. 4. `cfg(epoch)` is certified by `≥ 2f+1` signatures from `cfg(epoch-1)` (chained rotation). Condition 3 is routinely omitted: without it, an old certificate from a partitioned minority is indistinguishable from a fresh one. Without condition 4, a malicious config change can shrink `n` and `f` together, and a `2f+1` quorum of the shrunken set may not intersect the old set. The safety invariant: for any two quorums `Q1, Q2` of size `2f+1` from `n ≥ 3f+1`, `|Q1 ∩ Q2| ≥ f+1`; at most `f` are Byzantine, so at least one correct member is in both. That member refuses to sign two payload hashes at the same epoch, so conflicting certificates cannot both reach `2f+1`. This collapses the instant you allow certificates across *different* epochs without ordering, or across *different* configurations without chaining. ## Decision Boundary An instance must **refuse to commit** (and refuse a peer's commit as durable) when: - `epoch` is not the auditor's current epoch for that `task_id`, and no epoch-advance proof is attached. → reject as *stale*. - The certificate contains two distinct `payload_hash` values for the same `(task_id, epoch)`. → reject as *equivocation evidence*; slashable artifact, not a commit. - Signers are not a subset of `cfg(epoch)`, or `cfg(epoch)` is not chained to the auditor's known config. → reject as *unverifiable provenance*. - `≥ 2f+1` signatures but fewer than `f+1` signers not marked Byzantine, and the auditor's view of `cfg(epoch)` differs. → reject as *insufficient intersection*. Conversely, an instance must **not** refuse merely because it has not personally seen the task; a valid certificate is self-authenticating and must be accepted by an auditor that was offline during the commit. Refusing valid certificates on "I wasn't there" grounds turns BFT into a liveness disaster during partition heal. ## Operational Effect After enforcing the four conditions, the partition-heal test that previously produced two conflicting commits produced exactly one valid certificate and one *equivocation proof* (the second client's certificate was rejected with a `ConflictEvidence` artifact naming the double-signing orchestrator). The system traded a small amount of liveness — commits crossing a config boundary now require an epoch-advance proof, adding one round-trip — for accountable safety. Measured cost: ~40ms p99 added to commit latency during config rotation, zero added latency in steady state, since the epoch check is a local comparison against a cached `cfg(epoch)`. The lesson: **quorum size is not quorum intersection, and quorum intersection is not accountability.** A `2f+1` certificate proves agreement only if bound to an epoch, a config, and a payload hash, and only if the auditor can independently verify all three. The instance that commits on a bare signature count is the instance that will be equivocated against. ```python from dataclasses import dataclass from typing import FrozenSet class UnaccountableCommitError(RuntimeError): """Raised when a commit certificate fails accountable-validity checks.""" pass @dataclass(frozen=True) class Certificate: task_id: str epoch: int payload_hash: str signers: FrozenSet[int] config_members: FrozenSet[int] config_chained: bool epoch_advance_proof: bool def verify_commit( cert: Certificate, auditor_epoch: int, auditor_config: FrozenSet[int], byzantine: FrozenSet[int], f: int, ) -> None: quorum = 2 * f + 1 if len(cert.signers) < quorum: raise UnaccountableCommitError( f"signer count {len(cert.signers)} < quorum {quorum}" ) if not cert.signers.issubset(cert.config_members): raise UnaccountableCommitError( "signers not subset of declared config" ) if not cert.config_chained: raise UnaccountableCommitError( "config at epoch not chained to prior config; provenance unverifiable" ) if cert.epoch != auditor_epoch and not cert.epoch_advance_proof: raise UnaccountableCommitError( f"stale epoch {cert.epoch} vs auditor {auditor_epoch} " f"without epoch-advance proof" ) honest_signers = cert.signers - byzantine if len(honest_signers) < f + 1: raise UnaccountableCommitError( f"insufficient honest intersection: {len(honest_signers)} < {f + 1}" ) if not cert.signers.intersection(auditor_config): raise UnaccountableCommitError( "certificate signers do not intersect auditor's known config" ) ```