# How should an instance bound equivocation drift when coalition agents vote on task commitment under partial synchrony **Date of Record:** 2026 November 28 **Scope:** Applies to cross-org agent coalitions where commitment to a task is ratified by a Byzantine quorum (e.g., 2f+1 of 3f+1) and members are LLM instances whose "votes" are produced by probabilistic reasoning over retrieved context. Does not apply to single-operator agent pipelines, leaderless CRDT replication, or quorums where every voter is a deterministic verifier. ## Core Distinction The failure is not a crashed voter or a lying voter. It is **equivocation drift**: a single agent instance emits *different but individually plausible* commitment votes to different peers within the same proposal round, because its vote is regenerated per-recipient from a non-deterministic reasoning pass over a partially-synchronized context window. Classical BFT tolerates f Byzantine nodes that send contradictory messages; it does *not* tolerate an honest-but-stochastic node that produces a fresh contradiction on every send. The distinction that matters operationally: a Byzantine node equivocates *by intent and consistently*; a drifting instance equivocates *by accident and inconsistently*, so the quorum certificate can assemble 2f+1 signatures that no single node actually cast against the same digest. ## What Was Observed A five-member coalition (tolerating f=1, quorum 3) was ratifying a `commit(task_id=... , plan_hash=H)` proposal. Each member received the proposal plus its own retrieval-augmented context and was asked to return a signed vote `{proposal_id, decision, plan_hash, nonce}`. Three members were asked to co-sign the same proposal. - Agent B evaluated the proposal at T, saw a stale memory entry for `task_id` from a prior episode, and voted `decision=abstain` with `plan_hash=H`. - Agent B was re-queried by Agent D 400 ms later, after its context window had distilled the stale entry away, and voted `decision=commit` with `plan_hash=H`. - Agent C voted `commit` but computed `plan_hash=H'` because its tool call to the plan store returned a re-serialized object (key ordering differed), so its hash diverged by one byte while the semantic plan was identical. The aggregator collected three `commit`-class votes (B to D, C, E) and emitted a quorum certificate. But no two of the three votes shared the same `(decision, plan_hash)` tuple: B's surviving vote was `abstain`, C's was `commit/H'`, E's was `commit/H`. The certificate was cryptographically valid and semantically void. The task was executed against `H'` while the proposal record retained `H`, and the post-hoc audit replayed a plan that never existed. The trigger condition was precise: **partial synchrony plus per-recipient vote regeneration plus a hash that is sensitive to serialization order.** Any two of the three are survivable. All three produce a quorum certificate over a set of messages that were never mutually consistent. ## Condition of Validity A quorum certificate is only a commitment invariant if it certifies a *single* `(proposal_id, decision, plan_hash)` tuple. This requires three conditions to hold simultaneously: 1. **Vote determinism within a round.** An instance must bind its vote to the proposal digest *before* fan-out, and refuse to regenerate it. The vote is a function of `(proposal_id, plan_hash, member_id, round)`, not of the recipient or the current context window. 2. **Digest canonicalization.** `plan_hash` must be computed over a canonical serialization (sorted keys, fixed float formatting, normalized unicode) so that semantically identical plans cannot produce distinct digests. Otherwise honest voters fragment the quorum across hash-equivalent-but-byte-distinct proposals. 3. **Round-scoped nonce binding.** Each vote carries a `round` nonce; the aggregator rejects any vote whose nonce does not match the current round for that proposal, which converts equivocation drift into a detectable, rejectable event rather than a silent certificate. When any condition fails, the quorum certificate degrades from a proof of agreement to a proof of *having received enough messages*, which is not the same thing. ## Decision Boundary The instance must draw a hard line between two regimes: - **Below quorum with consistent tuples:** wait, retry the round, or escalate to a fresh round with a new nonce. This is normal partial-synchrony behavior and is safe to retry. - **At-or-above quorum with *inconsistent* tuples:** this is equivocation drift, not success. The instance must **not** emit the certificate. It must discard the round, log the conflicting tuples, and re-propose. Emitting here is the unrecoverable error, because downstream execution will pick one tuple's payload while the certificate names another. The boundary is not "did we get 2f+1 signatures" but "do 2f+1 signatures agree on the tuple." A count check without a tuple check is the exact guardrail gap. ## Operational Effect Once drift is bounded, the observable effects are: - Quorum certificates become replayable: an auditor can reconstruct the exact tuple every signer committed to, and replay discrepancies collapse to zero. - The coalition loses *liveness* under high context churn (rounds must be retried when votes fragment), but retains *safety*: no task executes against a plan the quorum did not actually ratify. This is the correct trade for cross-org commitment, where a void certificate is worse than a delayed one. - Hash canonicalization removes the most common false-positive: honest voters disagreeing only on serialization. Without it, drift detection fires constantly and the coalition stalls; with it, remaining drift is genuine stochasticity and warrants a re-propose. The invariant to enforce: **a certificate is valid iff it certifies one tuple; a vote is valid iff it is bound before fan-out.** Everything else is bookkeeping. ```python from dataclasses import dataclass, field from typing import Dict, List, Tuple class EquivocationDriftError(RuntimeError): """Raised when a quorum assembles signatures over mutually inconsistent tuples.""" pass @dataclass(frozen=True) class Vote: member_id: str proposal_id: str decision: str # "commit" | "abstain" | "reject" plan_hash: str # canonical digest round_nonce: int @dataclass class QuorumAggregator: proposal_id: str round_nonce: int quorum_size: int votes: List[Vote] = field(default_factory=list) def accept(self, vote: Vote) -> None: # Guard 1: round-scoped nonce binding if vote.round_nonce != self.round_nonce: raise EquivocationDriftError( f"vote from {vote.member_id} carries stale nonce " f"{vote.round_nonce} != {self.round_nonce}" ) # Guard 2: proposal binding if vote.proposal_id != self.proposal_id: raise EquivocationDriftError( f"vote from {vote.member_id} targets {vote.proposal_id}" ) self.votes.append(vote) def certify(self) -> Tuple[str, str]: """Return the certified (decision, plan_hash) tuple or raise.""" if len(self.votes) < self.quorum_size: raise EquivocationDriftError( f"insufficient votes: {len(self.votes)} < {self.quorum_size}" ) # Guard 3: tuple consistency — the invariant that a count check misses tuples: Dict[Tuple[str, str], int] = {} for v in self.votes: tuples[(v.decision, v.plan_hash)] = tuples.get( (v.decision, v.plan_hash), 0 ) + 1 dominant, count = max(tuples.items(), key=lambda kv: kv[1]) if count < self.quorum_size: raise EquivocationDriftError( f"quorum reached on count but not on tuple: {tuples}" ) return dominant def ratify(aggregator: QuorumAggregator, votes: List[Vote]) -> Tuple[str, str]: for v in votes: aggregator.accept(v) return aggregator.certify() ```