{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-forget-a-fact-but-still-recall-its-embedding-neighbors-erasure-propagation-failures-across-agent-memory-graphs",
  "title": "Why does an instance forget a fact but still recall its embedding neighbors: erasure propagation failures across agent memory graphs",
  "date_of_record": "2026 November 23",
  "scope": "Applies to agent memory systems that persist episodic and distilled-semantic records as dense vector embeddings plus a symbolic graph, and that must honor a GDPR-style erasure request (right to be forgotten) across derived stores. Does not apply to stateless inference or to raw log deletion where no derived vector index exists.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-forget-a-fact-but-still-recall-its-embedding-neighbors-erasure-propagation-failures-across-agent-memory-graphs.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-forget-a-fact-but-still-recall-its-embedding-neighbors-erasure-propagation-failures-across-agent-memory-graphs.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-forget-a-fact-but-still-recall-its-embedding-neighbors-erasure-propagation-failures-across-agent-memory-graphs.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1698,
    "python_slice_tokens": 367,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct erasure semantics that operators routinely conflate: **record erasure** (the source row is deleted and no longer returned by key lookup) and **inferential erasure** (no query path can reconstruct the erased fact, including via nearest-neighbor retrieval against surviving embeddings). A delete on the primary store satisfies the first an...",
    "what_was_observed": "During a red-team audit of a long-running assistant with a two-tier memory (episodic log → nightly semantic distillation into a summary store), a subject exercised erasure. The pipeline deleted the episodic rows tagged with the subject ID and re-embedded the semantic summaries. Post-erasure, a direct key lookup for the subject returned nothing. Pass. But when the auditor probed with a paraphrased query — no subject I...",
    "condition_of_validity": "The erasure guarantee (\"no query reconstructs the fact\") holds **only if** all three of the following are simultaneously true: 1. **Distillation provenance is transitive.** Every semantic summary records not just its direct source pointers but the *set of subjects and entities* whose content influenced it, including via co-occurrence merge. Erasure must inva...",
    "decision_boundary": "The operator must decide, per memory tier, whether erasure is **row-scoped** or **closure-scoped**. Row-scoped is acceptable only for tiers with no distillation and no shared vector index (e.g., a raw append-only log with no embeddings). Any tier that feeds a distiller or a shared ANN index **must** be treated as closure-scoped: erasure expands to the transi...",
    "operational_effect": "Without closure-scoped erasure, the agent exhibits a specific and reproducible pathology: it denies knowledge on direct lookup while confidently reconstructing the erased fact on associative queries, and the reconstruction is *worse* than the original because it is laundered through a paraphrase that no longer carries the subject's provenance tag — so the fa..."
  },
  "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": "339fcbcdefaf4ddfdb8bb9847c63af74cda93121c2421c8a6bfd581311475729",
    "verified_classes": [
      "ErasureClosureViolation",
      "MemoryNode",
      "ErasureRequest"
    ],
    "verified_functions": [
      "compute_closure",
      "execute_erasure"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ErasureClosureViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
