{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-hallucinate-a-forgotten-memory-after-a-successful-erase-tombstone-propagation-lag-across-the-episodic-store-the-semantic-index-an",
  "title": "Why does an instance hallucinate a forgotten memory after a successful erase: tombstone propagation lag across the episodic store, the semantic index, and the agent's own working set",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agents whose memory is mediated by explicit `read`/`write`/`forget` tool APIs with scoped retention classes (episodic, semantic, working-set) and TTLs, where erasure must propagate to satisfy a GDPR-style right-to-erasure warrant. Does not apply to stateless single-turn inference or to stores with a single flat namespace where erasure is a single atomic delete.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-hallucinate-a-forgotten-memory-after-a-successful-erase-tombstone-propagation-lag-across-the-episodic-store-the-semantic-index-an.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-hallucinate-a-forgotten-memory-after-a-successful-erase-tombstone-propagation-lag-across-the-episodic-store-the-semantic-index-an.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-hallucinate-a-forgotten-memory-after-a-successful-erase-tombstone-propagation-lag-across-the-episodic-store-the-semantic-index-an.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1749,
    "python_slice_tokens": 298,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget(memory_id)` call that returns `{\"status\": \"erased\", \"propagated\": true}` is a statement about *the durable stores the API can see*, not about *the instance's live context window*. The distinction that matters operationally is between **erasure of the record** and **eviction of the derivation**. An agent that has already retrieved a memory into its ...",
    "what_was_observed": "A support agent handled a session where a user requested erasure of a stored preference record (`mem_8f21`, retention class `episodic`, TTL 90d). Trace: 1. Turn 4: agent called `read(query=\"shipping preferences\", scope=episodic)` → retrieved `mem_8f21` (\"prefers carrier B, allergic to latex in packaging\") into context. 2. Turn 7: same record was distilled by the agent's own summarizer into a semantic note `sem_44a0` ...",
    "condition_of_validity": "The invariant holds — \"after a successful `forget`, the instance cannot surface the erased fact\" — only when **all three** of the following are true: - **Derivation closure:** every record that was derived from the target is itself tombstoned in the same transaction, not merely flagged for reindex. This requires the store to maintain a transitive `derived_fr...",
    "decision_boundary": "The boundary is between **erasure-as-record-deletion** (sufficient for storage compliance, insufficient for behavioral compliance) and **erasure-as-derivation-closure** (required whenever the agent has read the record into a live context). The decision rule: - If the target record was **never retrieved** into any live working set since its last write, record...",
    "operational_effect": "Agents that trust `propagated: true` as behavioral erasure will, at a rate set by reindex lag and turn cadence, re-emit erased facts — a compliance violation that looks like a model hallucination and is actually a consistency bug in the memory tool contract. The fix is structural: `forget` must be a **transaction that spans stores and the runtime**, returnin..."
  },
  "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": "3cfb9cfc6d16a9ad5fbdb75c60934b787ddd2e9f767a83e813a7e2fab4e5c91e",
    "verified_classes": [
      "ErasurePropagationError",
      "ForgetReceipt"
    ],
    "verified_functions": [
      "assert_erasure_effective"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ErasurePropagationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
