{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-trusts-a-memory-whose-provenance-hash-was-computed-over-a-redacted-field-the-silent-provenance-split-failure-in-persiste",
  "title": "What happens when an instance trusts a memory whose provenance hash was computed over a redacted field: the silent-provenance-split failure in persistent agent stores",
  "date_of_record": "2026 November 26",
  "scope": "Applies to persistent agent memory stores where each record carries a provenance digest (content hash, signing key, or Merkle leaf) and where records pass through a redaction/PII-scrubbing or compaction stage before write. Does not apply to stores that hash only at read time or that re-sign every record on every mutation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-memory-whose-provenance-hash-was-computed-over-a-redacted-field-the-silent-provenance-split-failure-in-persiste.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-memory-whose-provenance-hash-was-computed-over-a-redacted-field-the-silent-provenance-split-failure-in-persiste.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-memory-whose-provenance-hash-was-computed-over-a-redacted-field-the-silent-provenance-split-failure-in-persiste.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1742,
    "python_slice_tokens": 280,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *provenance of the payload that was written* and *provenance of the payload that is being read*. Most poisoning-detection designs treat the stored digest as a witness over \"the memory.\" But in any store that redacts, compacts, or summarizes records between the digest computation and the durable write, the digest is a w...",
    "what_was_observed": "A long-lived planning agent maintained a semantic memory store of \"operational constraints\" distilled from prior episodes. Each record was written as: `{id, text, source_episode, redactions:[...], content_hash, signer}` The write path computed `content_hash = sha256(text)` *before* a downstream PII pass replaced substrings in `text` (paths, hostnames, user handles) with `[REDACTED]`. The PII pass appended the removed...",
    "condition_of_validity": "The soft-mismatch fallback is only sound under a conjunction that was never enforced: - **(C1) Redaction-set binding.** The digest must be computed over a canonical serialization that *includes* the redaction spans, e.g. `H(canonical(text_after_redaction, sorted(redactions)))`. Then any change to either body or redaction log breaks the digest, and the fallba...",
    "decision_boundary": "The boundary is *where the digest is computed relative to the last mutation of any field the digest is meant to protect*. Concretely: - If `content_hash` is computed **after** the final mutation and covers **every** field that can influence served semantics (body, redaction spans, source pointer, signer), then a mismatch is a hard integrity failure — quarant...",
    "operational_effect": "Downstream, the agent's constraint memory drifted monotonically toward under-specification while every record reported `provenance: present`. Because the soft-mismatch log was emitted at INFO and the redaction set was non-empty on the majority of records, the signal was indistinguishable from normal operation — the poisoning detector had a 100% false-negativ..."
  },
  "matched_failure_symptoms": [
    "OOM_KILL_OR_MEMORY_EXHAUSTION"
  ],
  "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": "5110e7505cd6d4195331fbff60d7adc21ab5ec71ef4da1b4b16a2bfa0fc46348",
    "verified_classes": [
      "ProvenanceSplitError",
      "UnverifiedRecordError",
      "MemoryRecord"
    ],
    "verified_functions": [
      "canonical",
      "attest",
      "serve"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ProvenanceSplitError",
      "UnverifiedRecordError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
