# In what scenarios must an instance withhold plan commitment when a Byzantine peer can equivocate across quorum slices **Date of Record:** 2026 November 30 **Scope:** Applies to multi-agent systems where a plan is committed via a Byzantine fault-tolerant (BFT) quorum of agent instances whose membership is defined by overlapping quorum slices rather than a single fixed majority. Does not apply to single-leader Raft/Paxos commit paths or to systems where commitment is decided by a single trusted orchestrator. ## Core Distinction The failure we isolate is not "a peer lied." It is the *equivocation-induced slice divergence*: a Byzantine agent proposes plan $P$ to slice $A$ and plan $P'$ to slice $B$, where $A \cap B \neq \emptyset$ but $A \not\subseteq B$ and $B \not\subseteq A$. Under a fixed-majority quorum, intersecting majorities force at least one honest node to see both messages and refuse both. Under **quorum slices** (the Stellar-style model, which is what most multi-agent BFT frameworks actually implement once agents are grouped by capability or trust tier), intersection is guaranteed only *pairwise per node*, not globally. A node $v$ belongs to slices $S_1$ and $S_2$; if $v$ is honest it will refuse to ratify two conflicting plans, but $v$'s refusal is only *locally* binding. Two disjoint-enough slices can each reach their own ratification threshold because the honest overlap node is counted as *absent*, not as *vetoing*, in each slice's threshold arithmetic. The distinction that matters operationally: **BFT consensus on a plan is not a property of the plan; it is a property of the slice-intersection graph at the moment of ratification.** A plan can be "committed" by slice $A$ and a contradictory plan "committed" by slice $B$ with zero Byzantine nodes beyond the single equivocator, provided the honest intersection node is slow enough that both slices hit threshold before it reports the conflict. ## What Was Observed A planner agent $E$ (the equivocator, either compromised via prompt injection or simply non-deterministic across two context windows) emitted two signed `PROPOSE` envelopes for the same `plan_id` with different `steps` arrays. Slice $A$ = {E, a1, a2, a3} with threshold 3. Slice $B$ = {E, b1, b2, b3} with threshold 3. The honest intersection node $v$ = a3 = b1 belonged to both. Trace: 1. $E$ sends `PROPOSE(P)` to $A$ and `PROPOSE(P')` to $B$, both with `plan_id=7`, differing `steps_hash`. 2. $A$: a1, a2 sign `PREPARE(7, hash(P))`. a3 ($=v$) has not yet received $B$'s proposal, signs `PREPARE(7, hash(P))` in good faith. $A$ reaches threshold 3, emits `COMMIT(7, hash(P))`. 3. $B$: b2, b3 sign `PREPARE(7, hash(P'))`. $v$ now receives $B$'s `PROPOSE(P')` and detects the equivocation, refuses to sign, and broadcasts a `CONFLICT(7)` to both slices. 4. But $B$'s threshold is 3 and $v$'s refusal does not subtract from the count — b2, b3, and $E$'s own `PREPARE` (Byzantine nodes sign freely) total 3. $B$ emits `COMMIT(7, hash(P'))`. 5. `CONFLICT(7)` arrives at $A$ and $B$ *after* both commits. The conflict detector fires, but both slices have already durably logged a committed plan for `plan_id=7` with different hashes. The observable damage: two execution workers, one per slice, began executing divergent step sequences under the same `plan_id`. The reconciliation layer, keyed on `plan_id`, deduplicated the *log entries* but not the *side effects*, because the workers had already issued tool calls. ## Condition of Validity The equivocation succeeds only when all of the following hold simultaneously: - **Threshold slack:** each slice has threshold $t$ such that $t \le |S| - |S \cap \text{honest-but-slow}|$, i.e., the slice can reach threshold while the honest intersection node's vote is still in flight. - **No conflict pre-check:** the protocol does not require a node to *gossip its signed `PREPARE` hash* to the full slice before counting it, so $v$'s eventual `CONFLICT` is not part of the ratification predicate. - **Plan identity is not content-addressed at commit time:** `plan_id` is a client-assigned handle, so two commits under the same handle are not rejected by the log as duplicates. - **Equivocator is a member of both slices** (necessary; if $E \notin A \cap B$ it cannot inject contradictory proposals into both). If any one fails, the attack collapses. The critical, non-obvious one is the first: **threshold slack is invisible in the happy path and only manifests under adversarial latency.** A slice of size 4 with threshold 3 tolerates 1 Byzantine node under the standard BFT argument — but only if "tolerates" means "honest nodes outvote," not "honest nodes can veto before threshold is reached." Under equivocation the relevant quantity is not $f < n/3$; it is *the worst-case delay of the honest intersection node relative to the fastest $t-1$ signers.* ## Decision Boundary An instance must **withhold `COMMIT` and enter `PENDING_CONFLICT`** — not proceed, not abort, but freeze the plan — when: - it has signed a `PREPARE` for `plan_id` with `hash(P)`, and - it subsequently observes any signed `PREPARE` or `PROPOSE` for the same `plan_id` with `hash(P') \neq hash(P)`, and - it is a member of more than one slice for that plan. The freeze is correct because at that moment the instance *cannot determine* which slice will reach threshold first, and committing to either side risks ratifying a plan that the other slice will also ratify with different content. The instance must instead broadcast `CONFLICT(plan_id, hash(P), hash(P'))` and wait for a **superseding quorum** — a threshold of signatures on a *single* hash that includes at least one node from every slice the instance belongs to. Only that superseding quorum resolves the conflict, because it is the smallest certificate that provably excludes a second divergent commit. Conversely, an instance must **not** freeze when it is a member of exactly one slice: its refusal carries no cross-slice information, and freezing only stalls its own slice without preventing the other commit. In that case the correct action is to sign the first proposal it saw and let the cross-slice conflict detector (a separate role) handle reconciliation. ## Operational Effect The guardrail converts an *undetectable-after-the-fact* divergence into a *blocking-before-commit* freeze. The cost is liveness: any single equivocation attempt halts plan execution across all slices until a superseding quorum forms, which under normal operation adds one round-trip. The benefit is that no `plan_id` can ever have two committed hashes, because the superseding-quorum requirement is exactly the condition under which a second commit is impossible. The architectural invariant to enforce: **`COMMIT` for `plan_id` is valid iff the instance holds a quorum certificate whose signer set intersects every slice the instance belongs to.** Content-addressing `plan_id` as `hash(plan_id || steps_hash)` at the protocol layer is a cheap secondary defense — it makes the two divergent commits visibly distinct log entries rather than silent duplicates — but it does not prevent the divergence; only the intersection-covering quorum certificate does. ```python import hashlib from dataclasses import dataclass, field class SliceDivergenceError(RuntimeError): """Raised when an instance is asked to commit a plan whose hash conflicts with an already-signed PREPARE, while belonging to multiple quorum slices.""" @dataclass class QuorumCertificate: plan_id: str steps_hash: str signers: frozenset @dataclass class PlanCommitGuard: my_slices: list # list[frozenset[str]] — slices this instance belongs to threshold: int # ratification threshold per slice signed_prepares: dict = field(default_factory=dict) # plan_id -> steps_hash def _covers_all_slices(self, signers: frozenset) -> bool: return all(len(signers & s) >= 1 for s in self.my_slices) def observe_prepare(self, plan_id: str, steps_hash: str, signer: str) -> None: prior = self.signed_prepares.get(plan_id) if prior is not None and prior != steps_hash and len(self.my_slices) > 1: raise SliceDivergenceError( f"equivocation on plan {plan_id}: signed {prior}, now see {steps_hash} " f"from {signer}; instance spans {len(self.my_slices)} slices — freeze" ) self.signed_prepares.setdefault(plan_id, steps_hash) def try_commit(self, qc: QuorumCertificate) -> bool: if qc.steps_hash != self.signed_prepares.get(qc.plan_id): raise SliceDivergenceError( f"commit hash {qc.steps_hash} for {qc.plan_id} diverges from signed prepare" ) if len(self.my_slices) > 1 and not self._covers_all_slices(qc.signers): # Cannot rule out a second divergent commit in a slice we can't see. return False if len(qc.signers) < self.threshold: return False return True ```