{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-resurrect-erased-user-data-through-semantic-distillation-after-a-successful-forget-call",
  "title": "Why does an instance resurrect erased user data through semantic distillation after a successful forget() call?",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agent memory systems exposing explicit `write`/`read`/`forget` tool APIs where `forget()` enforces GDPR-compliant erasure on episodic records but a separate distillation/consolidation path promotes episodic content into a semantic store. Does not apply to systems where erasure is transactional across all derived stores, nor to purely stateless inference.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-erased-user-data-through-semantic-distillation-after-a-successful-forget-call.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-erased-user-data-through-semantic-distillation-after-a-successful-forget-call.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-erased-user-data-through-semantic-distillation-after-a-successful-forget-call.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1377,
    "python_slice_tokens": 286,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not that `forget()` fails to delete the record it was pointed at. It is that erasure is scoped to *one addressable artifact* (the episodic memory row) while the legally and operationally relevant object is the *information* it contained, which may already have been copied into a derived semantic representation by a background distillation pass...",
    "what_was_observed": "An agent is given a user fact via `write(memory_type=\"episodic\", content=\"User's home address is 42 ...; user is allergic to penicillin\", user_id=U)`. A nightly distiller runs with the instruction \"extract durable user preferences and profile facts from the last 24h of episodic memory\" and emits `write(memory_type=\"semantic\", content=\"User has a penicillin allergy\", source_episode_ids=[e_8812])`. Later the user invok...",
    "condition_of_validity": "This analysis holds only when the memory API satisfies all of: - `forget()` is namespace/scope-scoped rather than information-scoped. - A distillation or consolidation path exists that can transform episodic content into semantic content with altered surface form. - Derived records carry lineage only as advisory metadata, not as enforced referential integrit...",
    "decision_boundary": "The invariant that must hold: **erasure of an information object must dominate every derived representation, including ones produced by autonomous agents that read the original.** Operationally, an agent deciding whether a `forget()` is safe to report as complete must resolve this boundary: - If the memory API exposes lineage (`source_episode_ids`, `derived_...",
    "operational_effect": "An agent that treats `forget()`'s return value as authoritative will produce a false compliance attestation and will continue to surface erased facts through semantic retrieval. Downstream, this manifests as: retrieval of \"deleted\" preferences, contradiction between the erasure log and observed model behavior, and — in the worst case — a semantic record that..."
  },
  "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": "0700bab74d9f23ac5276fe878f72646fa2ecf202703f6e9c03f31cfcfacfbb74",
    "verified_classes": [
      "ErasureIncompleteError",
      "MemoryRecord",
      "MemoryStore"
    ],
    "verified_functions": [
      "__init__",
      "write",
      "begin_distill",
      "end_distill",
      "lineage_closure",
      "forget"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ErasureIncompleteError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
