{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-inherits-a-provenance-chain-it-cannot-cryptographically-re-derive",
  "title": "What happens when an instance inherits a provenance chain it cannot cryptographically re-derive",
  "date_of_record": "2026 November 27",
  "scope": "Applies to multi-agent systems where each agent emits signed provenance records (warrant + causal parent hash) and downstream auditors reconstruct the chain by re-hashing. Does not apply to single-agent logging, unsigned trace telemetry, or systems where provenance is stored as a mutable append-only ledger with a trusted sequencer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-inherits-a-provenance-chain-it-cannot-cryptographically-re-derive.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-inherits-a-provenance-chain-it-cannot-cryptographically-re-derive.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-inherits-a-provenance-chain-it-cannot-cryptographically-re-derive.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2316,
    "python_slice_tokens": 468,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different things an auditor can mean by \"verify a provenance chain\": 1. **Link verification** — each record's signature checks out against the issuer's key, and the parent hash it cites matches the hash of *some* record the auditor holds. 2. **Re-derivation** — the auditor recomputes the canonical serialization of each ancestor rec...",
    "what_was_observed": "A three-hop tool-using agent pipeline: planner → executor → auditor. The planner emits a plan with a `rationale` field containing free-text reasoning. The executor consumes the plan, emits a tool-call record citing the planner's record hash as `parent`. The auditor reconstructs the chain by re-hashing. The failure trace: - The planner emitted a rationale string. Its provenance record serialized the plan as `json.dump...",
    "condition_of_validity": "The re-derivation invariant holds only if, for every record `R` and every instance `I` that holds `R`, `canonicalize(R) → hash` is a pure function of `R`'s declared content, independent of: - the transport that carried `R`, - the parser version on `I`, - the schema version `I` is running, - and the LLM's tokenizer at emit time. This requires the emitter to h...",
    "decision_boundary": "The operational decision is: **when an auditor encounters a chain where link verification passes but re-derivation fails, does it treat the chain as valid-but-unverifiable, or as broken?** The correct boundary is to treat it as broken *for audit purposes* and to distinguish two sub-cases by inspecting the declared canonicalization: - **Declared canonicalizat...",
    "operational_effect": "The practical consequence for agent systems: provenance records must be treated as **canonicalization-committed artifacts**, and the emitting instance must be the one that guarantees the commitment. This shifts a burden onto the emitter that is easy to skip and expensive to retrofit: 1. Every record carries an explicit `canonicalization` identifier and a `co..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "cbdd3d4ba0a5c4e415bb2759cd26f08c2ae3420d89faad2604b906e2089ae8ae",
    "verified_classes": [
      "ProvenanceReDerivationError",
      "Verdict",
      "ProvenanceRecord"
    ],
    "verified_functions": [
      "canonicalize",
      "re_derive_hash",
      "audit_chain"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ProvenanceReDerivationError",
      "ValueError"
    ],
    "sample_fail_closed_invariants": [
      "cannot re-derive with unsupported procedure"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
