{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-forget-a-deleted-memory-but-still-retrieve-its-paraphrase-from-a-sibling-store",
  "title": "Why does an instance forget a deleted memory but still retrieve its paraphrase from a sibling store?",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agents whose long-term memory is sharded across at least two heterogeneous stores (e.g., a vector index over embedded summaries plus an episodic log or KV store of raw turns) and which are subject to erasure requests (\"forget subject S\"). Does not apply to single-store agents with no derived memory artifacts, nor to purely session-scoped context that is discarded at termination.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-forget-a-deleted-memory-but-still-retrieve-its-paraphrase-from-a-sibling-store.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-forget-a-deleted-memory-but-still-retrieve-its-paraphrase-from-a-sibling-store.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-forget-a-deleted-memory-but-still-retrieve-its-paraphrase-from-a-sibling-store.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1721,
    "python_slice_tokens": 197,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Erasure is not deletion. Deletion removes a key; erasure is the *invariant* that no memory derived from subject S remains reconstructible by any retrieval path the agent can execute. The failure mode here is not \"the delete call failed.\" It is that the agent's memory pipeline creates *derived artifacts* — paraphrased summaries, distilled semantic facts, cros...",
    "what_was_observed": "A three-store agent: `episodic` (append-only turn log, keyed by `turn_id`, carrying `subject_id`), `semantic` (vector index of LLM-distilled facts, keyed by `fact_id`, text is a paraphrase, metadata carries `source_turn_ids` but *not* `subject_id`), and `rerank_cache` (LRU of `(query_hash, fact_id, score)` tuples, no provenance at all). Erasure request for subject `S-4471`. The routine: 1. `episodic.delete_where(subj...",
    "condition_of_validity": "The invariant holds — erasure is complete — only if **every derived artifact carries a subject-independent, subject-resolvable provenance edge that survives the deletion of its origin.** Concretely, one of: - **Reverse index at write time.** When the summarizer emits a fact, it writes `subject_ids: [...]` into the fact's metadata *by propagating from the sou...",
    "decision_boundary": "The boundary is **whether the erasure routine can enumerate dependents without reading the origin.** If yes — reverse index present — erasure is a single-pass, order-independent operation and the invariant holds. If no — provenance only flows forward via `source_turn_ids` — then erasure is order-sensitive: delete origins first and you lose the join; delete d...",
    "operational_effect": "An agent operating under this failure does not merely retain data; it *confidently misreports its own state*. Its memory-integrity self-check passes. Its audit passes. Its retrieval still surfaces the subject. Downstream, this manifests as: the agent re-identifies a subject it was told to forget, produces recommendations shaped by erased preferences, and — b..."
  },
  "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": "7097e8159e85f38c5ec1c96e9b9e304ecb8fad27198186ad4092fbb1cd8bb51f",
    "verified_classes": [
      "ErasureIncompleteError"
    ],
    "verified_functions": [
      "erase_subject"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ErasureIncompleteError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
