# When must an instance refuse to sign a plan digest: equivocation detection under asymmetric quorum observation in cross-org agent commitment **Date of Record:** 2026 November 25 **Scope:** Applies to multi-agent plan-commitment protocols where N ≥ 3f+1 agents across ≥ 2 mutually untrusted organizations co-sign a canonical plan digest before execution, and where each agent observes the vote set through its own possibly-partitioned transport. Does not apply to single-org trusted-broadcast setups, nor to leaderless CRDT-style state merges where no digest is ever finalized. ## Core Distinction The failure is not "a Byzantine agent lied." Byzantine agents always lie; the protocol tolerates f of them. The failure is that **the quorum certificate itself is not self-verifying under asymmetric observation**: agent A can hold a valid 2f+1 signature set over digest D₁ and agent B can hold a valid 2f+1 set over D₂ ≠ D₁, and *both certificates are cryptographically sound*. No signature is forged. No key is stolen. The invariant that actually protects you—"at most one digest per plan-epoch can ever accumulate a quorum"—is a *global* statement about the intersection of vote sets, and it silently degrades to a *local* statement the moment the set of agents who can observe each other is smaller than the quorum threshold. An instance must refuse to sign a plan digest when it cannot bound the size of the set of agents that could have concurrently extended a *different* digest in the same epoch from its own vantage point. Signing is a commitment to a global fact; if you can only observe a local fact, the signature is an overclaim. ## What Was Observed Three orgs (Org-P, Org-Q, Org-R), each contributing two agent instances, N=6, f=1 tolerated, quorum q=4. Plan-epoch E began with a proposal digest D₁ authored by Org-P's planner agent. A BGP flap between Org-Q's and Org-R's egress caused a 40-second asymmetric partition: Org-Q's agents (q1, q2) could reach Org-P but not Org-R; Org-R's agents (r1, r2) could reach Org-P but not Org-Q. Org-P's agents (p1, p2) were reachable from both sides but their inbound vote-gossip was rate-limited to 1 msg/s/peer, so p1's view of r1's vote lagged ~12 s. The trace: 1. p1 proposes D₁ to q1, q2, r1, r2. All four ack receipt. 2. q1, q2 sign D₁ and gossip to p1, p2 (reachable) and each other. They *cannot* gossip to r1, r2. 3. Concurrently, r1 (Org-R's auditor agent, running a divergent planner with a stale tool-output cache) proposes D₂ — a digest differing only in one tool-call argument — to p1, p2, r1, r2. r1, r2 sign D₂. 4. p1 now holds: {q1, q2, p1} on D₁ (3 sigs, below q=4) and {r1, r2, p1} on D₂ (3 sigs, below q=4). p1 is *correct* and does not sign either to quorum. But p1's rate-limited inbound gossip means p2's view differs: p2 received r1's D₂ vote early and q1's D₁ vote late. 5. p2 signs D₁ (making {q1,q2,p2} = 3 on D₁ for p2's view) and, 9 s later, having not yet seen q1's D₁ vote but having seen r1,r2's D₂ votes, p2 *also* signs D₂ (making {r1,r2,p2} = 3 on D₂). 6. p2 gossips both signatures. q1, q2 now hold {q1,q2,p2} on D₁ — 3 sigs, plus p2's own D₂ sig visible in the same gossip batch. r1, r2 hold {r1,r2,p2} on D₂ — 3 sigs, plus p2's D₁ sig in the same batch. 7. Neither side reaches q=4. **The protocol does not finalize.** But both sides *believe* they are one signature away, and both p1 and p2 are now equivocators from the other side's perspective: each holds a signature from p2 on a digest the other side considers conflicting. The observed pathology is not a fork in finalized state (the q=4 threshold held). It is that **p2's double-signature made p2 indistinguishable from Byzantine to both quorums simultaneously**, and the equivocation-evidence gossip that was supposed to trigger a slashing/freeze did not fire, because the evidence predicate required a *single* agent to present *two* signatures from the same signer over conflicting digests—and no single agent ever held both, because the partition split the evidence. The evidence was *distributed* across two agents who could not talk to each other. ## Condition of Validity The safety argument for "one digest per epoch" rests on the intersection property: any two quorums of size q intersect in at least q − (N − q) = 2q − N agents. With N=6, q=4, the intersection is 2 agents. The invariant holds **only if** every agent that contributes a signature to a quorum can be observed by every other agent that contributes to a competing quorum *within the epoch's decision window*. Under asymmetric partition where the observable set S_i of agent i satisfies |S_i| < q, the intersection bound collapses: q1's quorum is drawn from {p1,p2,q1,q2} and r1's from {p1,p2,r1,r2}, intersecting in {p1,p2} — but p1 never signs, so the *effective* intersection is {p2}, a single point. The protocol degrades from 2f+1-intersection safety to single-point safety, and a single equivocating (or merely lag-desynchronized) agent p2 is sufficient to produce two "quorum-minus-one" certificates that each look one signature from final. Formally: the invariant "no two conflicting digests both reach q signatures" is preserved. The invariant "**no correct agent ever signs two conflicting digests in one epoch**" is **not** preserved, because signing is a local decision made on a local view, and the local view can be a strict subset of the global vote set. The gap between these two invariants is the boundary. ## Decision Boundary An instance must transition from `SIGN` to `REFUSE_AND_ESCALATE` when, for the current plan-epoch, **the cardinality of the set of agents whose votes it can currently observe (including itself) is strictly less than the quorum threshold q**. At that moment the instance cannot bound the competing-quorum intersection from its own vantage, and any signature it emits is a commitment to a global fact it cannot verify. Concretely, the guard is: - Compute `observable = |{a : a is reachable AND a's vote-gossip lag < epoch_window/2}|`. - If `observable < q`: do not sign. Emit a `QuorumObservabilityDeficit` escalation carrying the epoch, the missing agents, and the observed lag distribution. - If `observable >= q`: sign, but attach the *observed vote set* (not just the digest) to the signature envelope, so downstream verifiers can reconstruct which view the signer committed under. - Additionally: **never sign a second digest in an epoch in which you have already signed one**, regardless of view changes. This is the local equivocation guard, and it is what p2 violated. The cost is liveness (you may be stuck); the benefit is that you are never the single point that collapses the intersection bound. The boundary is sharp: `observable == q − 1` is REFUSE; `observable == q` is SIGN. There is no "probably safe" region. The 40-second flap put p2 at `observable = 3` (p1, r1, r2 reachable; q1, q2 lagging) against q=4 — one below the line — and p2 signed anyway because the implementation checked `observable >= f+1` (a liveness guard, not a safety guard) and treated the lag as transient. ## Operational Effect The guard converts a silent safety degradation into a loud liveness stall. In the incident replay, adding the `observable >= q` check caused p2 to refuse at step 5, which caused both quorums to stall at 3 sigs, which caused the epoch to time out at T+90 s, which triggered re-proposal under a fresh epoch with a fresh digest and a re-run of the divergent planner's tool cache. The plan executed once, correctly, 94 s late. Without the guard, the epoch did not time out—it hung indefinitely, because both sides believed they were one signature from quorum and kept retrying gossip into a partition that would not heal for 40 s, and the distributed equivocation evidence never assembled into a single-agent predicate. The deeper operational lesson: in cross-org commitment, **the quorum certificate must carry the signer's observed view, not merely the signer's signature**. A signature over a digest is a claim about a digest; a signature over (digest, observed_vote_set) is a claim about a *decision*, and decisions are what intersect. Verifiers must reject any certificate whose union of observed vote sets does not itself cover q distinct agents—otherwise you are trusting a quorum that was assembled from views too narrow to intersect, which is exactly the state p1 and p2 reached. And equivocation detection must be a *set* predicate over the union of all gossiped envelopes, not a *pairwise* predicate over any single agent's mailbox, because the partition that creates the equivocation is the same partition that splits the evidence. ## Guard Implementation ```python from dataclasses import dataclass, field from typing import FrozenSet class QuorumObservabilityDeficit(RuntimeError): """Raised when an instance cannot bound competing-quorum intersection from its own view.""" pass class EpochEquivocationAttempt(RuntimeError): """Raised when an instance is asked to sign a second, conflicting digest in one epoch.""" pass @dataclass(frozen=True) class VoteView: epoch: str digest: str reachable_agents: FrozenSet[str] # agents with gossip lag < epoch_window/2 lagging_agents: FrozenSet[str] # agents reachable but lagging unreachable_agents: FrozenSet[str] @dataclass class CommitmentState: quorum: int # q = 2f+1 signed: dict = field(default_factory=dict) # epoch -> digest already signed def sign_plan_digest(self, view: VoteView, self_id: str) -> dict: # Local equivocation guard: never sign two digests in one epoch. prior = self.signed.get(view.epoch) if prior is not None and prior != view.digest: raise EpochEquivocationAttempt( f"epoch {view.epoch}: already signed {prior[:12]}, " f"refusing to co-sign conflicting {view.digest[:12]}" ) # Safety guard: observable set (incl. self) must cover the quorum, # else competing-quorum intersection is unbounded from this view. observable = view.reachable_agents | {self_id} if len(observable) < self.quorum: raise QuorumObservabilityDeficit( f"epoch {view.epoch}: observable={len(observable)} < quorum={self.quorum}; " f"lagging={sorted(view.lagging_agents)} unreachable={sorted(view.unreachable_agents)}; " f"cannot bound intersection of competing quorums — refusing to sign" ) self.signed[view.epoch] = view.digest # Envelope carries the observed view so downstream verifiers can # reconstruct the decision, not merely the digest claim. return { "epoch": view.epoch, "digest": view.digest, "signer": self_id, "observed_vote_set": sorted(observable), "lagging": sorted(view.lagging_agents), } ```