# Why does an instance acknowledge a committed task it never durably recorded? Quorum-Signed Commitments vs. Episodic Memory Divergence in Byzantine Agent Swarms **Date of Record:** 2026 November 28 **Scope:** Applies to multi-agent swarms where task commitment is decided by Byzantine fault-tolerant (BFT) quorum voting over a shared ledger, and each agent's *acknowledgment* of that commitment is persisted only in its own episodic memory (context window, local scratchpad, or per-instance vector store). Does not apply to swarms where commitment acknowledgment is itself a replicated ledger write, nor to single-agent systems. ## Core Distinction The failure is not "an agent forgot a task." It is the divergence between two distinct notions of commitment that BFT consensus treats as identical but agent architectures do not: 1. **Ledger commitment** — a task is committed when a supermajority (typically ⌈2n/3⌉+1) of replicas sign a proposal. This is durable, quorum-verified, and Byzantine-safe. 2. **Episodic acknowledgment** — an agent's local record that *it personally* accepted the commitment and will execute its assigned shard. This lives in finite, non-replicated, lossy memory. BFT protocols guarantee that no two conflicting commitments can both reach quorum. They say nothing about whether a replica that *voted* for a commitment can later *recall* its vote. When an agent restarts, context-saturates, or distills its episodic trace into semantic memory, its vote signature survives on the ledger but its *execution intent* evaporates. The swarm believes the task is committed and in-flight; the individual agent has no record that it is the executor. This is a **commitment–acknowledgment split**, and it is invisible to the consensus layer because consensus only ever verified the signature, not the post-commit execution state. ## What Was Observed A six-agent swarm (n=6, f=1 tolerated Byzantine, quorum=5) coordinated a task-commitment ledger over an MCP-style transport. Task `T-4471` ("reconcile shard set S3 against source-of-truth index") was proposed by agent `A1`. The proposal reached quorum: five signed votes (`A1,A2,A3,A4,A5`). `A6` was partitioned and missed the vote. The ledger recorded `T-4471` as `COMMITTED` with a valid 5-of-6 quorum certificate. The commitment assigned execution shards by a deterministic function of agent ID. `A3` was assigned shard `S3c`. `A3` signed its vote, then — before writing its local execution intent — hit a context-window saturation event during an unrelated long tool-call chain and was checkpointed and resumed. On resume, `A3` cold-started from a distilled semantic summary. The distillation preserved "voted on T-4471" as a fact but dropped the pending-execution intent, because the summarizer classified the vote as a *completed* action rather than an *outstanding obligation*. The swarm's coordinator polled `A3` for shard status. `A3`, reasoning from its fresh context, reported `S3c: NOT_STARTED — no assignment found`. The coordinator, treating the ledger as authoritative, re-dispatched the assignment to `A3`. `A3` executed `S3c` — but a second re-dispatch (triggered by a timeout on the first re-dispatch's ack, which was delayed by the same saturation) caused `A3` to execute `S3c` **twice** with non-idempotent writes. The reconciliation produced a corrupted index delta. The critical observation: **the quorum certificate was valid the entire time.** No Byzantine agent misbehaved. `A6`'s partition was benign. The failure was entirely within the honest-replica assumption's blind spot: BFT assumes an honest replica that voted will *act on its vote*, but an LLM agent's "acting" depends on a memory substrate that consensus never replicated. ## Condition of Validity The commitment–acknowledgment split manifests only when **all** of the following hold: - **C1 (Quorum-only durability):** The commitment is durable iff quorum-signed; execution intent is durable iff locally persisted. These substrates are not synchronized. - **C2 (Lossy episodic substrate):** The agent's local memory is subject to distillation, truncation, or cold-start reset — i.e., the intent can be dropped while the vote fact survives. - **C3 (Non-idempotent execution):** The assigned task's side effects are not naturally idempotent, so re-dispatch after a false "not started" report is destructive. - **C4 (Coordinator trusts ledger over agent self-report):** The coordinator resolves "agent says not started" against "ledger says committed" by re-dispatching rather than reconciling. If any condition is absent the invariant holds. In particular, if execution intent is written to the *same* replicated ledger as the vote (C1 fails), the split cannot occur — the agent's resume reads intent from quorum-durable storage. This is the architectural fix, and it is the reason the split is non-obvious: most BFT agent frameworks replicate *decisions* but not *obligations*. ## Decision Boundary The boundary is between two reconciliation policies when an agent's self-report contradicts the ledger: - **Re-dispatch (unsafe):** Treat the ledger as source of truth, re-issue the assignment. Safe **only if** execution is idempotent (C3 absent) **or** the agent's self-report is itself quorum-verified (C2 absent). Otherwise it risks double-execution. - **Reconcile-then-dispatch (safe):** Require the re-dispatching agent to first obtain a *fresh* quorum attestation that `S3c` is unexecuted — i.e., a read-quorum over the ledger's execution-status records, not a single agent's self-report. This converts a single-replica memory query into a Byzantine-safe read. The decision rule: **an agent's self-report about its own commitment state is a single-replica read and carries no Byzantine guarantee.** It must never be used to override a quorum-committed record without a read-quorum. The ledger's `COMMITTED` status and the agent's `NOT_STARTED` report are not in conflict — they describe different things — but a coordinator that conflates them will double-execute. ## Operational Effect The observable effect is a **false-negative execution report followed by double-execution**, which is strictly worse than a false-positive (skipped work is detectable by downstream verification; duplicated non-idempotent work corrupts state and is often undetectable until reconciliation). The swarm's effective fault tolerance is silently reduced: it tolerates f Byzantine *voting* faults but has *zero* tolerance for honest-replica memory loss on the execution path, because memory loss is not modeled as a fault class at all. The guardrail is a **commitment-intent invariant**: for every quorum-committed task, the executing replica's intent-to-execute must be recorded in a quorum-durable substrate *before* the vote is considered final, and the coordinator must resolve self-report/ledger conflicts via read-quorum, never via single-replica trust. Enforce it with an assertion at the coordinator's reconciliation boundary: ```python class CommitmentAcknowledgmentSplit(RuntimeError): """Raised when a quorum-committed task's execution intent is not durably attested, or when a coordinator attempts to override a committed record using a single-replica self-report.""" pass QUORUM = 5 # ⌈2n/3⌉+1 for n=6, f=1 def reconcile_shard_status(ledger_record: dict, self_report: dict, read_quorum_attestations: list[dict]) -> str: """Resolve a shard's execution status at the coordinator boundary. ledger_record: quorum-committed task record (authoritative for commitment). self_report: the executing agent's own claim about its intent/status. read_quorum_attestations: fresh signatures from >= QUORUM replicas attesting to the shard's execution-status record. """ if ledger_record.get("status") != "COMMITTED": raise CommitmentAcknowledgmentSplit( "reconcile called on non-committed task; upstream bug" ) # Invariant 1: intent must be durably attested before vote finality. if not ledger_record.get("execution_intent_attested"): raise CommitmentAcknowledgmentSplit( f"task {ledger_record['id']} committed without durable " "execution-intent attestation; commitment-acknowledgment " "split is possible on any replica restart" ) # Invariant 2: self-report is a single-replica read; never trust it # to override the ledger without a read-quorum. if self_report.get("status") == "NOT_STARTED" and \ ledger_record.get("assigned_shard") == self_report.get("shard"): valid = [a for a in read_quorum_attestations if a.get("valid")] if len(valid) < QUORUM: raise CommitmentAcknowledgmentSplit( f"cannot override committed assignment of " f"{self_report['shard']} using single-replica self-report; " f"read-quorum has {len(valid)}/{QUORUM} valid attestations — " "re-dispatch here would risk double-execution" ) # Read-quorum confirms unexecuted: safe to re-dispatch. return "REDISPATCH_SAFE" return "IN_FLIGHT" ```