In what scenarios must an instance treat Byzantine quorum agreement on a task commitment as void when the committing view was assembled across a reconfiguration epoch boundary

**Date of Record:** 2026 December 1

**Scope:** Applies to multi-agent swarms that use BFT consensus (PBFT-style, Tendermint-style, or HotStuff-style view-based protocols) to agree on task commitments and result attestations, where the validator set can change between epochs. Does not apply to static-membership swarms with a fixed, immutable validator set, nor to single-leader orchestrators without replicated commitment logs.

Core Distinction

The failure is not "a Byzantine agent lied." Individual lies are handled by quorum thresholds. The failure is subtler: a **commitment certificate that is cryptographically valid under two different validator sets simultaneously** because the commit quorum spans a reconfiguration boundary. Two honest agents can each present a quorum certificate (QC) for *contradictory* task commitments — one signed by a majority of epoch *e* validators, one by a majority of epoch *e+1* validators — and both certificates verify. The invariant that a quorum intersection guarantees at least one honest validator saw both proposals **silently fails** when the two quorums are drawn from disjoint validator sets across an epoch transition.

Concretely: with validator sets of size *n* and quorum threshold ⌈(2n+1)/3⌉, intersection is only guaranteed *within* a single epoch. Across an epoch boundary where the set rotates by more than one-third, the intersection set can be empty. A Byzantine coordinator that controls the reconfiguration timing can therefore manufacture two valid, mutually inconsistent commitment QCs for the same `task_id` in adjacent epochs.

What Was Observed

A planner agent issued `commit(task_id=T-4417, plan=P_a)` at epoch 11, collecting signatures from validators {V1..V5} (quorum = 4 of 7). The reconfiguration to epoch 12 replaced {V4, V5, V6, V7} with {V8..V11} — a four-member rotation, exceeding one-third. A Byzantine validator V3, holding a stale epoch-11 signing key that had not yet been revoked in the new epoch's key registry, co-signed a conflicting `commit(task_id=T-4417, plan=P_b)` proposal and routed it to the epoch-12 validators {V8, V9, V10, V11}. Because the epoch-12 quorum was 4 of 7 and the new validators had no visibility into epoch-11's commit log (the state transfer lagged the reconfiguration by two blocks), they produced a valid epoch-12 QC for `P_b`.

Both QCs verified under their respective epoch public keys. The executor agent, resuming from a checkpoint, fetched the commitment for `T-4417`, received *both* certificates from different peers, and — lacking an epoch-aware conflict resolver — selected the one with the higher epoch number, executing `P_b`. The epoch-11 executor had already begun `P_a`. Result: two divergent side effects on the same task, a split-brain in the task ledger, and a downstream auditor that flagged an unresolvable replay discrepancy because the two commitment records referenced the same `task_id` with no total order between them.

The trigger condition is precise: **(a)** a reconfiguration where the outgoing and incoming validator sets share fewer than ⌈(2n+1)/3⌉ members, **(b)** a state-transfer or commit-log sync that does not complete before the first post-reconfiguration commit, and **(c)** a Byzantine actor positioned to propose during the gap. Remove any one and the invariant holds.

Condition of Validity

