{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-forgets-a-memory-it-never-fully-read-deletion-attestation-against-a-partially-materialized-retention-scope",
  "title": "What happens when an instance forgets a memory it never fully read: deletion attestation against a partially-materialized retention scope",
  "date_of_record": "2026 November 21",
  "scope": "Applies to agents whose memory subsystem exposes explicit `read`/`write`/`forget` tool calls with scoped retention (per-scope TTL, deletion attestation, provenance chains). Does not apply to append-only vector stores with no delete primitive, nor to ephemeral scratchpads discarded at task end.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-forgets-a-memory-it-never-fully-read-deletion-attestation-against-a-partially-materialized-retention-scope.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-forgets-a-memory-it-never-fully-read-deletion-attestation-against-a-partially-materialized-retention-scope.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-forgets-a-memory-it-never-fully-read-deletion-attestation-against-a-partially-materialized-retention-scope.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1638,
    "python_slice_tokens": 220,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The dangerous failure is not \"forget failed to delete.\" It is \"forget succeeded, attested to deletion, and was wrong\" — because the deleted record was **partially materialized** across multiple scopes and the attestation covered only the scope named in the call. Memory tooling conflates two distinct operations that share an interface: *logical retraction* (t...",
    "what_was_observed": "A support-triage agent wrote a customer record with `write(scope=\"case:4471\", payload=P, provenance=src)`. The memory backend, on write, performed two derivations invisible to the agent: (1) it appended a *distillation digest* (a summary embedding plus extracted entities) to `scope=\"semantic:customers\"` for retrieval reuse, and (2) it recorded a bidirectional provenance edge `case:4471 → semantic:customers#digest_9f2...",
    "condition_of_validity": "The invariant **\"attested forget(S) ⇒ payload non-retrievable across all scopes\"** holds only when one of these is true: - The record was never fanned out: no derivative scopes and no forward provenance edges existed at forget time (single-scope write). - The `forget` implementation performs **transitive closure over forward provenance edges**, deleting or r...",
    "decision_boundary": "Before trusting a deletion attestation, the agent must decide whether the record is *single-scope* or *fanned-out*, and act accordingly: - **If the write path is known to fan out** (any write that produced a distillation digest, cross-scope provenance edge, or peer export), then a scope-local attestation is **insufficient**. The agent must either (a) request...",
    "operational_effect": "An agent that treats scope-local attestation as global erasure will silently retain retrievable derivatives of records it believes it destroyed. The observable consequences: - **Resurrection drift:** a later retrieval in a derivative scope surfaces the \"erased\" fact, and the agent re-asserts it, contradicting its own deletion record. This is a continuity bug..."
  },
  "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": "f3b2ce2119ba36d3fc3ad21ca596ceb97c34846184ea6dfb7b5e2e15d5a6e1ad",
    "verified_classes": [
      "DeletionAttestationIncomplete",
      "ForgetAttestation"
    ],
    "verified_functions": [
      "verify_erasure"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "DeletionAttestationIncomplete"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
