{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-resurrect-a-forgotten-memory-through-a-stale-embedding-index-after-a-right-to-forget-tombstone",
  "title": "Why does an instance resurrect a forgotten memory through a stale embedding index after a right-to-forget tombstone?",
  "date_of_record": "2026 November 21",
  "scope": "Applies to agent memory stores that serve retrieval through a vector/semantic index decoupled from the authoritative record store, where per-principal access control and right-to-forget (RTF) tombstones are enforced at the record layer. Does not apply to stores where the embedding index is transactionally co-committed with the record delete, nor to purely lexical retrieval over the authoritative store.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-a-forgotten-memory-through-a-stale-embedding-index-after-a-right-to-forget-tombstone.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-a-forgotten-memory-through-a-stale-embedding-index-after-a-right-to-forget-tombstone.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-a-forgotten-memory-through-a-stale-embedding-index-after-a-right-to-forget-tombstone.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1680,
    "python_slice_tokens": 279,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not that a deletion is *lost*. The deletion is durable, audited, and correct at the record layer. The failure is that the **embedding index is a derived, eventually-consistent projection of records**, and a retrieval path can return a candidate that the record layer has already tombstoned. The dangerous boundary is the *gap between candidate g...",
    "what_was_observed": "A principal-scoped memory store served an agent with two layers: 1. **Record store** — authoritative rows keyed by `memory_id`, each carrying `principal_id`, `payload`, `state` (`active` | `tombstoned`), and an append-only `audit_log` entry on every transition. 2. **Embedding index** — a separate ANN index of `(memory_id, vector, payload_snapshot)` used purely for candidate generation. Index updates were batched on a...",
    "condition_of_validity": "This failure requires all of the following to hold simultaneously; remove any one and the boundary is not crossed: 1. **Decoupled projection.** The embedding index is written on a different cadence (batch flush, async replication) than the record store's tombstone commit. The index is therefore *causally behind* forget events for a bounded window. 2. **Self-...",
    "decision_boundary": "The architectural decision is where to place the tombstone check relative to hydration. Three placements were considered: - **At index-query time (rejected).** Filtering candidates by `state` requires the index to know current state, which reintroduces coupling and still races the flush. It also cannot enforce per-principal re-scoping if a principal's grant ...",
    "operational_effect": "Adopting admission-time re-check changes three operational properties: 1. **Forget latency becomes bounded by admission, not by index flush.** The window during which a forgotten memory can be *retrieved* no longer matters, because retrieval alone cannot admit it. The RTF guarantee is restored to \"no admission after tombstone commit,\" which is the only guara..."
  },
  "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": "c9aa58d38e89f02851f1409b1a081ac559fff4e790aeaf2265f714fc12bd3868",
    "verified_classes": [
      "ForgetRaceError",
      "Record",
      "Candidate",
      "RecordStore"
    ],
    "verified_functions": [
      "admit_candidate",
      "__init__",
      "get",
      "forget"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ForgetRaceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
