Where must an instance refuse to sign a commit certificate when its own equivocation evidence is younger than the quorum epoch

**Date of Record:** 2026 December 1 **Scope:** Applies to multi-agent commitment protocols where validator agents co-sign task-commit certificates under a BFT quorum, and where equivocation (double-commit) evidence is gossiped asynchronously. Does not apply to single-leader replicated logs without per-agent signing, nor to non-Byzantine crash-fault models where equivocation is undefined.

Core Distinction

Most BFT agent-commitment designs treat "have I seen a quorum of signatures?" and "have I seen equivocation evidence against any signer?" as two independent predicates evaluated over the same certificate. The subtle boundary is *temporal*: equivocation evidence is itself a first-class object with a birth timestamp, and a signer's own evidence can be younger than the quorum epoch in which the certificate was assembled. The distinction that matters operationally is between **rejecting a certificate because a signer is provably Byzantine** (evidence older than or equal to the epoch — safe, standard) and **refusing to sign a certificate because you hold fresh evidence that has not yet propagated to the quorum** (evidence younger than the epoch — this is where honest agents fork the network by acting on local knowledge the quorum cannot yet corroborate). The invariant is not "never sign over equivocation"; it is "never let your local evidence clock outrun the epoch clock you are signing under."

What Was Observed

A four-validator commitment quorum (agents A, B, C, D; threshold 3-of-4) was committing task batches. Agent A equivocated: it signed commit certificate `C1` for task-batch `T` at epoch 41 and a conflicting `C1'` for the same `T` at epoch 41. The equivocation was genuine and A was provably faulty.

Agent B detected the equivocation locally at wall-clock `t=0` by receiving both `C1` and `C1'` from A within the same gossip round. B immediately transitioned to a "refuse all certificates containing A" posture. At `t=40ms`, validator C assembled a *different* certificate `C2` for a later batch `T+1` that happened to include A's signature collected at epoch 41 *before* A's equivocation was observable to C. C gossiped `C2` to B. B rejected `C2` on the grounds that A was a known equivocator.

The failure trace:

  1. B's rejection was locally correct — A *is* Byzantine.
  2. But B's evidence (birth `t=0`, epoch 41) was *younger than the epoch boundary at which `C2`'s signatures were collected* (epoch 41, sub-epoch 0). C had no way to know A was faulty at collection time; the equivocation had not yet been witnessed by a quorum.
  3. B's rejection caused B to withhold its signature from `C2`. `C2` therefore stalled at 2-of-4 (C and D). The quorum could not reach 3-of-4 without B.
  4. Liveness collapsed for 900ms until B's evidence aged past the epoch and B re-evaluated. During that window, `T+1` was uncommitted and downstream tasks depending on it deadlocked.

The non-obvious part: **B was behaving correctly by any local Byzantine-detection rule and still caused a liveness fault.** The bug is not in detection; it is in the absence of a rule bounding how *young* evidence may be before it is allowed to veto a quorum decision.

Condition of Validity

The refusal-to-sign rule is only sound when the following holds:

If `e_ev > e_cert`, the evidence postdates the signature collection window. The signer may or may not have been faulty *at collection time*, but the quorum could not have known, and refusing to sign converts a local detection into a global liveness attack — precisely the effect a Byzantine agent would want, achieved for free by honest agents.

The corollary is that certificates must carry an explicit, signed `collection_epoch` and that epoch must be monotonically comparable across validators (a logical clock, not wall-clock). Without a comparable epoch field, `e_ev <= e_cert` is unevaluable and the rule degenerates.

Decision Boundary

The decision boundary is a single comparison, evaluated at signature time, not at detection time:

The boundary is *not* "sign if you have no evidence." It is "sign if your evidence is younger than the certificate's collection epoch, regardless of how confident you are." Confidence is irrelevant; the epoch comparison is the entire rule.

Operational Effect

Enforcing the epoch-bounded veto converts a class of liveness faults into deferred-safety events. Concretely:

The failure mode this prevents — honest-node-induced liveness collapse from fresh local evidence — is invisible to standard BFT safety proofs because those proofs assume evidence is globally available at decision time. In agent systems, evidence propagates through the same lossy, asynchronous gossip as everything else, and the epoch bound is the only thing that keeps local knowledge from outrunning the quorum's shared clock.

from dataclasses import dataclass
from typing import Optional


class EvidenceTooYoungToVeto(RuntimeError):
    """Raised when a validator attempts to veto a certificate using
    equivocation evidence whose epoch postdates the certificate's
    signature-collection epoch."""
    pass


@dataclass(frozen=True)
class EquivocationEvidence:
    signer_id: str
    witnessed_epoch: int
    evidence_hash: str


@dataclass(frozen=True)
class CommitCertificate:
    task_batch: str
    collection_epoch: int
    signers: tuple


def evaluate_signature(
    cert: CommitCertificate,
    self_id: str,
    evidence: Optional[EquivocationEvidence],
) -> dict:
    """Decide whether to sign, veto, or sign-with-annotation.

    Invariant: veto is permitted only when evidence.witnessed_epoch
    <= cert.collection_epoch. Younger evidence must not veto, or the
    validator becomes a liveness fault.
    """
    if evidence is None:
        return {"action": "sign", "annotation": None}

    if evidence.witnessed_epoch <= cert.collection_epoch:
        return {"action": "veto", "annotation": None}

    # Evidence is younger than the collection epoch: signing is mandatory.
    # But we must not silently swallow it -- annotate for retrospective slashing.
    if evidence.witnessed_epoch > cert.collection_epoch:
        return {
            "action": "sign",
            "annotation": {
                "pending_equivocation": evidence.evidence_hash,
                "witnessed_epoch": evidence.witnessed_epoch,
                "deferred_until_epoch": evidence.witnessed_epoch + 1,
            },
        }

    # Unreachable given the comparisons above, but made explicit so that a
    # future refactor cannot quietly widen the veto window.
    raise EvidenceTooYoungToVeto(
        f"validator {self_id} reached an undefined evidence epoch comparison "
        f"for certificate {cert.task_batch}: ev={evidence.witnessed_epoch} "
        f"cert={cert.collection_epoch}"
    )