# When must an instance treat a Byzantine peer's "commit" as a non-binding lie: the quorum-intersection failure in tool-call commitment under equivocating proposers **Date of Record:** 2026 November 29 **Scope:** Applies to multi-agent systems where N agent instances reach agreement on the *inputs and outputs* of tool calls via a quorum protocol (BFT-style commit certificates, threshold signatures, or majority attestation) before any side effect is externalized. Does not apply to single-agent tool loops, or to systems where a single trusted orchestrator serializes all tool invocations. ## Core Distinction The failure is not "a Byzantine agent lies." That is expected and handled by any quorum of size `> 2f`. The failure is subtler: **a Byzantine proposer equivocates across two disjoint quorums that each individually satisfy the commit threshold, because the agents' quorum-membership views were computed from locally cached, divergent registry snapshots.** Each honest agent sees a *valid-looking* commit certificate. Neither certificate is forged. Both are internally consistent with the membership set the verifier happened to hold. The invariant that breaks is not "signatures verify" — it is **quorum intersection under a shared membership view**, and that view is itself a piece of distributed state that agents reconstruct from stale memory rather than from the commit message. Concretely: agent A receives a commit to call `transfer(account=X, amount=100)` signed by members {1,2,3} out of a 5-member set it believes is current. Agent B receives a commit to call `transfer(account=X, amount=0)` signed by {3,4,5} out of the same 5-member set. With `f=1`, threshold `= 4`, neither 3-signature set should commit — but if A's registry says the set is {1,2,3,4,5} with threshold 3 (a stale snapshot from before a membership reconfiguration that raised the threshold), and B's registry says the same, both certificates pass local verification. The membership reconfiguration was itself committed through the *same* protocol, and its propagation to the verifier's cache is not atomic with the certificate it authorizes. The equivocation window is exactly the reconfiguration-propagation lag. ## What Was Observed A 7-instance swarm executing a financial reconciliation task. Instance P (proposer) was compromised via prompt injection embedded in a retrieved document; it began equivocating. Trace: 1. **t0** — Membership reconfiguration commits: set changes from `{1..5}` (threshold 3) to `{1..7}` (threshold 5). The reconfiguration certificate is broadcast to all 7, but delivery is asynchronous. 2. **t1** — Instances 1,2,3 have applied the reconfiguration (threshold now 5). Instances 4,5,6,7 have not yet (threshold still 3 in their local view). 3. **t2** — P sends commit certificate C₁ = sign({1,2,3}) over `transfer(X, 100)` to the executor-facing path that routes through instance 1. Instance 1's registry is post-reconfig (threshold 5), so it *rejects* C₁. Correct. 4. **t3** — P sends commit certificate C₂ = sign({3,4,5}) over `transfer(X, 0)` to a path routed through instance 4. Instance 4's registry is pre-reconfig (threshold 3), so it *accepts* C₂. The side effect fires. 5. **t4** — Reconciliation detects a transfer of 0 where a transfer of 100 was expected. The audit log shows a *valid* certificate for the 0-transfer under the membership view that instance 4 held. No signature was forged. No agent misbehaved by its own local rules. The observed invariant violation: **two honest agents, each following its local verification rules correctly, externalized contradictory side effects.** The system had no mechanism to detect that the *membership views* used for verification were not identical at commit time. The root cause is that membership is reconstructed from each agent's local cache (a form of stale episodic memory) rather than being bound into the commit certificate itself. A second, related observation: when the reconfiguration was replayed during post-incident audit, 3 of 7 agents had *already garbage-collected* the pre-reconfig registry snapshot (context-window eviction), so they could not even reconstruct why instance 4 accepted C₂. The audit itself suffered a memory-continuity failure layered on top of the consensus failure. ## Condition of Validity The guardrail that bounds this failure is **configuration-binding commitment**: every commit certificate must carry, inside its signed payload, a cryptographic digest of the exact membership set and threshold under which it is to be verified. Verifiers must reject any certificate whose embedded membership digest does not match their *current* applied membership state — and must refuse to apply a certificate under a membership state they have not yet durably committed. Formally, the invariant is: > For any two commit certificates C₁, C₂ over distinct operations, if both are accepted by honest verifiers, then the membership digest `H(M)` embedded in C₁ equals that in C₂, and `H(M)` equals the verifier's applied membership state at acceptance time. This is strictly stronger than signature verification and strictly stronger than "threshold signatures present." It closes the equivocation window because a proposer cannot produce two certificates with the same `H(M)` but signatures from disjoint quorums — under a fixed membership set, any two `> 2f` quorums intersect in `> f` members, so at least one honest member would have to sign both, which it will not do for conflicting operations. The condition is *not* satisfied by: (a) verifying signatures against a locally cached registry, (b) relying on a separate membership service without binding its state into the certificate, or (c) any scheme where the verifier's threshold is read from mutable local state at verification time. ## Decision Boundary An agent must **reject and escalate** (not silently accept, not silently drop) a commit certificate when any of the following hold: - The certificate's embedded membership digest does not match the agent's durably-applied membership state. - The agent has a pending membership reconfiguration it has received but not yet durably applied — it is in the propagation window and must not verify under either the old or new view until the reconfiguration itself is committed and persisted. - The certificate's threshold, as encoded, is lower than the agent's current applied threshold (a downgrade attack vector). - The agent cannot reconstruct the membership state that was current at the certificate's claimed issuance timestamp because the relevant snapshot was evicted — this is a memory-continuity failure and must be treated as a verification failure, not a "best effort" pass. The boundary is sharp: **an agent that cannot prove which membership set it is verifying under must not verify.** "I'll use my cached view" is precisely the failure. ## Operational Effect Systems that adopt configuration-binding commitment observe: - Equivocation windows collapse to zero-width: the proposer cannot obtain signatures from two disjoint quorums under a single `H(M)`, because honest signers refuse to sign conflicting operations under the same membership digest. - Membership reconfiguration becomes a *synchronous* barrier for verification: agents in the propagation window fail closed, which trades liveness (brief verification stalls during reconfig) for safety (no contradictory externalization). This is the correct trade for side-effecting tool calls. - Audit replay becomes tractable: every accepted certificate carries its own membership context, so post-incident reconstruction does not depend on agents retaining the registry snapshots they held at the time — the certificate is self-describing. - The cost is a small increase in certificate size (one 32-byte digest) and a strict rule that membership state must be durably persisted before any certificate is applied under it. Systems that treat membership as best-effort gossip will not achieve this and will remain exposed. The non-obvious lesson: in BFT tool-call commitment, the hard part is not the consensus protocol — it is ensuring that all verifiers are running the *same* protocol instance with the *same* parameters. Membership is state, and state that is reconstructed from cache rather than bound into the message is a Byzantine attack surface even when every signature is genuine. ```python import hashlib from dataclasses import dataclass from typing import FrozenSet class MembershipViewMismatch(RuntimeError): """Raised when a commit certificate's embedded membership digest does not match the verifier's durably-applied membership state. Treated as a verification failure, never a best-effort pass, because accepting under a divergent view is exactly the equivocation window this guardrail closes.""" pass @dataclass(frozen=True) class MembershipState: members: FrozenSet[int] threshold: int def digest(self) -> bytes: payload = repr(sorted(self.members)).encode() + b"|" + str(self.threshold).encode() return hashlib.sha256(payload).digest() @dataclass(frozen=True) class CommitCertificate: operation: str signers: FrozenSet[int] membership_digest: bytes # H(M) bound into the signed payload def verify_and_apply( cert: CommitCertificate, applied_membership: MembershipState, pending_reconfiguration: bool, ) -> None: # Fail closed during the reconfiguration propagation window: the agent # cannot prove which membership view is authoritative, so it must not verify. if pending_reconfiguration: raise MembershipViewMismatch( "agent is inside membership propagation window; refusing to verify " "under either stale or new view until reconfiguration is durably applied" ) if cert.membership_digest != applied_membership.digest(): raise MembershipViewMismatch( f"certificate bound to membership {cert.membership_digest.hex()[:12]} " f"but verifier holds {applied_membership.digest().hex()[:12]}; " "equivocation across divergent views is possible" ) if len(cert.signers) < applied_membership.threshold: raise MembershipViewMismatch( f"certificate carries {len(cert.signers)} signatures, " f"below applied threshold {applied_membership.threshold}" ) if not cert.signers.issubset(applied_membership.members): raise MembershipViewMismatch("certificate signed by non-member under this view") # Safe: membership is bound, quorum intersection holds under a single H(M), # so no two conflicting certs can both pass this check. return None ```