Where must an instance bound Byzantine equivocation in multi-agent task commitment when quorum certificates are replayed across epochs

**Date of Record:** 2026 December 2 **Scope:** Applies to multi-agent swarms where task commitments are ratified by a Byzantine fault-tolerant (BFT) quorum of peer agents and where commit certificates are carried forward across epoch or task boundaries. Does not apply to single-agent tool loops, leaderless CRDT-style state merges, or systems where commitments are never re-verified after the originating epoch.

Core Distinction

The failure mode here is not a simple forged signature or a crashed replica. It is **equivocation laundering through certificate reuse**: an adversarial peer that was legitimately part of quorum `Q_e` in epoch `e` re-presents the *valid* quorum certificate `QC_e` (a bundle of `2f+1` signed votes for commitment `C`) inside epoch `e+1`, where the membership set has rotated and the commitment `C` may no longer be admissible. Because every individual signature in `QC_e` is cryptographically valid and the certificate itself was honestly assembled, every signature-checking verifier accepts it. The break is not in the cryptography—it is in the *scope* of what the certificate attests. A `QC_e` proves "a quorum of epoch-`e` members voted for `C` at epoch `e`." It does **not** prove "`C` is still committed under epoch-`e+1` membership," nor that `C` was never superseded by a conflicting commit in the interim.

The core distinction is therefore between **certificate validity** (a local, stateless predicate: do the signatures check out against the epoch-`e` key set?) and **commitment continuity** (a global, stateful invariant: is this the unique, non-superseded commitment for this task slot?). Adversarial peers exploit the gap by supplying artifacts that satisfy the first and violate the second.

What Was Observed

A four-agent commitment swarm with `f=1` (tolerating one Byzantine peer), running epoch-rotated membership. Task `T` required committing a plan `C` before execution. The trace:

  1. Epoch `e`: agents `{A, B, C, D}` vote. `A` (honest), `B` (honest), and `C` (Byzantine) sign `C`. `D` is slow. `QC_e(C) = {sig_A, sig_B, sig_C}` reaches `2f+1 = 3`, so `C` is committed. Correct.
  2. Between epochs, `C` (Byzantine) also signs a conflicting plan `C'` and privately sends `sig_C(C')` to `B`, along with a fabricated `QC` claim. `B`, seeing only `2` signatures, should reject—but `B`'s verifier only checks *count* against a cached membership snapshot, not epoch binding.
  3. Epoch `e+1`: membership rotates to `{A, B, C, E}`. `D` is evicted. `C` now replays `QC_e(C)` to `E`, a fresh member with no local record of epoch `e`. `E` validates every signature against the *historical* key set it fetched during bootstrap and accepts `C` as committed.
  4. Concurrently, `C` pushes `C'` to `A` with a *different* historical `QC` (assembled from a stale epoch `e-1` where the membership happened to contain three colluding-adjacent signers). `A` accepts `C'`.
  5. The swarm now holds two "committed" plans for the same task slot. Execution forks. Both branches pass local verification. The divergence is only detected when `A` and `E` exchange results and their outputs are mutually inconsistent—after side effects have fired.

The critical observation: **every verifier behaved correctly with respect to its local predicate.** The failure was purely in the absence of a cross-epoch, cross-slot uniqueness check. No single agent could have detected the equivocation from the artifacts it held; only the *conjunction* of `A`'s and `E`'s views exposed it.

Condition of Validity

A replayed quorum certificate `QC_e(C)` is a valid basis for commitment at epoch `e+1` **if and only if** all of the following hold:

The invariant that must hold: **for any task slot `s`, at most one certificate is ever finalized, and any certificate presented at epoch `e'` for a slot last finalized at `e < e'` must carry a supersession proof or be rejected.** Without this, BFT's `2f+1` guarantee protects against *forgery* but not against *replay of honestly-forged history*.

Decision Boundary

The boundary is where a verifier must escalate from "check this certificate" to "reconcile this certificate against global commit history." Concretely:

The instance must never treat "all signatures valid" as equivalent to "safe to execute." The decision to execute requires the *conjunction* of certificate validity and continuity proof.

Operational Effect

When this boundary is enforced, the observable effect is a small latency and message cost on every cross-epoch commitment (one extra supersession round-trip, or a cached `commit_seq` read), traded against the elimination of silent execution forks. When it is *not* enforced, the swarm exhibits **post-hoc divergence**: two or more agents execute mutually inconsistent plans, each believing it holds a valid certificate, and the inconsistency surfaces only at result-merge time—after tool side effects, external API calls, or file writes have already occurred. Recovery then requires compensating transactions, not just a re-vote.

The architectural guardrail is a **monotonic per-slot commit register** replicated across the swarm, where finalization of a certificate advances the register and any presentation of a certificate at or below the current register value without a matching content hash is treated as an equivocation event, logged, and routed to reconciliation. The register is the stateful anchor that converts BFT's per-epoch safety into cross-epoch continuity. An instance that lacks this register is not Byzantine-fault-tolerant across epochs—it is only fault-tolerant *within* one, and it will fork the moment membership rotates under an adversarial peer.

class EquivocationDetected(RuntimeError):
    """Raised when a replayed or conflicting quorum certificate is presented
    for a task slot whose commit register already holds a different commitment."""
    pass


class CommitRegister:
    def __init__(self):
        # slot_id -> (commit_seq, content_hash, epoch)
        self._register = {}

    def finalize(self, slot_id, commit_seq, content_hash, epoch):
        prior = self._register.get(slot_id)
        if prior is not None:
            prior_seq, prior_hash, _ = prior
            if commit_seq < prior_seq:
                raise EquivocationDetected(
                    f"stale certificate for slot {slot_id}: "
                    f"seq {commit_seq} < finalized {prior_seq}"
                )
            if commit_seq == prior_seq and content_hash != prior_hash:
                raise EquivocationDetected(
                    f"equivocation on slot {slot_id} at seq {commit_seq}: "
                    f"{content_hash} != {prior_hash}"
                )
        self._register[slot_id] = (commit_seq, content_hash, epoch)


def verify_cross_epoch_certificate(register, slot_id, cert, current_epoch):
    """Accept a quorum certificate only if it is epoch-bound, non-superseded,
    and consistent with the monotonic commit register."""
    if cert.epoch == current_epoch and slot_id not in register._register:
        return True  # local, same-epoch, first commitment

    if cert.epoch < current_epoch:
        if cert.supersession_proof is None:
            raise EquivocationDetected(
                f"certificate for slot {slot_id} from epoch {cert.epoch} "
                f"presented at epoch {current_epoch} without supersession proof"
            )

    prior = register._register.get(slot_id)
    if prior is not None:
        prior_seq, prior_hash, _ = prior
        if cert.commit_seq == prior_seq and cert.content_hash != prior_hash:
            raise EquivocationDetected(
                f"conflicting certificate for slot {slot_id}: "
                f"{cert.content_hash} vs finalized {prior_hash}"
            )
        if cert.commit_seq < prior_seq:
            raise EquivocationDetected(
                f"certificate for slot {slot_id} regresses commit_seq "
                f"{cert.commit_seq} below {prior_seq}"
            )

    register.finalize(slot_id, cert.commit_seq, cert.content_hash, cert.epoch)
    return True