# What structural signals indicate quorum-membership drift is silently invalidating Byzantine commit certificates in multi-agent task ledgers **Date of Record:** 2026 November 29 **Scope:** Applies to multi-agent systems where task commitments and shared state are replicated via Byzantine fault-tolerant (BFT) consensus and where the *voting membership set* is permitted to change (reconfiguration, agent eviction, key rotation, autoscaling of worker agents). Does not apply to static-membership BFT where the validator set is fixed at genesis, nor to single-agent checkpointing. ## Core Distinction The failure mode here is **not** a Byzantine agent lying. It is a **commit certificate that was validly signed by a supermajority of the quorum that existed at signing time, but is presented to an agent whose local view of the membership set has since drifted**—so the certificate's signer set no longer corresponds to the quorum the verifier is checking against. The verifier either (a) accepts a certificate that a *current* supermajority never endorsed, or (b) rejects a certificate that was legitimately endorsed by a *prior* supermajority. The non-obvious part: in AI agent swarms, membership drift is not an administrative event. Agents are ephemeral. A worker agent that crashes and is replaced by a new instance with a fresh key is a **membership change**. A retried task that spawns a duplicate agent under a new identity is a membership change. Autoscaling a verification pool is a membership change. The ledger reconfiguration logic—if it treats these as "just new agents"—will happily mint certificates against a membership set that has already moved, and the invariant that makes BFT safe (intersection of any two quorums contains at least one honest member) silently breaks. The structural signal that distinguishes this from ordinary failed consensus: **the certificate is internally consistent and cryptographically valid, but its embedded membership epoch does not match the epoch the verifier is operating under, and the verifier has no mechanism to detect the mismatch because it validates signatures, not epochs.** ## What Was Observed A task-commitment ledger with 7 validator agents (f=2 Byzantine tolerance, quorum = 5). Task `T-4471` (a multi-step reconciliation job) was proposed and committed at membership epoch 12. The commit certificate `C` carried signatures from validators `{v1, v2, v3, v4, v5}`—a valid 5-of-7 quorum at epoch 12. Between commit and the downstream *replay/audit* step, three validators were evicted for timeout behavior and replaced by `{v8, v9, v10}` under epoch 13. The new membership was `{v1, v2, v4, v5, v6, v8, v9, v10}` (8 members, quorum now 6). The audit agent—an LLM-driven verifier that fetches certificates and checks "did a quorum sign this?"—received `C`. Its verification routine was: 1. Parse the certificate's signer list. 2. Look up each signer in the *current* validator registry. 3. Count signatures from recognized validators. 4. If count ≥ current quorum, accept. Step 2 is where it broke. `v3` was no longer in the registry (evicted), so its signature was dropped. The recognized signers became `{v1, v2, v4, v5}` = 4 signatures. Current quorum was 6. The verifier **rejected a validly committed task**, and the reconciliation job was re-proposed. On re-proposal, the *new* quorum (6-of-8) committed a *different* reconciliation result because the underlying ledger state had advanced. The system now had two committed outcomes for `T-4471` under two different epochs, both with valid certificates, and no rule for which one is canonical. The inverse also occurred in the same incident window: a later certificate `C'` signed at epoch 13 by `{v1, v2, v4, v5, v8, v9}` (6-of-8, valid) was presented to a *lagging* verifier still on epoch 12. That verifier's quorum was 5, its registry did not contain `v8` or `v9`, so it counted `{v1, v2, v4, v5}` = 4 < 5 and rejected a valid certificate. Meanwhile a *malicious* agent that had compromised `v3` (still in the epoch-12 registry) could have forged a 5-of-7 certificate at epoch 12 with `{v1, v2, v3, v4, v5}` and the epoch-12 verifier would accept it—because at epoch 12, `v3` was legitimate. The lagging verifier had no way to distinguish "old but valid" from "forged under an obsolete epoch." ## Condition of Validity The BFT safety guarantee (no two conflicting commits) holds **only if every verifier evaluates every certificate against the membership epoch in which that certificate was produced**, and only if the reconfiguration protocol guarantees that any two epochs' quorums intersect in at least one *honest* member across the transition. Two conditions must both hold: - **Epoch binding:** Each certificate must carry an immutable, signed epoch identifier, and verification must fetch the membership snapshot *for that epoch*, not the current one. The membership history must be retained (or provable via a hash chain) for at least as long as any certificate might be replayed. - **Transition quorum intersection:** The reconfiguration that moves from epoch *e* to *e+1* must itself be committed by a quorum of epoch *e*, and the new set must be derivable deterministically from that committed transition. If agents are evicted by timeout (as in the observed incident) rather than by a committed transition, the epoch boundary is undefined and intersection is not guaranteed. In the observed system, condition 1 failed (verifiers used current registry) and condition 2 failed (evictions were operational events, not committed transitions). Either failure alone is sufficient to break safety; both together produced the double-commit. ## Decision Boundary An agent verifying a BFT certificate must branch on a single structural check **before** counting signatures: - **If the certificate's epoch == verifier's current epoch:** verify against current membership. Standard path. - **If the certificate's epoch < verifier's current epoch:** the verifier MUST resolve the historical membership snapshot for that epoch and verify against it. It MUST NOT map old signers onto the current registry. If the historical snapshot is unavailable, the correct action is **`EpochUnresolvable`**—refuse to verify, do not default to reject-as-invalid, because reject-as-invalid triggers re-proposal and the double-commit cascade. - **If the certificate's epoch > verifier's current epoch:** the verifier is lagging. It MUST NOT attempt verification against its stale registry (this is the false-reject path that also causes re-proposal). It must sync to the certificate's epoch first, or return **`EpochAheadOfLocalView`** and halt the audit rather than emit a verdict. The boundary that operators miss: **"reject" is not a safe default for an unverifiable certificate.** In a ledger where rejection triggers re-execution, rejection is an *active state mutation*, not a passive verdict. A verifier that cannot resolve an epoch must fail closed *without* signaling invalidity to the proposal layer. ## Operational Effect The practical consequence is that the audit agent's LLM reasoning layer must be constrained by a hard structural precondition: it may only reason about "is this a valid quorum?" *after* the epoch-resolution step has produced a membership snapshot. If the epoch is unresolvable, the LLM must not be asked to judge—its probabilistic judgment will rationalize a verdict from whatever signers it can see in the current registry, and that rationalization is exactly the double-commit bug. The guardrail is a two-phase verifier: a deterministic epoch-resolution phase that either yields a snapshot or raises a typed exception, and only then a signature-counting phase. The exception must propagate to the audit orchestrator as a *halt* signal, never as a *reject* signal. Below is the enforcement point. ```python class EpochUnresolvable(RuntimeError): """Raised when a certificate's epoch cannot be resolved to a membership snapshot. Must halt audit, NOT signal invalidity to the proposal layer.""" pass class EpochAheadOfLocalView(RuntimeError): """Verifier is lagging the certificate's epoch. Must sync, not reject.""" pass def verify_commit_certificate(cert, verifier_epoch, membership_store): """ Two-phase BFT certificate verification. Phase 1: resolve membership snapshot for cert.epoch (deterministic). Phase 2: count signatures against THAT snapshot only. """ # --- Phase 1: epoch resolution (no LLM judgment permitted here) --- if cert.epoch > verifier_epoch: raise EpochAheadOfLocalView( f"cert epoch {cert.epoch} ahead of local view {verifier_epoch}; " f"sync required before verification" ) snapshot = membership_store.get_snapshot(cert.epoch) if snapshot is None: # Historical membership unavailable. Do NOT fall back to current registry. raise EpochUnresolvable( f"no membership snapshot for epoch {cert.epoch}; " f"refusing to verify against current epoch {verifier_epoch} registry" ) # --- Phase 2: signature count against the resolved snapshot --- recognized = [s for s in cert.signers if s in snapshot.validators] if len(recognized) < snapshot.quorum: # Genuine invalidity under the correct epoch -> safe to reject. return False return True def audit_task_commitment(cert, verifier_epoch, membership_store, proposal_layer): try: valid = verify_commit_certificate(cert, verifier_epoch, membership_store) except (EpochUnresolvable, EpochAheadOfLocalView) as e: # HALT: propagate to orchestrator as a sync/recovery signal. # Critically, do NOT call proposal_layer.reject() -- that triggers re-proposal # and the double-commit cascade observed in T-4471. raise type(e)(f"audit halted for {cert.task_id}: {e}") from e if not valid: proposal_layer.reject(cert.task_id) return valid ```