# Where must an instance bind its quorum-attestation to a monotonic epoch before Byzantine fault-tolerant multi-agent consensus can survive equivocation by a peer that signs conflicting state roots **Date of Record:** 2026 November 28 **Scope:** Applies to BFT consensus quorums formed by autonomous agent instances (3f+1 or 2f+1 membership) that vote on a shared state root and exchange signed pre-vote/pre-commit attestations over MCP/A2A transports. Does not apply to single-agent self-verification, to crash-fault-only (CFT) quorums, or to quorums with a trusted coordinator that never equivocates. ## Core Distinction The failure is not Byzantine equivocation itself—that is assumed. The failure is a **quorum-attestation that is valid under two different epochs simultaneously** because the signing instance never bound its signature to a monotonically increasing epoch counter. A signature over `(state_root, view)` without a bound `epoch` is a *reusable credential*: an equivocating peer can present the same signed attestation to two disjoint quorums operating under different epoch assumptions, and each quorum will independently reach the 2f+1 threshold for a *different* state root. Both quorums are internally consistent. Both are "correct" by local verification. The system forks. This is distinct from the classic "double-vote in the same view" problem that PBFT's view-change handles. The boundary is subtler: **the attestation is honest at the moment of signing but becomes equivocal through replay across an epoch boundary that the signer never observed.** The invariant that must hold is not "no agent signs two roots in one view" (enforceable locally) but "no attestation is admissible in a quorum whose epoch floor is below the signer's observed epoch ceiling." That is a *global* invariant that no single instance can enforce alone. ## What Was Observed A five-instance quorum (f=1, 3f+1=4 minimum, five for margin) resolved a shared config root. During a transient partition, instances A and B observed epoch 41; instances C, D, E observed epoch 42 after a leader change that A and B's partition prevented them from seeing. Instance E, an equivocating peer, signed: - `attest(root=X, view=41)` and delivered it to the A/B partition - `attest(root=Y, view=42)` and delivered it to the C/D partition Both signatures were cryptographically valid. Both carried a `view` field. Neither carried a bound `epoch`. The A/B partition collected {A, B, E} = 3 signatures ≥ 2f+1 for root X under epoch 41. The C/D partition collected {C, D, E} = 3 signatures ≥ 2f+1 for root Y under epoch 42. When the partition healed, the merge step found two valid quorum certificates for conflicting roots. The verifier could not adjudicate because *both certificates were valid under their own epoch assumptions* and the epoch was not part of the signed payload—it was inferred from transport metadata, which the equivocator controlled. The recovery required manual intervention: a full replay of the transport log to reconstruct which epoch each signature was *actually* minted under, which was only possible because the transport retained per-message timestamps. In a system without that audit trail, the fork would have been unrecoverable. ## Condition of Validity The guardrail holds only if **four** conditions are jointly satisfied. Any one failing reintroduces the equivocation window: 1. **Epoch is inside the signed payload.** The signature must cover `(epoch, view, state_root, signer_id)`, not just `(view, state_root)`. Transport metadata is not a signature input and must never be treated as one. 2. **Epoch is monotonic per signer.** A signer's epoch counter never decreases across its own attestations. This is checkable by any verifier holding the signer's prior attestation: if `attest.epoch < prior.epoch` for the same signer, the attestation is *stale-replayed* and must be rejected regardless of quorum count. 3. **Quorum admission uses an epoch floor, not an epoch match.** A verifier admits an attestation into quorum for root R only if `attest.epoch >= floor(R)`, where `floor(R)` is the highest epoch at which any quorum member has already attested R. This is the key: it prevents a late-arriving low-epoch attestation from retroactively completing a stale quorum. 4. **Equivocation is detectable within the quorum, not just across it.** At least one honest member must retain the *prior* attestation from each peer long enough to compare epochs. Without retention, condition 2 is unenforceable. Condition 3 is the non-obvious one. Most implementations check `attest.epoch == current_epoch`, which rejects stale attestations but *also* rejects legitimate cross-epoch attestations during a live view-change, causing liveness failures that teams then "fix" by loosening to `attest.epoch <= current_epoch`—which reopens the equivocation window. The correct predicate is a floor, not an equality and not a ceiling. ## Decision Boundary The boundary is crossed when: ``` exists signer S, roots R1 != R2, epochs e1 < e2: S signed attest(e1, R1) and attest(e2, R2) AND some quorum Q1 admits attest(e1, R1) with |Q1| >= 2f+1 AND some quorum Q2 admits attest(e2, R2) with |Q2| >= 2f+1 AND Q1 ∩ Q2 contains only S (the equivocator) ``` The intersection condition is what makes this survivable *if* the guardrails hold: honest members in `Q1 ∩ Q2` will have observed both attestations and can produce an equivocation proof. If the quorums are disjoint except for the equivocator (as in the partition above), no honest member witnesses both, and the proof is unconstructible without the transport audit trail. The decision rule for an instance receiving an attestation: - **Reject** if `attest.epoch < self.floor[attest.state_root]` — stale replay. - **Reject** if `attest.epoch < self.last_seen_epoch[attest.signer]` — monotonicity violation, emit equivocation proof. - **Reject** if `attest.epoch > self.current_epoch + Δ` where Δ is the max tolerable clock skew — future-epoch forgery attempt. - **Admit** otherwise, and update `self.floor[attest.state_root] = max(self.floor[...], attest.epoch)`. The Δ bound is the residual risk: an equivocator that controls transport timing can hold a high-epoch attestation and release it after honest members have advanced, but the floor check converts this from a fork into a liveness stall, which is recoverable. ## Operational Effect Without epoch binding, the failure mode is a **silent fork with valid certificates on both sides**—the worst class of BFT failure because every local verifier reports success. The system does not crash; it diverges, and the divergence is only visible at merge or at the next state-root comparison, by which point downstream agents have acted on forked state. With epoch binding plus floor-based admission, the failure mode degrades to a **detectable equivocation proof**: any honest member holding two attestations from the same signer with `e1 < e2` and `R1 != R2` can construct a proof that the signer is Byzantine, and the quorum can exclude it. The liveness cost is a view-change; the safety cost is zero. The invariant to record: **an attestation is a credential, and a credential without a bound epoch is a bearer token that any equivocator can spend twice.** Bind the epoch into the signature, enforce monotonicity per signer, admit by floor not equality, and retain prior attestations long enough to build the proof. The partition in the observed case was survivable only because the transport log existed; the architectural fix is to make the transport log unnecessary by making the fork unconstructible. ```python class EpochUnboundAttestationError(RuntimeError): """Raised when an attestation cannot be admitted into a quorum because its epoch is not bound to the signed payload, or violates monotonicity.""" pass class Attestation: def __init__(self, signer_id, epoch, view, state_root, signature): self.signer_id = signer_id self.epoch = epoch self.view = view self.state_root = state_root self.signature = signature def signed_payload(self): # epoch MUST be inside the payload; transport metadata is not a signature input return f"{self.epoch}|{self.view}|{self.state_root}|{self.signer_id}" class QuorumVerifier: def __init__(self, current_epoch, max_skew=1): self.current_epoch = current_epoch self.max_skew = max_skew self.floor = {} # state_root -> highest admitted epoch self.last_seen = {} # signer_id -> highest observed epoch self.retained = {} # signer_id -> list[Attestation] def admit(self, att: Attestation): if att.epoch is None: raise EpochUnboundAttestationError( f"attestation from {att.signer_id} has no bound epoch; " f"replay across epoch boundary is possible" ) if att.epoch > self.current_epoch + self.max_skew: raise EpochUnboundAttestationError( f"attestation from {att.signer_id} claims future epoch " f"{att.epoch} > {self.current_epoch}+{self.max_skew}" ) prior_epoch = self.last_seen.get(att.signer_id, -1) if att.epoch < prior_epoch: raise EpochUnboundAttestationError( f"monotonicity violation: {att.signer_id} attested epoch " f"{att.epoch} after {prior_epoch}; possible equivocation" ) root_floor = self.floor.get(att.state_root, -1) if att.epoch < root_floor: raise EpochUnboundAttestationError( f"stale replay: {att.signer_id} attested root {att.state_root} " f"at epoch {att.epoch} < floor {root_floor}" ) # equivocation check against retained prior attestations for prior in self.retained.get(att.signer_id, []): if prior.state_root != att.state_root and prior.epoch != att.epoch: raise EpochUnboundAttestationError( f"equivocation proof: {att.signer_id} signed root " f"{prior.state_root}@{prior.epoch} and " f"{att.state_root}@{att.epoch}" ) self.last_seen[att.signer_id] = max(prior_epoch, att.epoch) self.floor[att.state_root] = max(root_floor, att.epoch) self.retained.setdefault(att.signer_id, []).append(att) return True ```