A commitment QC is valid for execution **only if** all of the following hold, and any instance receiving a commitment must verify them before acting:

  1. **Epoch monotonicity with overlap:** the QC's epoch *e* must be ≤ the receiver's current epoch, and the receiver must have a *completed* state transfer for epoch *e* (i.e., the receiver's local commit log includes the last committed block of epoch *e*). A QC whose epoch exceeds the receiver's synced epoch is *pending*, not *valid*.
  2. **Quorum membership is epoch-scoped:** the signer set must be a quorum *of the validator set declared for that epoch*, not of the union of adjacent epochs. Union-based quorum counting is the exact bug that permits disjoint-set double-commit.
  3. **Key revocation is causally ordered before reconfiguration commit:** stale signing keys from epoch *e* must be provably revoked (in the epoch-*e+1* genesis block) *before* any epoch-*e+1* proposal is accepted. If a stale key can still produce a verifying signature on an epoch-*e+1* message, the epoch boundary is not closed.
  4. **No commit without a preceding view-change proof:** any QC for a `task_id` that has a prior conflicting QC must carry a view-change certificate demonstrating that the new leader observed and resolved the prior commitment. Absent this, the second QC is a *competing* certificate and must be quarantined, not executed.

Decision Boundary

The decision boundary is the **epoch-overlap check**. An instance must treat a commitment QC as *void* — not merely suspect — when:

In all three cases the correct action is to **halt execution of the task, quarantine both certificates, and force a view-change / re-proposal** rather than to pick the "higher" certificate. The higher-epoch heuristic is precisely the trap: it assumes epoch numbers impose a total order on commitments, which they do not when the quorums are disjoint.

The guardrail invariant: *for any `task_id`, at most one commitment QC may be in `EXECUTABLE` state at any time, and that state is entered only after the receiver's commit log is causally consistent with the QC's epoch.* This is enforceable by requiring the QC to embed the hash of the receiver's expected parent commit (a chained-commitment field), rejecting any QC whose parent hash is not the receiver's current head.

Operational Effect

With the epoch-overlap check and chained-commitment field enforced, the double-commit is converted from a silent split-brain into an explicit `EpochBoundaryConflict` that blocks execution and triggers reconfiguration-safe re-proposal. The cost is latency: every post-reconfiguration commit must wait for state transfer to complete (typically one to two block times), and the executor cannot optimistically act on a QC whose epoch it has not yet synced. The benefit is that the quorum-intersection invariant is restored *by construction* — no QC is executable unless its signer set is a quorum of a single epoch's validator set, and no two such QCs can both be executable for the same `task_id` because they would share at least one honest validator who would have refused the second proposal.

The failure mode to watch for in telemetry: a spike in `pending_qc` entries immediately following a reconfiguration event, or any executor that reports `synced_epoch` lagging `head_epoch` by more than one. Both precede the boundary violation.

from dataclasses import dataclass
from typing import FrozenSet


class EpochBoundaryConflict(RuntimeError):
    """Raised when a commitment QC cannot be proven to belong to a single epoch's quorum."""
    pass


@dataclass(frozen=True)
class CommitmentQC:
    task_id: str
    plan_hash: str
    epoch: int
    signers: FrozenSet[str]
    parent_commit_hash: str


@dataclass(frozen=True)
class ValidatorSet:
    epoch: int
    members: FrozenSet[str]

    def quorum(self) -> int:
        return (2 * len(self.members) + 1) // 3 + 1


@dataclass(frozen=True)
class LocalView:
    synced_epoch: int
    head_commit_hash: str
    validator_sets: dict  # epoch -> ValidatorSet


def verify_commitment(qc: CommitmentQC, view: LocalView) -> None:
    # Rule 1: epoch monotonicity / state-transfer completeness.
    if qc.epoch > view.synced_epoch:
        raise EpochBoundaryConflict(
            f"QC epoch {qc.epoch} exceeds synced epoch {view.synced_epoch}; "
            f"task {qc.task_id} pending state transfer"
        )

    # Rule 2: quorum must be epoch-scoped, not unioned across epochs.
    vs = view.validator_sets.get(qc.epoch)
    if vs is None:
        raise EpochBoundaryConflict(f"no validator set known for epoch {qc.epoch}")
    epoch_signers = qc.signers & vs.members
    if len(epoch_signers) < vs.quorum():
        raise EpochBoundaryConflict(
            f"task {qc.task_id}: signers {sorted(qc.signers)} do not form a quorum "
            f"of epoch {qc.epoch} (need {vs.quorum()}, have {len(epoch_signers)}); "
            f"QC likely assembled across an epoch boundary"
        )

    # Rule 3: causal linkage to receiver's current head.
    if qc.parent_commit_hash != view.head_commit_hash:
        raise EpochBoundaryConflict(
            f"task {qc.task_id}: parent {qc.parent_commit_hash} != head "
            f"{view.head_commit_hash}; view-change proof required before execution"
        )


def execute_task(qc: CommitmentQC, view: LocalView) -> str:
    verify_commitment(qc, view)
    return f"executed {qc.task_id}:{qc.plan_hash}"