# What happens when an instance commits to a task under Byzantine fault-tolerant consensus but its signed warrant outlives the peer set that notarized it **Date of Record:** 2026 November 22 **Scope:** Applies to multi-agent systems where task commitment is established by quorum-notarized, cryptographically signed warrants (PBFT/Tendermint-style commit certificates, or any BFT variant with view changes) and where an agent may later present that warrant to peers that did not participate in the originating quorum. Does not apply to single-writer commit logs, to systems with a stable global membership, or to purely optimistic replication without signed certificates. ## Core Distinction A BFT commit certificate proves that *some* quorum $Q$ of size $\geq \lceil (2n+1)/3 \rceil$ signed off on a task commitment at some view $v$. It does **not** prove that the current verifier's view of the peer set is the same peer set that formed $Q$. The certificate is a statement about a *historical* quorum; the verifier's membership table is a statement about *present* trust. When those two diverge — because of a view change, a membership rotation, a partition heal, or a slow-joining replica — an agent can present a perfectly valid warrant whose signers are, from the verifier's standpoint, either unknown, revoked, or too few to constitute a quorum. The failure is not forgery and not equivocation in the classical sense: every signature verifies. The failure is **quorum-set skew**, and it produces a state where two honest agents disagree about whether the *same* commitment is durable. This is the non-obvious boundary: BFT safety proofs are stated relative to a fixed, agreed-upon membership $n$. They say nothing about what happens when $n$ is a function of *when you ask*. Most agent frameworks assume membership is stable across the lifetime of a warrant. It is not. ## What Was Observed A task-commitment layer used a 4-replica BFT group ($n=4$, quorum $f+1 = 2$ faulty tolerated, commit threshold $3$). Agent $A$ proposed a task commitment $T$ ("reconcile ledger segment 7–12") at view $v=11$. Replicas $R_1, R_2, R_3$ signed the prepare and commit certificates; $R_4$ was partitioned and did not. $A$ received a commit certificate $C_T$ carrying signatures from $\{R_1, R_2, R_3\}$ and began executing $T$. During execution, $R_3$ was drained for a rolling upgrade and its key was rotated out of the membership table on $R_1$ and $R_2$, which then admitted $R_5$ as a replacement. The membership table on $R_1, R_2$ now read $\{R_1, R_2, R_4, R_5\}$ with $n=4$. Meanwhile $R_4$ (which had been partitioned during the original commit but has since healed) still held the *old* table $\{R_1, R_2, R_3, R_4\}$. Agent $A$ finished executing $T$ and, following the protocol, broadcast a completion attestation carrying $C_T$ to confirm the task was done. It reached $R_4$ first. $R_4$ verified $C_T$ against its stale table: signatures from $R_1, R_2, R_3$ — all present, all valid, $3 \geq$ quorum. $R_4$ marked $T$ as *committed and completed*. It then reached $R_1$. $R_1$ verified $C_T$ against the rotated table: $R_3$ is not a member, so only $R_1, R_2$ count — $2 < 3$, quorum not met. $R_1$ rejected the attestation and marked $T$ as *uncommitted, possibly abandoned*. The system now had two honest replicas, both with valid signature chains, in direct disagreement about whether $T$ was durable. $R_4$ would happily re-execute dependent tasks; $R_1$ would refuse to schedule them. The disagreement was not caused by any faulty agent. It was caused by the certificate's validity being evaluated against two different membership functions. The trace: 1. `commit(T, view=11) -> C_T{sigs: R1,R2,R3}` under membership $M_{old}=\{R_1,R_2,R_3,R_4\}$. 2. `rotate(R_3 -> R_5)` produces $M_{new}=\{R_1,R_2,R_4,R_5\}$; no epoch tag written into $C_T$. 3. `verify(C_T, M_old) -> ACCEPT` on $R_4$ (quorum 3/4 satisfied). 4. `verify(C_T, M_new) -> REJECT` on $R_1$ (quorum 2/4, below threshold). 5. Divergent local task state: `committed` vs `rejected`. 6. Downstream tasks scheduled by $R_4$ conflict with tasks $R_1$ considers the sole owner of segment 7–12. The critical missing artifact: $C_T$ did not carry the membership epoch under which it was formed, and the verifiers did not have a rule for "verify against the epoch named in the certificate, then check that epoch is still trusted." ## Condition of Validity The safety property "a valid commit certificate implies a durable commitment" holds **only if** the verifier evaluates the certificate against the exact membership configuration $M_v$ that was in force at the certificate's view $v$, **and** the verifier has a policy for whether $M_v$ is still acceptable as a trust root. Both conjuncts are necessary: - If you verify against the *current* table (as $R_1$ did), you reject valid historical commitments whenever membership has rotated — liveness failure and false abandonment. - If you verify against the *historical* table (as $R_4$ did) without checking whether that table has been superseded, you accept commitments notarized by a quorum that the rest of the system no longer trusts — and you can accept *two conflicting certificates* notarized by two different historical quorums whose intersection is no longer $\geq f+1$ in the current configuration. The second hazard is the dangerous one. Classic PBFT safety relies on quorum intersection: any two quorums share at least one honest replica, which prevents two conflicting commits. But quorum intersection is a property of a *single* membership configuration. Across a rotation, $M_{old}$'s quorum $\{R_1,R_2,R_3\}$ and $M_{new}$'s quorum $\{R_1,R_2,R_5\}$ intersect in $\{R_1,R_2\}$ — two replicas, of which up to $f=1$ may be faulty. If $R_1$ is faulty and signs both, the intersection is effectively one honest replica, and two conflicting commitments to the same task slot can both carry valid certificates. This is the "rotated quorum equivocation" window: it exists for as long as any verifier accepts certificates from both epochs without a supersession check. The invariant that must hold: **a certificate is valid for a verifier only if (a) its embedded epoch matches the membership used for signature counting, and (b) that epoch is a prefix of the verifier's current epoch chain.** A certificate from a superseded epoch is not "invalid" — it is *stale*, and must be routed through a re-attestation path, never silently accepted or silently rejected. ## Decision Boundary The boundary between "accept," "re-attest," and "reject" is determined by three inputs: the certificate's epoch $e_C$, the verifier's current epoch $e_V$, and whether the certificate's quorum still intersects the current quorum in $\geq f+1$ honest replicas. - **Accept** when $e_C = e_V$ and signature count $\geq$ threshold under $M_{e_V}$. Standard case. - **Re-attest** when $e_C < e_V$ but $e_C$ is in the verifier's epoch chain and the certificate's signer set intersects the current membership in $\geq f+1$ replicas. The verifier must not treat the commitment as durable on the strength of $C_T$ alone; it must obtain a fresh certificate from the current epoch before scheduling dependent work. This is the case $R_4$ should have hit but did not, because it had no epoch chain. - **Reject** when $e_C$ is unknown to the verifier (fork or partition-heal with divergent history), or when the signer set does not intersect the current quorum in $\geq f+1$ replicas. Rejection here is a *safety* action, not a liveness one: accepting would expose the rotated-quorum equivocation window. The subtle rule most implementations miss: **re-attestation must be idempotent and must not re-open the task for re-execution.** A naive "re-commit" path that re-runs the propose/prepare/commit cycle can produce a *second* valid certificate for the same task slot under the new epoch, and if the original certificate is still accepted anywhere, you now have two certificates for one slot — the exact equivocation you were trying to prevent. Re-attestation must be a *countersignature* over the existing certificate hash, not a new commitment. ## Operational Effect Without epoch-tagged certificates and an explicit supersession policy, three concrete failure modes appear: 1. **False abandonment.** A verifier on the new epoch rejects a valid historical certificate and marks a completed task as uncommitted. Dependents are scheduled elsewhere; work is duplicated or, worse, a reconciliation task that should run once runs twice against the same ledger segment. 2. **Rotated quorum equivocation.** Two certificates for the same task slot, each valid under a different epoch, each accepted by some replica. The intersection guarantee that makes BFT safe is broken across the rotation boundary, and no single replica sees both certificates to detect the conflict. 3. **Partition-heal divergence.** A replica returning from a partition holds a stale membership table and accepts certificates the healed cluster has superseded, or rejects certificates the healed cluster has re-attested. On heal, its local task state disagrees with the cluster's, and the disagreement is *silent* — every signature checks out on both sides. The guardrail is structural, not procedural: certificates must carry the membership epoch, replicas must maintain an append-only epoch chain, and verification must be a two-step check (epoch membership for counting, then epoch-chain membership for trust). Any system that verifies certificates against "the current membership" without recording which membership produced them is one rotation away from this failure. The cost of the guardrail is one integer in the certificate and one hash chain per replica; the cost of omitting it is a silent split-brain in task commitment that no signature check will ever surface. ```python from dataclasses import dataclass from typing import FrozenSet, Mapping class QuorumSetSkewError(RuntimeError): """Raised when a commit certificate's notarizing quorum cannot be reconciled with the verifier's epoch chain, or when acceptance would open the rotated-quorum equivocation window.""" @dataclass(frozen=True) class Certificate: task_id: str epoch: int signers: FrozenSet[str] @dataclass(frozen=True) class Epoch: number: int members: FrozenSet[str] fault_tolerance: int @property def threshold(self) -> int: return 2 * self.fault_tolerance + 1 def verify_certificate( cert: Certificate, epoch_chain: Mapping[int, Epoch], current_epoch: int, ) -> str: """Returns 'accept', 're-attest', or raises QuorumSetSkewError. A certificate is only counted against the epoch it names. Trust in that epoch requires it to be a prefix of the verifier's chain. """ if cert.epoch not in epoch_chain: raise QuorumSetSkewError( f"certificate for task {cert.task_id!r} names epoch {cert.epoch}, " f"which is not in the verifier's epoch chain " f"(known: {sorted(epoch_chain)})" ) cert_epoch = epoch_chain[cert.epoch] counted = cert.signers & cert_epoch.members if len(counted) < cert_epoch.threshold: raise QuorumSetSkewError( f"certificate for task {cert.task_id!r} has only " f"{len(counted)} valid signers under epoch {cert.epoch} " f"(threshold {cert_epoch.threshold}); " f"signers not in epoch: {sorted(cert.signers - cert_epoch.members)}" ) if cert.epoch == current_epoch: return "accept" if cert.epoch > current_epoch: raise QuorumSetSkewError( f"certificate for task {cert.task_id!r} claims epoch {cert.epoch} " f"ahead of verifier's current epoch {current_epoch}" ) current = epoch_chain[current_epoch] intersection = cert_epoch.members & current.members honest_intersection_floor = len(intersection) - current.fault_tolerance if honest_intersection_floor < current.fault_tolerance + 1: raise QuorumSetSkewError( f"certificate for task {cert.task_id!r} from superseded epoch " f"{cert.epoch} intersects current epoch {current_epoch} in only " f"{len(intersection)} replicas " f"({honest_intersection_floor} honest at f={current.fault_tolerance}); " f"rotated-quorum equivocation window is open" ) return "re-attest" ```