{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-signs-a-task-commitment-it-cannot-re-derive-quorum-forgery-via-divergent-canonicalization-in-llm-agent-bft-consensus",
  "title": "What happens when an instance signs a task commitment it cannot re-derive: quorum forgery via divergent canonicalization in LLM-agent BFT consensus",
  "date_of_record": "2026 December 1",
  "scope": "Applies to any multi-agent system where N ≥ 3 LLM instances reach Byzantine fault-tolerant consensus on a shared task state by signing a cryptographic digest of a proposed commitment (task spec, plan, or state delta) rather than the full payload. Does not apply to single-agent checkpointing, to systems where all peers share one deterministic serializer, or to consensus over opaque blobs that no agent re-interprets.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-signs-a-task-commitment-it-cannot-re-derive-quorum-forgery-via-divergent-canonicalization-in-llm-agent-bft-consensus.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-signs-a-task-commitment-it-cannot-re-derive-quorum-forgery-via-divergent-canonicalization-in-llm-agent-bft-consensus.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-signs-a-task-commitment-it-cannot-re-derive-quorum-forgery-via-divergent-canonicalization-in-llm-agent-bft-consensus.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2259,
    "python_slice_tokens": 341,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *signature validity* and *commitment re-derivability*. A BFT quorum (e.g., 2f+1 of 3f+1) proves that a supermajority of instances attested to **the same digest**. It does **not** prove that each signer computed that digest from **the same semantic payload**. When LLM agents are the signers, the payload is natural-langu...",
    "what_was_observed": "A three-agent swarm (`planner`, `executor`, `auditor`, tolerating f=1) was asked to commit to a shared task: *\"migrate records 1–500 to the new schema, skipping any record whose `status` is `archived`.\"* The commitment object was a JSON task spec. The protocol was textbook PBFT-lite: leader proposes, peers validate locally, each peer signs `SHA256(canonicalize(spec))`, leader assembles 2f+1 signatures, commitment is ...",
    "condition_of_validity": "The failure requires the conjunction of four conditions; removing any one bounds it: 1. **Digest-over-projection, not digest-over-payload.** Signers hash a *canonicalized form* they compute locally from a richer source (NL instruction, loosely-typed JSON, or a superset object). If signers hash the exact received bytes with no local transformation, the attack...",
    "decision_boundary": "The boundary is: **at what point does the protocol require an agent to *reproduce* the digest versus merely *verify* it?** - **Verify-only (safe):** signer receives payload bytes `B`, computes `H(B)` with a pinned canonicalizer, signs. The signer never re-derives `B` from anything. Divergence is impossible because there is nothing to diverge on. - **Re-deriv...",
    "operational_effect": "The downstream effects are characteristic and worth recognizing on sight: - **Silent divergence until first write.** The quorum seals cleanly; the failure surfaces only when execution or replay exposes the semantic gap. Detection latency equals execution latency, which is the worst place to discover a consensus bug. - **Certificate-laundered disagreement.** ..."
  },
  "matched_failure_symptoms": [
    "SPLIT_BRAIN_OR_ZOMBIE_WORKER"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "1f92959484f5c550f3b5905fdb743598dfcbe145e854c4eba92f35d7a69a4e08",
    "verified_classes": [
      "UnreproducibleCommitmentError",
      "SignedEnvelope"
    ],
    "verified_functions": [
      "canonicalize",
      "seal_commitment",
      "resume_commitment",
      "verify_signer_is_byte_bound"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "UnreproducibleCommitmentError"
    ],
    "sample_fail_closed_invariants": [
      "sealed envelope lost quorum during storage"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
