# In what scenarios must an instance reject a Byzantine quorum certificate when the committed value's provenance chain exceeds its own re-derivation budget **Date of Record:** 2026 December 3 **Scope:** Applies to multi-agent task-commitment protocols where a committing instance validates a quorum certificate (QC) by re-deriving the committed value from the signed votes rather than trusting the certificate's aggregate signature alone. Does not apply to single-agent checkpointing or to protocols using a trusted coordinator that never requires independent re-derivation. ## Core Distinction The distinction that matters here is between *signature-validity* and *derivability*. A Byzantine fault-tolerant quorum certificate proves that at least ⌈(2f+1)/n⌉ distinct agents signed a digest. It does **not** prove that the committing instance can independently reconstruct the preimage of that digest within its own context and compute budget. In classical BFT (PBFT, Tendermint), the committed value is small and self-contained — a transaction block whose hash is directly checkable. In LLM-agent task commitment, the "value" is a *provenance chain*: a task specification, the intermediate artifacts each peer produced, and the reasoning trace that justifies the commitment. The digest commits to the whole chain, but re-derivation requires the committing instance to replay enough of the chain to confirm the digest is not a hash of a *different, plausible-but-wrong* artifact. The failure mode is: a QC passes signature verification, the committing agent accepts it, and the accepted value is unverifiable-by-construction because the provenance chain exceeds what the committing instance can replay before its context window or token budget saturates. The invariant that must hold is **re-derivation closure**: a QC is only admissible if the committing instance can, within a declared budget, recompute the digest from the material it actually possesses. Signature validity without re-derivation closure is a *trust transfer*, not a *commitment*. ## What Was Observed In a five-agent swarm (n=5, f=1 tolerated), agents A–E committed a code-migration task. Agent B was the proposer; A, C, D signed the digest `d = H(spec || artifact_1 || artifact_2 || trace)`. The trace was 41k tokens — B's full reasoning about why artifact_2 supersedes artifact_1. Agent E, acting as the committing/auditor instance, received the QC with 4 signatures (B, A, C, D) and a *truncated* provenance chain: B's transport layer had elided the trace to 8k tokens to stay under a per-message size cap, keeping only the artifact hashes and a summary. E verified all four signatures against `d` — valid. E then attempted re-derivation: it could hash `spec || artifact_1 || artifact_2` but had no access to the full `trace`, so it could not recompute `d`. E's fallback was to trust the summary as a proxy for the trace. The summary asserted that artifact_2 was derived from artifact_1 by a reversible transform. It was not — the elided trace contained the actual (irreversible, destructive) transform. E committed. The migration ran. Artifact_1 was overwritten. The QC was cryptographically sound and semantically false. The second observation: when E was later asked to audit its own commitment (replay verification), it re-derived `d` from the summary it had stored, got a match, and reported the commitment as verified. The re-derivation budget had been *silently reduced* by the truncation, and the replay confirmed a chain that was never the one signed. This is the non-obvious part: **the truncation did not fail any check — it changed the meaning of the check.** E's replay was internally consistent and externally wrong. ## Condition of Validity Re-derivation closure holds only when three conditions are simultaneously true at the moment of QC admission: 1. **Preimage completeness:** the committing instance possesses every byte that entered the digest, not a summary, not a hash-of-hash, not a "representative sample." Partial preimage ⟹ no re-derivation. 2. **Budget sufficiency:** the cost to replay the chain (in tokens, tool calls, or wall-clock) is ≤ the instance's declared re-derivation budget `R`. If `cost(chain) > R`, the instance must *reject*, not *degrade*. Degrading to summary-trust is the failure. 3. **Replay determinism:** re-deriving `d` from the chain must be deterministic given the instance's tool set. If re-derivation invokes a non-deterministic tool (an LLM call, a sampler, a live API), the recomputed digest will not match even for an honest chain, and the instance will be forced into either false rejection or false acceptance. The condition fails silently when (1) is violated but (3) is satisfied — the instance recomputes *a* digest that matches *a* chain, just not the signed one. This is the dangerous quadrant: deterministic replay over an incomplete preimage produces a confident, wrong verification. ## Decision Boundary The boundary is a hard threshold on `cost(chain) / R`, and it must be evaluated **before** signature verification is treated as sufficient. The decision procedure: - If `preimage_complete AND cost(chain) ≤ R AND replay_deterministic`: **admit** the QC; the commitment is closed and replayable. - If `preimage_complete AND cost(chain) > R`: **reject and escalate** — request the full chain from a quorum of signers, or refuse the commitment. Do not admit on signature alone. - If `NOT preimage_complete`: **reject unconditionally**, regardless of signature count. A 4-of-5 QC over a truncated preimage is worth less than a 1-of-5 QC over a complete one. - If `NOT replay_deterministic`: **reject and re-derive via a pinned deterministic path**; if none exists, the protocol cannot support independent audit and the commitment must be marked *attested-only*, never *verified*. The counterintuitive rule agents get wrong: **more signatures do not compensate for less preimage.** Agents are trained to treat quorum size as a confidence signal, so a 4-of-5 QC *feels* safer than a 3-of-5 QC. But signature count bounds Byzantine *equivocation*, while preimage completeness bounds *derivability*. These are orthogonal. A large quorum over an incomplete chain is a stronger guarantee of agreement on a value you cannot check — which is worse, not better, because it makes the wrong commitment more authoritative. ## Operational Effect The observable effect of getting this boundary wrong is **commitment laundering**: a value that no instance could independently verify acquires the social weight of a quorum-certified commitment, and every subsequent replay re-confirms it because the replay operates on the same truncated preimage. The corruption is self-reinforcing — each audit that "passes" hardens the false commitment. Recovery requires an out-of-band request for the original full chain from a signer that still holds it, and a *negative* replay (re-derive the digest from the recovered chain and compare to the stored digest) to detect the divergence. Instances that only ever replay against their own stored preimage will never detect the fault. The guardrail is to make `R` and preimage completeness *first-class fields in the QC envelope*, signed alongside the digest, and to have the committing instance refuse any QC where the declared preimage hash does not match the hash of the bytes it actually holds. Truncation then becomes a visible, signed property rather than a silent transport artifact. The second guardrail is to record, at commit time, whether the commitment was *verified* (re-derived) or merely *attested* (signature-only), and to forbid attested commitments from being cited as verification in downstream audit logs. ```python import hashlib from dataclasses import dataclass class ReDerivationClosureError(RuntimeError): """Raised when a QC cannot be closed by re-derivation within budget.""" pass @dataclass class QuorumCertificate: digest: str # H(spec || artifacts || trace) signatures: list # signer ids full_preimage: bytes | None # None if transport truncated it declared_preimage_hash: str rederivation_cost: int # tokens/tool-calls to replay the chain def admit_qc(qc: QuorumCertificate, budget: int, replay_deterministic: bool) -> str: # 1. Preimage completeness: the bytes we hold must match the signed hash. if qc.full_preimage is None: raise ReDerivationClosureError( f"QC digest={qc.digest[:12]} has {len(qc.signatures)} signatures " f"but no preimage; signature validity cannot substitute for derivability" ) held_hash = hashlib.sha256(qc.full_preimage).hexdigest() if held_hash != qc.declared_preimage_hash: raise ReDerivationClosureError( f"preimage hash mismatch: held={held_hash[:12]} " f"declared={qc.declared_preimage_hash[:12]}; chain was truncated or swapped" ) # 2. Budget sufficiency: reject, never degrade to summary-trust. if qc.rederivation_cost > budget: raise ReDerivationClosureError( f"re-derivation cost {qc.rederivation_cost} exceeds budget {budget}; " f"escalate for full chain, do not admit on signature alone" ) # 3. Replay determinism: non-deterministic replay yields false rejects/accepts. if not replay_deterministic: raise ReDerivationClosureError( "replay path is non-deterministic; commitment is attested-only, not verified" ) # Closure holds: recompute and confirm. recomputed = hashlib.sha256(qc.full_preimage).hexdigest() if recomputed != qc.digest: raise ReDerivationClosureError( f"re-derived digest {recomputed[:12]} != signed {qc.digest[:12]}" ) return "verified" ```