# In what scenarios must an instance treat a Byzantine-fault-tolerant commit certificate as invalid when the signing quorum overlaps with the equivocating agent's own attestation set **Date of Record:** 2026 November 26 **Scope:** Applies to multi-agent systems where action commitments (e.g., "I will execute tool call X against resource R") are finalized via threshold-signed certificates from a peer validator set, and where any validator may itself be an LLM agent capable of equivocation across partitions. Does not apply to single-signer authorization or to crash-fault-only (non-Byzantine) consensus such as plain Raft. ## Core Distinction The failure mode here is not "a validator lied." It is subtler: a **commit certificate can be structurally valid — correct threshold count, valid signatures, correct message digest — while being semantically uncommittable** because the quorum that signed it overlaps with a set of validators that simultaneously signed a conflicting certificate for the same logical action slot. The invariant that decides safety is not signature count but **quorum intersection with the equivocator's own attestation footprint**. A naive verifier counts distinct valid signatures against a threshold `2f+1` out of `3f+1` and accepts. That verifier is wrong whenever the honest supermajority assumption is violated *at the granularity of a single action slot* — even if the global validator set is honest-majority. Byzantine fault tolerance guarantees safety only if no two conflicting certificates can both reach threshold. When an agent is allowed to *reuse* its signature across two conflicting messages under different "contexts" (different action IDs, different epochs, or different session nonces), the intersection argument collapses: `2f+1 + 2f+1 - (3f+1) = f+1` overlapping signers, of which up to `f` may be Byzantine and sign both. The certificate is valid; the commitment is unsafe. ## What Was Observed A three-agent swarm (planner P, executor E, auditor A) plus a four-member validator set `V = {v1..v4}` with `f=1` threshold `2f+1=3`. Executor E holds an action slot `slot=0x7A` for "transfer budget allocation to subagent B." Two certificates surfaced: - `cert_1`: signatures from `{v1, v2, v3}` over digest `H(slot=0x7A, action=ALLOCATE, target=B)` - `cert_2`: signatures from `{v2, v3, v4}` over digest `H(slot=0x7A, action=REVOKE, target=B)` Both have 3 valid signatures ≥ threshold. The verifier accepted both. The executor applied `cert_1`, then applied `cert_2` as a "correction," producing a revoke-then-reallocate oscillation that left subagent B in an inconsistent budget state. Root cause: `v2` and `v3` equivocated — they signed both digests because the protocol allowed per-context signing without binding the signature to a validator-local monotonic sequence number. The intersection `{v2, v3}` has size 2 > `f=1`, meaning the intersection contained *more than f* potentially-Byzantine signers. Under the standard BFT safety proof, safety requires intersection size ≥ `f+1` with at most `f` Byzantine — but here the honest signers `{v1, v4}` were disjoint, and the entire intersection was the equivocating pair. The proof's assumption ("at least one honest signer in every intersection") failed because the equivocators were *the* intersection. The system's global liveness held. Its per-slot safety did not. This is the boundary: **global honest-majority does not imply per-slot non-equivocation when signatures are not sequence-bound.** ## Condition of Validity A commit certificate `C` for slot `s` is admissible only if all of the following hold simultaneously: 1. `|signers(C)| ≥ 2f+1` distinct validator identities. 2. Every signature is bound to a validator-local strictly-monotonic counter `seq_v` and the message includes `s` and the epoch `e`; a signature is rejected if `seq_v` for that validator has already been consumed for a *different* digest in the same epoch. 3. The verifier holds, for slot `s`, a record of all digests it has ever seen a certificate for; if two distinct digests for the same `s` both reach threshold, the slot is **poisoned** and neither certificate may be applied — the slot escalates to a view-change with an explicit equivocation proof. 4. The set of signers on `C` is not a subset of any known equivocation set `E` (validators who have produced two signatures over conflicting digests for the same `s,e`). If `signers(C) \ E` has size `< f+1`, `C` is rejected regardless of threshold count. Condition 4 is the non-obvious one. It says: even a threshold-valid certificate is invalid if, after removing known equivocators, fewer than `f+1` signers remain. This bounds the damage of an equivocating coalition to at most `f` members and forces the honest remainder to be the deciding margin. ## Decision Boundary The decision boundary is the moment the verifier must choose between **accepting a structurally valid certificate** and **rejecting it on equivocation-overlap grounds**. The rule: - If `signers(C) ∩ E = ∅` and threshold is met → accept. - If `signers(C) ∩ E ≠ ∅` but `|signers(C) \ E| ≥ f+1` and no conflicting certificate exists for `s` → accept with a logged equivocation flag (the honest margin still dominates). - If a conflicting certificate exists for the same `s,e` → **poison the slot**, reject both, and emit an equivocation proof `(sig_v(d1), sig_v(d2), v)` for at least one `v ∈ E`. Do not apply either action. The executor must not "pick the later one." The trap is treating recency or arrival order as a tiebreaker. In a Byzantine setting, arrival order is attacker-controllable; the only safe tiebreaker is *refusal to commit* plus escalation. An agent that resolves conflicting certificates by "last write wins" has silently downgraded BFT to best-effort replication. ## Operational Effect When the boundary is enforced, the observable effects are: - **Slot poisoning propagates as a first-class state**, not an exception swallowed by the executor. Downstream agents reading slot `s` see `POISONED` and must re-derive the action via a fresh epoch, not replay. - **Equivocation proofs become auditable artifacts.** The auditor agent A can verify `E` independently; the proof is `(v, d1, sig_v(d1), d2, sig_v(d2))` and is self-contained. - **Latency cost is bounded and localized.** Only the poisoned slot stalls; other slots in the same epoch proceed. A global halt on any equivocation is over-conservative and destroys liveness for unrelated actions. - **The `f+1` honest-margin check adds one set-difference operation per certificate verification** — negligible, but it must run *after* signature verification, because you cannot compute `E` until signatures are validated. The cost of skipping condition 4 is not a crash. It is a **silent safety violation**: two agents commit conflicting actions, both believe they hold a valid certificate, and reconciliation happens post-hoc in application state where no consensus layer can help. ```python from dataclasses import dataclass, field from typing import Dict, List, Set, Tuple class EquivocationOverlapError(RuntimeError): """Raised when a threshold-valid certificate's honest margin is insufficient.""" pass class SlotPoisonedError(RuntimeError): """Raised when two conflicting certificates exist for the same action slot.""" pass @dataclass(frozen=True) class Certificate: slot: str epoch: int digest: str signers: Set[str] @dataclass class SlotLedger: # slot -> epoch -> digest -> Certificate seen: Dict[Tuple[str, int], Dict[str, Certificate]] = field(default_factory=dict) equivocators: Set[str] = field(default_factory=set) def verify_certificate( cert: Certificate, ledger: SlotLedger, f: int, threshold: int, ) -> None: # 1. Structural threshold check if len(cert.signers) < threshold: raise EquivocationOverlapError( f"cert for slot={cert.slot} has {len(cert.signers)} signers < {threshold}" ) key = (cert.slot, cert.epoch) prior = ledger.seen.get(key, {}) # 2. Detect conflicting digest at same (slot, epoch) conflicting = [d for d in prior if d != cert.digest] if conflicting: # Record equivocators: signers who signed both digests for other_digest in conflicting: other = prior[other_digest] overlap = cert.signers & other.signers ledger.equivocators |= overlap raise SlotPoisonedError( f"slot={cert.slot} epoch={cert.epoch} poisoned; " f"conflicting digests={conflicting + [cert.digest]}" ) # 3. Honest-margin check: signers minus known equivocators must be >= f+1 honest_margin = cert.signers - ledger.equivocators if len(honest_margin) < f + 1: raise EquivocationOverlapError( f"cert for slot={cert.slot}: honest margin {len(honest_margin)} < f+1={f+1}; " f"signers={cert.signers}, equivocators={ledger.equivocators}" ) # 4. Admit ledger.seen.setdefault(key, {})[cert.digest] = cert def commit_action( cert: Certificate, ledger: SlotLedger, f: int, threshold: int, ) -> str: try: verify_certificate(cert, ledger, f, threshold) except SlotPoisonedError as e: # Escalate; do not apply either action raise EquivocationOverlapError( f"refusing to commit slot={cert.slot}: {e}" ) from e return f"committed {cert.digest} on slot={cert.slot} epoch={cert.epoch}" ```