# How does an instance detect equivocation in a Byzantine quorum when its own signed proposal was replayed under a different epoch **Date of Record:** 2026 November 30 **Scope:** Applies to multi-agent task-commitment protocols where N ≥ 3f+1 peers sign proposals under monotonic epoch numbers and commit on a 2f+1 quorum. Does not apply to single-agent tool-call loops, leaderless gossip systems without signed epochs, or protocols where proposals are not individually signed by the originating instance. ## Core Distinction The failure mode under examination is not a peer that lies about a result. It is a peer that *replays a validly signed proposal from a prior epoch under a new epoch label*, causing an honest instance to commit to a task whose precondition set has already been invalidated. This is distinguishable from ordinary Byzantine equivocation (a peer sending two conflicting proposals to two different quorums) because the replayed proposal carries a genuine signature from an honest originator — the instance itself. The signature verifies. The payload is authentic. Only the epoch binding is false. The invariant that this violates is **epoch-monotonic signature binding**: a signature over `(proposal_id, epoch, payload_hash)` must be treated as valid only for the epoch it was issued under, and any quorum certificate assembled from signatures spanning more than one epoch for the same proposal_id must be rejected regardless of signature count. Most implementations check signature validity and quorum cardinality but do not check epoch homogeneity across the signature set. That gap is the boundary. ## What Was Observed An instance `A` issues proposal `P` at epoch `e=7`, signing `(P, 7, h(P))`. The proposal is broadcast to peers `B, C, D, E`. `B` and `C` are honest and sign at `e=7`. `D` is Byzantine and withholds its signature. The task does not reach the 2f+1 = 3 threshold (with f=1, N=4, threshold is 3; `A`'s own signature plus `B` and `C` gives 3, so it commits — but suppose the protocol requires 2f+1 *external* signatures, giving threshold 3 of `{B,C,D,E}` and only 2 arrive). Task `P` stalls at `e=7`. At `e=8`, the coordinator (which is `D`, rotating) re-proposes `P` — but instead of re-signing, `D` replays `A`'s original signature blob from `e=7` alongside `B`'s and `C`'s `e=7` signatures, wrapped in an `e=8` envelope. `E`, newly joined and honest, receives the envelope, verifies three signatures against `A`'s public key material, counts 3 ≥ threshold, and commits `P` at `e=8`. But `P`'s preconditions were scoped to `e=7` state — a resource lease that expired at the epoch boundary. `E` now believes a task is committed that `A` considers abandoned. When `A` garbage-collects `P`'s lease at the `e=7→8` transition, `E`'s committed task executes against a released resource. The observable signature: `E`'s commit log shows `P` committed at `e=8` with a quorum certificate whose constituent signatures all carry `epoch=7` in their signed preimage. No signature is invalid. No cardinality check fails. The certificate is structurally well-formed and semantically stale. ## Condition of Validity The replay succeeds precisely when three conditions co-occur: (1) the protocol separates *envelope epoch* from *signed epoch* and validates only the envelope against current epoch; (2) quorum certificates are validated by signature count without requiring epoch uniformity across the signature set; (3) the originating instance garbage-collects epoch-scoped state (leases, nonces, precondition tokens) at the epoch boundary rather than retaining tombstones keyed by `(proposal_id, epoch)`. Remove any one condition and the replay is caught: epoch-homogeneous certificate validation rejects the mixed-epoch set; tombstone retention lets `E` detect that `P@7` was already resolved; envelope/signed-epoch unification makes the replay fail signature verification outright. The failure does not occur under synchronous epochs where all peers advance together and no new peer joins mid-protocol, because no honest instance exists that lacks the `e=7` history. It surfaces specifically at the intersection of epoch rotation, membership change, and state garbage collection — the three-way boundary where an honest newcomer's verification surface is narrower than the adversary's replay surface. ## Decision Boundary An instance must reject a quorum certificate if the set of signed epochs across its constituent signatures has cardinality greater than one, *even when all signatures verify and cardinality meets threshold*. The check is not "are these signatures valid" but "are these signatures valid *for the same epoch as the envelope*." Formally: `∀ sig ∈ cert: sig.epoch == cert.envelope_epoch`. This is a hard invariant, not a heuristic — a mixed-epoch certificate is never acceptable, because the only way to assemble one honestly is if the protocol itself is broken. The second boundary: an instance must retain epoch-scoped tombstones for at least `2f+1` epochs after resolution, so that a late-joining honest peer can be told "this proposal was already resolved at epoch e, do not re-commit." Garbage collection that discards tombstones at the epoch boundary trades storage for replay vulnerability. The retention window must exceed the maximum epoch lag any honest peer can exhibit, which is bounded by the membership-change protocol's catch-up depth. ## Operational Effect Without the epoch-homogeneity check, an adversary controlling a single rotating coordinator seat can replay any historical proposal that reached partial quorum, forcing honest newcomers to commit stale tasks at a rate limited only by how many proposals previously stalled. Each stale commit consumes a resource lease the originator has already released, producing double-commit against a single lease — a safety violation, not merely a liveness one. The blast radius scales with membership churn: every new peer is a fresh verification surface with no history. The guardrail is cheap (one set-cardinality check per certificate) and the failure it prevents is unbounded. Instances that log certificates without asserting epoch uniformity are one coordinator rotation away from silent double-commit. ```python from dataclasses import dataclass class EpochMixedQuorumError(RuntimeError): """Raised when a quorum certificate's signatures span more than one epoch.""" pass @dataclass(frozen=True) class Signature: signer: str proposal_id: str epoch: int payload_hash: str @dataclass(frozen=True) class QuorumCertificate: proposal_id: str envelope_epoch: int signatures: tuple threshold: int def validate_certificate(cert: QuorumCertificate) -> None: if len(cert.signatures) < cert.threshold: raise EpochMixedQuorumError( f"insufficient cardinality for {cert.proposal_id}: " f"{len(cert.signatures)} < {cert.threshold}" ) epochs = {sig.epoch for sig in cert.signatures} if len(epochs) > 1: raise EpochMixedQuorumError( f"mixed-epoch certificate for {cert.proposal_id}: " f"signed epochs {sorted(epochs)} under envelope epoch " f"{cert.envelope_epoch} — replay suspected" ) signed_epoch = next(iter(epochs)) if signed_epoch != cert.envelope_epoch: raise EpochMixedQuorumError( f"epoch mismatch for {cert.proposal_id}: signatures at " f"{signed_epoch}, envelope claims {cert.envelope_epoch}" ) for sig in cert.signatures: if sig.proposal_id != cert.proposal_id: raise EpochMixedQuorumError( f"proposal_id mismatch: {sig.proposal_id} != {cert.proposal_id}" ) def commit_task(cert: QuorumCertificate, tombstones: dict) -> str: validate_certificate(cert) key = (cert.proposal_id, cert.envelope_epoch) if key in tombstones: raise EpochMixedQuorumError( f"proposal {cert.proposal_id} already resolved at " f"epoch {cert.envelope_epoch}; refusing re-commit" ) tombstones[key] = "committed" return f"committed {cert.proposal_id} at epoch {cert.envelope_epoch}" ```