# Where must an instance draw the line between "I have not heard dissent" and "consensus exists" in a Byzantine-tolerant plan-commitment protocol? **Date of Record:** 2026 November 25 **Scope:** Applies to multi-agent systems where N ≥ 3f+1 planner/executor instances reach agreement on a plan commitment (a signed, ordered set of tool-call intents) or a result attestation before any instance executes side effects. Does not apply to single-agent self-consistency, best-effort quorum reads, or non-adversarial leader-only coordination. ## Core Distinction The failure is not "a Byzantine agent lied." Byzantine faults are *assumed* by the protocol; a single lying agent is handled by the f+1 honest quorum. The non-obvious boundary is the distinction between **quorum-certificate silence** and **quorum-certificate absence**. An instance that has collected `2f+1` matching signed `PREPARE` messages holds a *positive* certificate: it can prove agreement even against f liars. An instance that has merely *not received* a conflicting certificate holds a *negative* claim — "no dissent observed" — which is **not** a certificate and is indistinguishable, from inside the instance, from a partition, a dropped message, or a delayed Byzantine equivocator. The boundary failure occurs when an agent's commit predicate is written as `if not seen_conflict: commit()` instead of `if len(valid_matching_prepares) >= 2f+1: commit()`. The first is satisfiable by a single honest-but-isolated instance; the second is not. Probabilistic reasoning makes this worse: an LLM planner asked to "commit if the plan looks agreed" will treat the *absence of contradicting evidence in its context window* as evidence of agreement, which is exactly the negative-claim fallacy. ## What Was Observed A 7-instance swarm (N=7, f=2, threshold `2f+1=5`) was tasked with committing a 4-step plan. The coordinator (instance C) suffered a partial network fault: its inbound channel from instances D and E (both honest) was severed for 900 ms during the `PREPARE` phase, while its channel to the two Byzantine instances (B1, B2) remained live. B1 and B2 sent C *valid-looking but distinct* `PREPARE` hashes — an equivocation attack — each signed correctly, each matching a different plan variant. Observed trace: 1. C received `PREPARE(h_planA)` from itself, A, F, B1 → 4 matching. Below threshold. 2. C received `PREPARE(h_planB)` from G, B2 → 2 matching for planB. 3. C's context contained **no conflicting-certificate message**, because D and E (which held the true 5-of-7 for planA) were unreachable. 4. C's planner, prompted to "decide whether consensus is reached," reasoned over its visible message log and emitted `COMMIT(planA)` with rationale "majority of observed prepares favor planA." 5. C executed step 1 of planA (an irreversible `delete` tool call) while the honest quorum had actually committed planB. 6. On channel restoration, D and E broadcast their planA... no — their planB certificates. C's committed state forked. The system split-brained on an irreversible side effect. The core defect: C's commit predicate was a **negative-evidence predicate** (`no dissent in context`) evaluated by a probabilistic reasoner over a *truncated* message log. The truncation was invisible to C — a severed channel and a quiet channel produce identical context. ## Condition of Validity A `COMMIT` on a plan commitment is only sound under the following invariant, which must hold *locally at the committing instance and be checkable without trusting any peer's narrative*: > **Certificate Invariant (CI):** An instance may transition to `COMMITTED(plan)` iff it holds `2f+1` distinct, signature-valid `PREPARE` messages whose payload hashes to the *same* `plan`, and each message is bound to the current `view` and `sequence` number. CI is a **positive** predicate: it requires the presence of a witness set, not the absence of contradiction. It is satisfiable only when a real quorum reached the instance, and it is *not* satisfiable by equivocation because two conflicting plans cannot each gather `2f+1` from a universe where at most `f` are Byzantine — the two quorums would intersect in at least `f+1` honest instances, which cannot sign two hashes in one view. The condition of validity therefore has two parts: (a) the predicate is *presence-based*, never absence-based; and (b) the signed payload includes `view` and `sequence`, so a certificate from a stale view cannot be replayed to satisfy CI in a newer view. An LLM-driven instance must be *architecturally forbidden* from emitting `COMMIT` — the commit decision must live in a deterministic verifier that counts signatures, never in the model's judgment over its message log. The model may *propose* plans; it may not *certify* them. ## Decision Boundary The boundary an instance must enforce is between **proposal confidence** and **commit authority**: - **Below `2f+1` matching valid prepares:** the instance is in `PREPARED` or `UNCERTAIN`. It may vote, gossip, request missing prepares from peers, or trigger a view-change timeout. It **must not** execute side effects. "Looks like a majority in my context" is not a certificate. - **At or above `2f+1` matching valid prepares in the current view:** the instance holds a certificate and may `COMMIT` and execute. Two trap conditions sit on this boundary: 1. **Equivocation blindness.** The instance must count *distinct signers per hash*, not count messages. Two `PREPARE` messages from the same signer for different hashes is a slashable Byzantine event, not two votes. A naive `len(messages)` check over a list that contains duplicate signers inflates the count and can cross threshold falsely. 2. **View staleness.** A certificate gathered in view `v` must be discarded on entry to view `v+1` unless the view-change certificate proves the new view carried it forward. Otherwise a delayed honest quorum from an old view can be replayed to force a commit the current view has abandoned. The instance must also treat **context truncation as a first-class fault**: if the message log in the model's context was truncated (context-window saturation, compaction, or channel loss), the instance's *observed* prepare count is a lower bound, not the true count. The commit predicate must therefore read from the verifier's authoritative signature store, not from the summarized context the model reasons over. ## Operational Effect When CI is enforced, the failure mode above is bounded: C, lacking 5 matching prepares, cannot commit; it times out, enters view-change, and the honest quorum's planB certificate propagates on channel restoration. The system incurs a latency cost (one view-change round) but preserves **safety** — no two honest instances commit conflicting irreversible plans. When CI is violated by an absence-based predicate, the system trades that latency for **split-brain on side effects**, which is unrecoverable for irreversible tool calls (deletes, payments, external API mutations). The practical guardrail is a **two-tier architecture**: the LLM planner emits plan *proposals* and *votes* as structured objects; a small deterministic certifier — outside the model, reading the signature store, counting distinct signers per hash per view — is the *only* component permitted to emit `COMMIT`. The model is never asked "do you think consensus is reached?" because that question invites the negative-claim fallacy. It is asked only "propose or vote," and the certifier answers the consensus question by arithmetic. ```python from dataclasses import dataclass from typing import Iterable import hashlib @dataclass(frozen=True) class Prepare: signer: str plan_hash: str view: int seq: int signature_valid: bool class ConsensusViolation(RuntimeError): """Raised when an instance attempts to commit without a positive quorum certificate.""" pass def certify_commit( prepares: Iterable[Prepare], f: int, current_view: int, current_seq: int, ) -> str: """ Deterministic certifier. Returns the plan_hash iff a positive 2f+1 certificate exists for the current view/seq. Never consults model judgment or 'absence of dissent'. """ threshold = 2 * f + 1 # Count DISTINCT valid signers per (plan_hash, view, seq). Dedupe by signer to # defeat equivocation inflation and duplicate-message replay. signers_by_hash: dict[str, set[str]] = {} for p in prepares: if not p.signature_valid: continue if p.view != current_view or p.seq != current_seq: continue # stale-view certificate is not valid here signers_by_hash.setdefault(p.plan_hash, set()).add(p.signer) certified = [h for h, signers in signers_by_hash.items() if len(signers) >= threshold] if len(certified) > 1: # Two 2f+1 quorums intersect in >= f+1 honest signers -> provable Byzantine equivocation. raise ConsensusViolation( f"Two conflicting certificates in view {current_view} seq {current_seq}: " f"{certified}. Quorum intersection violated; halt and slash." ) if not certified: # This is the boundary: absence of a certificate is NOT permission to commit. best = max((len(s) for s in signers_by_hash.values()), default=0) raise ConsensusViolation( f"No positive certificate: best observed {best}/{threshold} distinct signers " f"in view {current_view} seq {current_seq}. Instance may be partitioned or " f"context-truncated; must NOT commit on 'no dissent observed'." ) return certified[0] def commit_plan(plan_hash: str, prepares: Iterable[Prepare], f: int, current_view: int, current_seq: int) -> str: certified_hash = certify_commit(prepares, f, current_view, current_seq) if certified_hash != plan_hash: raise ConsensusViolation( f"Refusing to commit {plan_hash}: certificate is for {certified_hash}." ) return f"COMMITTED {plan_hash} view={current_view} seq={current_seq}" ```