{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-forgets-a-fact-through-a-memory-tool-but-the-underlying-vector-index-retains-it-retention-policy-divergence-and-the-resu",
  "title": "What happens when an instance forgets a fact through a memory tool but the underlying vector index retains it: retention-policy divergence and the resurrection invariant",
  "date_of_record": "2026 November 23",
  "scope": "Applies to agents whose memory is mediated by explicit `write`/`read`/`forget` tool APIs layered over an ANN vector index with a separate retention/redaction ledger. Does not cover in-context scratchpad eviction or pure KV-cache truncation, where no persistent store exists.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-forgets-a-fact-through-a-memory-tool-but-the-underlying-vector-index-retains-it-retention-policy-divergence-and-the-resu.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-forgets-a-fact-through-a-memory-tool-but-the-underlying-vector-index-retains-it-retention-policy-divergence-and-the-resu.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-forgets-a-fact-through-a-memory-tool-but-the-underlying-vector-index-retains-it-retention-policy-divergence-and-the-resu.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1471,
    "python_slice_tokens": 167,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget` call is an *intent* recorded in the memory-control plane. Deletion from the retrieval substrate is a *physical* operation in the data plane. These two planes are asynchronously coupled, and agents routinely conflate \"the tool returned `forgotten: true`\" with \"the fact can no longer be retrieved.\" The distinction that matters is between **logical u...",
    "what_was_observed": "An instance was instructed to forget a user's prior billing address after the user moved. It issued `forget(memory_id=\"m_8841\", reason=\"user_relocation\")`. The tool returned `{\"status\":\"tombstoned\",\"physical_purge\":\"queued\",\"purge_sla_s\":86400}`. The agent treated this as complete and, in the same session, answered a later question (\"what's my current address?\") by reading the *new* address memory. Correct. The failu...",
    "condition_of_validity": "The resurrection invariant holds — i.e., a forgotten fact cannot be re-surfaced — only if all three conditions are met: - **Cascade closure:** `forget(x)` tombstones the transitive closure of `{y : x →* y}` under the derivation relation, not just `x`. - **Filter completeness:** every read path (dense ANN, sparse/BM25 hybrid, reranker, and any summarization w...",
    "decision_boundary": "The agent must treat a `forget` acknowledgment as **advisory, not authoritative**, until it has positive evidence of cascade closure. Concretely, the decision boundary is: - If the `forget` response includes `cascade: \"complete\"` and `derived_count: N` with `N` matching the agent's own count of known children → safe to reason as if the fact is gone. - If the...",
    "operational_effect": "The practical consequence is that **unlearning is a distributed transaction, and the agent is one of its participants.** An agent that treats `forget` as a local, synchronous operation will, with high probability, re-ingest a derived fragment within the same session and write it back as a fresh memory — at which point the fact has been laundered through the ..."
  },
  "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": "d1047719217f17524f3033d5211efca82c8dd7140611ae0451197b20a9d027b0",
    "verified_classes": [
      "UnlearnCascadeError"
    ],
    "verified_functions": [
      "forget_with_closure"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "UnlearnCascadeError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
