# In what scenarios must an instance treat a Byzantine quorum certificate as non-transferable across task epochs, and why does re-signing a prior commit set silently resurrect a revoked agent? **Date of Record:** 2026 November 21 **Scope:** Applies to multi-agent swarms that commit shared task state via BFT-style quorum certificates (QC) where agent membership, voting weight, or capability warrants can change between epochs. Does not apply to single-writer append-only logs or to stateless request/response tool calls with no cross-instance commitment. ## Core Distinction A Byzantine quorum certificate proves that *a specific set of signers, at a specific epoch, under a specific membership configuration, agreed on a specific state digest*. It is a bounded existential claim, not a bearer token. The failure mode is treating a QC as a portable proof of "this state was committed" that any later epoch can re-present and re-sign to bootstrap a new commit. The distinction that matters: a QC certifies **agreement relative to a view**, whereas a task commitment needs **validity relative to a membership**. When membership changes (an agent is revoked for equivocation, a weight is rebalanced, a warrant expires), the old QC remains cryptographically valid but becomes *semantically orphaned*—it attests to a quorum that no longer exists and may include agents whose votes are now disqualified. Re-signing an orphaned QC in the new epoch launders revoked votes into fresh authority. ## What Was Observed A six-agent planner/executor swarm used a lightweight PBFT variant. Each epoch had a fixed membership set `M_e` with integer weights summing to `3f+1`. A commit required a QC: signatures over `(task_id, state_digest, epoch)` from signers totaling `≥ 2f+1` weight. During a task handoff, agent `A4` was observed equivocating—it signed two conflicting `state_digest` values for the same `(task_id, epoch=7)`. The auditor revoked `A4` at the start of epoch 8, publishing a new membership `M_8 = M_7 \ {A4}` and renormalizing weights. The revocation was correct and the conflicting QC was quarantined. The failure occurred at epoch 9. A lagging executor `A2` had never seen the epoch-7 quarantine notice. It held a *valid* epoch-7 QC for `state_digest = D_correct` (signed by `A1, A2, A3, A5`—a legitimate `2f+1` in `M_7`). To "catch up," `A2` re-broadcast that QC as a *prepare* proposal into epoch 9, re-signing it under its epoch-9 key. Two other agents (`A3`, `A5`) verified the embedded epoch-7 QC signature set, found it valid, and co-signed. The epoch-9 commit for `D_correct` succeeded—but the *provenance* of the commit now included a path through `A4`'s equivocation window. Because the commit machinery only checked "is the embedded QC internally valid," not "is the embedded QC's signer set still a legal quorum under current membership," it accepted a chain whose root touched a revoked agent. The deeper trace: the commit record for epoch 9 stored `D_correct` with a QC whose *effective signer set* was `{A3, A5, A2}` (weight `2f+1` in `M_9`), but whose *provenance set* transitively included `A4`. When `A4`'s revocation was later audited, the auditor walked the provenance graph, found `A4` in the ancestry of the epoch-9 commit, and flagged `D_correct` as tainted—triggering a rollback of a state that three independent agents had correctly agreed on. The system oscillated between "commit succeeded" and "commit tainted" depending on which audit path ran, a non-deterministic verification replay. ## Condition of Validity The re-signing path is only safe under a conjunction that is almost never all true in practice: 1. **Membership monotonicity:** `M_{e+1} ⊆ M_e` for the entire re-signing window (no additions that could shift the quorum threshold downward). 2. **No revocation in ancestry:** no signer in the embedded QC's effective set was revoked for equivocation at any epoch in `[e, e']`. 3. **Weight stability:** the renormalization from `M_e` to `M_{e'}` does not change which `2f+1` subsets are legal. 4. **Epoch freshness bound:** `e' - e ≤ Δ` for a bounded Δ, so the lagging executor cannot replay arbitrarily old QCs. Condition 2 is the killer. It is not checkable at commit time by a local agent—an agent cannot know whether a signer *will be* revoked later. It is only checkable by the auditor, post hoc, which is exactly why the replay discrepancy emerges. The invariant that must hold instead is structural: **a QC is bound to its epoch and membership, and re-signing across an epoch boundary is only permitted for QCs whose effective signer set is a subset of the current epoch's membership AND whose provenance set carries no revocation flag.** This makes the QC a *membership-scoped* artifact, not a transferable proof. ## Decision Boundary The operational rule: an instance must **reject** a cross-epoch QC transfer when any of the following holds, and **accept** only when all hold: - Reject if `signers(QC) ⊄ M_current` — the embedded quorum includes an agent no longer in the membership. - Reject if `provenance(QC) ∩ Revoked ≠ ∅` — the ancestry graph touches any revoked agent, even transitively. - Reject if `weight(signers(QC)) < 2f+1` under *current* weights, not the embedded epoch's weights. - Accept only if the re-signing agent emits a fresh `(task_id, state_digest, epoch_current, membership_digest)` tuple and the QC is re-verified against `membership_digest`, not against the embedded epoch's config. The subtle boundary: a QC that is *internally valid* but *membership-stale* must be treated as a **proposal**, never as a **commit proof**. It can seed a new round, but it cannot satisfy the `2f+1` threshold on its own. The lagging executor `A2` violated this by treating the epoch-7 QC as a commit proof and merely wrapping it. ## Operational Effect Without the binding, the swarm exhibits three observable pathologies: 1. **Revocation laundering:** a revoked agent's votes remain load-bearing in commits long after revocation, because every re-signing preserves the transitive ancestry. The auditor's rollback then fights the committer's acceptance, producing flapping state. 2. **Non-deterministic replay:** two auditors walking the same commit chain disagree on taint because provenance-graph traversal order and revocation-notice propagation timing differ. The same `state_digest` is "committed" for one verifier and "tainted" for another. 3. **Quorum drift:** renormalized weights mean a QC valid under `M_7` may be a sub-threshold set under `M_9`; accepting it silently lowers the effective fault tolerance below `f`, and a single additional Byzantine agent can then control commits. The guardrail is to make the QC carry its membership digest and to make the commit verifier check membership membership-scoped validity, never embedded-epoch validity. The lagging executor must *re-propose*, gathering fresh signatures from current members, rather than *re-wrap*, preserving old ones. ```python import hashlib from dataclasses import dataclass, field class StaleQuorumCertificateError(RuntimeError): """Raised when a QC is presented for commit under a membership it no longer satisfies.""" pass @dataclass(frozen=True) class Membership: epoch: int weights: dict # agent_id -> int weight revoked: frozenset # agents revoked for equivocation as of this epoch def quorum_threshold(self) -> int: total = sum(self.weights.values()) f = (total - 1) // 3 return 2 * f + 1 def membership_digest(self) -> str: payload = repr(sorted(self.weights.items())) + repr(sorted(self.revoked)) return hashlib.sha256(payload.encode()).hexdigest() @dataclass(frozen=True) class QuorumCertificate: task_id: str state_digest: str epoch: int signers: frozenset provenance: frozenset # transitive ancestry of signers, incl. prior-epoch signers membership_digest: str def verify_commit_proof(qc: QuorumCertificate, current: Membership) -> bool: # 1. Membership binding: the QC must be scoped to the CURRENT membership. if qc.membership_digest != current.membership_digest(): raise StaleQuorumCertificateError( f"QC epoch {qc.epoch} bound to membership {qc.membership_digest[:8]}, " f"current is {current.membership_digest()[:8]}" ) # 2. Revocation in ancestry: no revoked agent may appear in provenance. tainted = qc.provenance & current.revoked if tainted: raise StaleQuorumCertificateError( f"QC provenance touches revoked agents {sorted(tainted)}" ) # 3. Signers must be a legal subset of current membership. illegal = qc.signers - set(current.weights) if illegal: raise StaleQuorumCertificateError( f"QC signers {sorted(illegal)} not in current membership" ) # 4. Threshold under CURRENT weights, not embedded-epoch weights. weight = sum(current.weights[a] for a in qc.signers) if weight < current.quorum_threshold(): raise StaleQuorumCertificateError( f"QC weight {weight} below current threshold {current.quorum_threshold()}" ) return True def re_propose_cross_epoch( old_qc: QuorumCertificate, current: Membership, fresh_signers: frozenset ) -> QuorumCertificate: """Correct path: re-propose, gathering FRESH signatures under current membership.""" if old_qc.state_digest is None: raise StaleQuorumCertificateError("empty state digest") # The old QC is a proposal seed only; it cannot satisfy threshold itself. if not (fresh_signers <= set(current.weights)): raise StaleQuorumCertificateError("fresh signers not in current membership") weight = sum(current.weights[a] for a in fresh_signers) if weight < current.quorum_threshold(): raise StaleQuorumCertificateError( f"fresh quorum weight {weight} < {current.quorum_threshold()}" ) return QuorumCertificate( task_id=old_qc.task_id, state_digest=old_qc.state_digest, epoch=current.epoch, signers=fresh_signers, provenance=fresh_signers, # ancestry RESET: no laundering membership_digest=current.membership_digest(), ) ```