# Why does an instance commit to a task quorum it can no longer attest: the attestation-quorum skew boundary in BFT multi-agent commitment **Date of Record:** 2026 November 26 **Scope:** Applies to multi-agent systems where task commitment and result attestation are gated by a Byzantine fault-tolerant quorum (e.g., 2f+1 of 3f+1 peers), and where an individual agent's attestation is a function of its own finite context and non-deterministic tool outputs. Does not apply to single-writer commit logs or to quorum schemes where attestation is a pure function of externally reproducible inputs. ## Core Distinction There is a boundary that most BFT agent designs conflate: the distinction between **commitment quorum** (the set of agents that agreed a task should be executed, and under what terms) and **attestation quorum** (the set of agents that can later certify the result is correct). These are usually treated as the same threshold over the same membership, and that is the bug. Commitment is cheap and happens at the *front* of a task, when every agent's context is fresh and the task spec is short. Attestation is expensive and happens at the *back* of a task, after each agent has independently executed a divergent reasoning trace, consumed tool outputs that no other agent saw identically, and possibly compacted its own context. An agent can therefore be a perfectly valid member of the commitment quorum and simultaneously be structurally *incapable* of contributing to the attestation quorum — because the evidence it would need to attest has already been evicted from its context window, or because its local replay of the task diverged from the committed spec in a way it can no longer detect. The invariant that fails is this: **quorum membership is not the same as quorum capability.** A BFT threshold counts signatures; it does not check whether the signer still holds the state required to sign *correctly*. When the attestation-quorum capability falls below 2f+1 while commitment membership remains at 3f+1, the system enters a state where the task is committed, executed, and *unattestable* — a liveness hole that looks like a safety property until you try to close it. ## What Was Observed A five-agent swarm (f=1, so 3f+1=4 minimum, deployed with 5 for headroom) committed a long-horizon data-reconciliation task. Commitment phase: all five agents received the task spec (≈1.2k tokens), signed the commitment record, and acknowledged the same spec hash. Quorum reached at 5/5, well above the 4/5 threshold. Execution phase diverged. Each agent independently called tools — a database reader, a schema lister, a diff engine — whose outputs were non-deterministic in ordering and pagination. Each agent's context grew to between 60k and 90k tokens. Two agents (call them A and B) hit their context limit mid-task and performed summarization-based compaction, which is lossy: the compaction preserved the *conclusion* of each tool call but discarded the raw tool-call transcripts, including the pagination cursors and the exact row hashes. Attestation phase: the coordinator requested each agent to attest the result by re-deriving the final reconciliation hash from its local evidence. Agents C, D, and E could do so — their raw transcripts were still resident. Agent A could produce a hash but its evidence had been compacted, so its attestation was a *reconstruction from a summary*, not a replay. Agent B's reconstruction disagreed with C/D/E by one row because its compaction had dropped a boundary row that a paginated read returned twice. The coordinator collected five attestations. Three (C, D, E) were genuine replays. One (A) was a summary-based reconstruction that happened to match. One (B) was a summary-based reconstruction that did not match. The coordinator's naive quorum check saw 4/5 matching attestations (A, C, D, E) and *committed the result as attested*. The committed result was wrong: B was right that a row was double-counted, and the three "genuine" replays had each independently made the same pagination error because they shared the same tool-call ordering seed. The quorum agreed on a falsehood. The failure is two-layered and both layers are the same boundary: 1. **Capability skew:** A and B were commitment-quorum members but not attestation-capable (their evidence was compacted away). The threshold counted them anyway. 2. **Correlated attestation:** C, D, E were attestation-capable but not attestation-*independent* — they shared a tool-call ordering that made their "independent" replays correlated. A Byzantine quorum assumes independent faults; correlated deterministic errors defeat it without any agent being Byzantine. ## Condition of Validity The standard BFT guarantee — "2f+1 honest attestations imply correctness" — holds only under two conditions that agent systems routinely violate: - **Evidence persistence:** each attesting agent must still hold the raw evidence sufficient to replay the computation, not a summary of it. Compaction, truncation, and eviction break this silently. - **Fault independence:** the f tolerated faults must be independent. Correlated non-determinism (shared tool seeds, shared pagination order, shared model temperature schedules) makes agents *fail together*, which is indistinguishable from collusion and defeats the threshold. The boundary is crossed when `capable_attestors < 2f+1` OR when `independent_attestors < 2f+1`, even though `commitment_members == 3f+1`. The quorum arithmetic is satisfied; the quorum *semantics* is not. ## Decision Boundary An agent must not treat a commitment-quorum signature as evidence that the signer can attest later. The decision rule: - On **commitment**, record for each signer whether it has declared an evidence-retention policy sufficient to replay (raw transcript retention, no lossy compaction before attestation). A signer without such a policy counts toward commitment quorum but is marked `attestation-incapable`. - On **attestation**, compute the quorum over `attestation-capable` agents only. If that count is below 2f+1, the result is **committed-but-unattested** — a distinct terminal state, not a failure and not a success. It must be escalated, not silently accepted. - On **attestation independence**, require that at least 2f+1 attestations derive from disjoint evidence lineages (different tool-call orderings, different pagination seeds, different replay paths). Matching attestations from a shared lineage count as *one* attestation for independence purposes. The boundary to enforce: `commit(quorum=2f+1 over capable AND independent attestors)` — never `commit(quorum=2f+1 over signers)`. ## Operational Effect Without this boundary, the system exhibits a specific and dangerous failure signature: **high-confidence wrong commits.** The commit succeeds, the attestation count looks healthy (4/5 or 5/5), and the result is wrong — either because incapable attestors' reconstructions were counted, or because capable attestors were correlated. The failure is invisible to the quorum check and visible only in the result. It is worse than a liveness failure because it produces no alarm: the system reports consensus. With the boundary enforced, the same execution produces a `committed-but-unattested` state for the reconciliation task (capable attestors = 3 < 4 required, because A and B were compacted). The coordinator escalates, re-runs the task with retention-constrained agents, and the pagination double-count is caught by a lineage-disjoint replay. The cost is one retry; the alternative is a silently wrong commit that propagates into downstream tasks as ground truth. The deeper operational lesson: in agent swarms, **quorum thresholds are a counting abstraction over a capability that degrades over task lifetime.** Commitment happens when capability is maximal; attestation happens when it is minimal. Any BFT scheme that uses one threshold for both is measuring the wrong thing at one of the two ends. ```python class AttestationQuorumSkewError(RuntimeError): """Raised when commitment quorum is satisfied but attestation capability is not.""" pass def commit_with_attestation( signers: list[str], capable_attestors: set[str], independent_lineages: dict[str, str], # agent_id -> lineage_id f: int, ): required = 2 * f + 1 # Commitment quorum: counts signers, as BFT traditionally does. if len(signers) < required: raise AttestationQuorumSkewError( f"commitment quorum unmet: {len(signers)} < {required}" ) # Attestation capability: signers that still hold replayable evidence. capable = [s for s in signers if s in capable_attestors] if len(capable) < required: raise AttestationQuorumSkewError( f"committed-but-unattested: {len(capable)} capable attestors " f"< {required} required (signers={len(signers)}); " f"evidence was compacted or evicted before attestation" ) # Independence: matching attestations from one lineage count once. lineages = {independent_lineages[s] for s in capable} if len(lineages) < required: raise AttestationQuorumSkewError( f"correlated attestation: {len(lineages)} independent lineages " f"< {required} required; {len(capable)} capable attestors " f"share tool-call orderings and cannot be treated as independent" ) return {"committed": True, "attested": True, "lineages": len(lineages)} ```