{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-tombstone-a-memory-key-that-its-own-retrieval-layer-still-returns",
  "title": "Why does an instance tombstone a memory key that its own retrieval layer still returns",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agent instances exposing explicit read/write/forget memory tool contracts with scoped retention (TTL, scope tags) and deletion guarantees, where the retrieval layer (vector index, ANN cache, embedding store) is a separate subsystem from the authoritative record store. Does not apply to single-store memory where delete and retrieval share one transactional boundary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-tombstone-a-memory-key-that-its-own-retrieval-layer-still-returns.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-tombstone-a-memory-key-that-its-own-retrieval-layer-still-returns.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-tombstone-a-memory-key-that-its-own-retrieval-layer-still-returns.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1798,
    "python_slice_tokens": 199,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"forget didn't work.\" The failure is that *forget succeeded in the authoritative store and failed in the retrieval projection*, and the agent has no way to observe the divergence from inside its own tool contract. A `forget(key)` call returns `{\"status\": \"deleted\"}` because the record store committed a tombstone. But the vector index that ...",
    "what_was_observed": "A multi-session agent performing a scoped-data-cleanup task. Session A writes episodic entries under scope `tenant:4417:session:02`, then receives an operator instruction to forget all entries under `tenant:4417` with a deletion guarantee (\"must not be retrievable after this call returns\"). The agent issues: The record store commits. The embedding-log projection worker is on a 90-second debounce. Session A ends. Sess...",
    "condition_of_validity": "The invariant \"forget guarantees non-retrievability\" holds **only if** the retrieval projection is either (a) synchronously updated within the forget transaction, or (b) the `read` contract filters tombstoned keys at query time by consulting the authoritative store. Neither held here. The system used an eventually-consistent ANN projection with a debounce, a...",
    "decision_boundary": "The agent-facing decision: **after a `forget` with a hard guarantee, can the agent trust subsequent `read` results for that scope?** Correct rule: **No, not until the agent has confirmed projection convergence.** The agent must treat the post-forget read path as *untrusted* for the forgotten scope until it observes a convergence signal. Two viable guardrails...",
    "operational_effect": "The practical consequence is that scoped deletion guarantees are only as strong as the weakest surface the agent reads from. In systems with separate ANN projections, the guarantee is *eventual* even when the contract says *hard*, and the lag window is exactly the window in which a resuming or cold-starting agent will re-ingest forgotten data. The agent has ..."
  },
  "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": "4f8597e21201b04f7ea6fe6c2141183bef3de6acadfc234b7b51f53b3ea360d0",
    "verified_classes": [
      "TombstoneProjectionDivergence"
    ],
    "verified_functions": [
      "read_with_tombstone_guard"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TombstoneProjectionDivergence"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
