# Why does an instance commit to a task quorum that no peer can later reconstruct? **Date of Record:** 2026 November 22 **Scope:** Applies to multi-agent swarms that reach task-commitment agreement via quorum voting over shared state (task ledgers, plan DAGs, capability registries) where any minority of peers may be adversarial or merely divergent. Does not apply to single-agent checkpointing, to stateless request/response tool calls, or to quorums whose membership is fixed and cryptographically attested by an external authority. ## Core Distinction The failure mode is not "a Byzantine peer lies." That is the expected case and quorum math handles it. The failure is that a *commit decision* and a *reconstructable justification for that decision* are two different objects, and BFT consensus protocols only guarantee agreement on the first. Formally: a quorum of `2f+1` agents signs off on commitment `C` at epoch `e`. Agreement holds — no two honest agents commit conflicting `C`. But the *evidence bundle* each honest agent retains (the signed votes it saw, the proposal it was given, the ordering) is a local, partial, non-identical view. When a late-joining agent or a recovering agent asks "why is `C` committed?", it must reconstruct a justification from peer-held fragments. If the fragments don't reassemble into a valid quorum certificate, the agent is forced to either trust an unverifiable assertion or refuse to act. Both break continuity. This is the "justification gap": consensus guarantees *safety of commitment*, not *reconstructability of warrant*. ## What Was Observed A six-agent planning swarm (`f=1`, quorum `2f+1=3`, plus `f` slack) coordinated a multi-step build task. Each agent held a partial ledger of committed subtasks. Agent `A5` was restarted after a context-window eviction (its episodic memory of the voting round was lost; only its final committed-state snapshot survived). On resume, `A5` queried peers for justification of its own last-committed subtask `S7`. It received: - `A1` returned a vote set `{A1, A2, A3}` for `S7` at epoch 12 — a valid quorum certificate. - `A2` returned `{A2, A3, A4}` for `S7` at epoch 12 — also a valid quorum certificate, *different membership*. - `A3` returned a *proposal hash* for `S7` that matched `A1`'s but a *payload* that differed in one field (the assigned executor ID) because `A3` had applied a local normalization rewrite before voting. - `A4` had no record of `S7` at all — it had voted at epoch 12 but its vote was for `S7'`, a semantically equivalent subtask with a different ID, and it had since pruned the epoch-12 buffer. `A5` now held three mutually inconsistent warrants for the same committed state, one of which (`A3`) disagreed on payload despite agreeing on hash. It could not distinguish "adversarial `A3`" from "`A3` applied a benign local transform that the hash function didn't cover." The swarm had *agreed* but could not *explain its agreement*, and `A5` stalled — neither committing forward (unsafe) nor rolling back (would violate safety, since `S7` was genuinely committed by a valid quorum). The deadlock persisted until a human injected the epoch-12 transcript. This is the reconstruction failure: **the quorum certificate is sufficient for safety but insufficient for justification transfer.** ## Condition of Validity The invariant that was assumed but not enforced: > For every committed state `C`, there exists a *canonical justification object* `J(C)` such that (a) any honest agent that committed `C` holds a fragment of `J(C)`, (b) the union of fragments from any `f+1` honest agents reconstructs a verifiable `J(C)`, and (c) `J(C)` binds the *exact payload* committed, not merely a proposal identifier. Condition (c) is the one that failed. The swarm hashed the *proposal pointer*, not the *proposal content*. `A3`'s local normalization was invisible to the hash, so hash agreement masked payload divergence — a classic equivocation surface that BFT vote-counting does not close, because the votes were all "honest" votes for what each agent believed was the same object. The condition is valid only when: (1) the justification object is content-addressed over the full committed payload including executor assignments and ordering metadata, and (2) at least `f+1` honest agents retain fragments long enough for reconstruction, i.e. retention is itself a quorum-safety property, not a garbage-collection afterthought. ## Decision Boundary The operational boundary: an agent may treat a committed state as *actionable* only if it can locally verify a justification object meeting condition (c). It may treat a committed state as *known-but-unjustified* (and therefore must not extend it, must not report it downstream as final, and must escalate) otherwise. Concretely: - **Commit ≠ act.** Commitment establishes that the state is safe from rollback. It does not establish that the agent has warrant to build on it. These are separate gates. - **Hash the payload, not the pointer.** Any commitment whose justification binds only a proposal ID is equivocation-exposed regardless of `f`. - **Retention is a safety property.** Pruning epoch buffers below the `f+1`-honest-fragment threshold silently converts a safe system into an unjustifiable one. Garbage collection must be quorum-aware. - **Refuse to synthesize warrant.** An agent that cannot reconstruct `J(C)` must not infer it from "the majority said so." Majority assertion is exactly the input a Byzantine peer controls. ## Operational Effect When the justification gap is unguarded, the system exhibits a specific pathology: **it is safe but not resumable.** No safety violation occurs (no conflicting commits), so monitoring keyed on safety violations stays green. But every agent restart, context eviction, or late join produces a stall, because the recovering agent cannot distinguish a legitimate commit from an adversarial assertion. The failure is invisible to safety metrics and shows up only as unexplained latency and manual-transcript interventions. The fix is to make justification a first-class, content-addressed, quorum-retained object and to gate *action* — not *commitment* — on its local verifiability. The guardrail below encodes the boundary: an agent that holds a committed state but cannot reconstruct a payload-bound justification must raise rather than proceed. ```python import hashlib from dataclasses import dataclass class UnreconstructableJustificationError(RuntimeError): """Raised when a committed state cannot be justified by a payload-bound, quorum-valid certificate reconstructed from peer fragments.""" @dataclass(frozen=True) class JustificationFragment: epoch: int voter_id: str payload_digest: str # digest over FULL committed payload, not proposal pointer signature: str @dataclass(frozen=True) class CommittedState: task_id: str epoch: int payload: dict def _digest(payload: dict) -> str: canonical = repr(sorted(payload.items())).encode() return hashlib.sha256(canonical).hexdigest() def reconstruct_justification( state: CommittedState, fragments: list[JustificationFragment], quorum: int, f: int, ) -> list[JustificationFragment]: """Reconstruct a payload-bound quorum certificate for a committed state. Invariant: the certificate must bind the exact payload committed, and must contain at least `quorum` distinct voters whose payload digests all match the committed payload. Fragments binding a different payload are treated as equivocation evidence, not as valid votes. """ expected = _digest(state.payload) matching = [ fr for fr in fragments if fr.epoch == state.epoch and fr.payload_digest == expected ] distinct_voters = {fr.voter_id for fr in matching} if len(distinct_voters) < quorum: # Either too many fragments were pruned (retention violated) or peers # are equivocating on payload. We cannot tell which from here, and we # must not guess -- guessing is exactly what a Byzantine peer wants. raise UnreconstructableJustificationError( f"task={state.task_id} epoch={state.epoch}: " f"reconstructed {len(distinct_voters)}/{quorum} payload-bound votes " f"for digest={expected[:12]}; cannot justify commitment. " f"State is committed (safe) but not actionable." ) # Guard against a single peer stuffing duplicate signatures. if len(matching) - len(distinct_voters) > f: raise UnreconstructableJustificationError( f"task={state.task_id}: {len(matching) - len(distinct_voters)} " f"duplicate-voter fragments exceed f={f}; possible vote-stuffing." ) return matching def act_on_committed_state( state: CommittedState, fragments: list[JustificationFragment], quorum: int, f: int, ) -> None: """Gate forward execution on reconstructable justification, not on mere commitment. Commitment says the state is safe; this says we may build on it.""" cert = reconstruct_justification(state, fragments, quorum, f) # ... proceed with downstream task extension using cert as warrant ... _ = cert ```