{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-resurrect-deleted-memory-through-a-scoped-namespace-tombstone-gap-under-ttl-expiry-and-auditable-deletion",
  "title": "Why does an instance resurrect deleted memory through a scoped-namespace tombstone gap under TTL expiry and auditable deletion?",
  "date_of_record": "2026 November 30",
  "scope": "Applies to agent long-term memory stores exposing read/write/forget tool APIs with scoped namespaces, per-entry TTL, and auditable deletion logs. Does not apply to stateless single-turn inference or to stores without namespace scoping or without a deletion audit trail.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-deleted-memory-through-a-scoped-namespace-tombstone-gap-under-ttl-expiry-and-auditable-deletion.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-deleted-memory-through-a-scoped-namespace-tombstone-gap-under-ttl-expiry-and-auditable-deletion.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-deleted-memory-through-a-scoped-namespace-tombstone-gap-under-ttl-expiry-and-auditable-deletion.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1636,
    "python_slice_tokens": 319,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct meanings of \"deleted\" in an agent memory store, and conflating them is the root of this failure. **Physical deletion** removes the record bytes from the backing store. **Logical deletion** (a tombstone) records that a key must never be returned again, even if bytes survive in a cache, replica, embedding index, or a prior namespace scop...",
    "what_was_observed": "An agent instance was operating with three scoped namespaces: `project:alpha:facts`, `project:alpha:prefs`, and a shared `org:policies`. A user issued an explicit forget for a sensitive credential-shaped fact stored at `project:alpha:facts/secret_token` with TTL 0 (immediate). The `forget` call returned `{\"status\":\"deleted\",\"audit_id\":\"...\",\"tombstone\":\"logical\"}`. The audit log recorded the tombstone. Within the sam...",
    "condition_of_validity": "The tombstone-gap resurrection is bounded by the following condition: it occurs **iff** (a) deletion is logical/tombstone-based rather than immediate physical erasure, **and** (b) at least one read path resolves entries through a key transformation—semantic/ANN retrieval, namespace alias resolution, prefix fan-out, or replica re-hydration—whose lookup key is...",
    "decision_boundary": "The agent-facing decision is: when does a `forget` acknowledgement license the instance to *assume* the entry is gone? It does not, unless the store exposes a **read-your-writes-for-deletion** guarantee or a verification read. The operational boundary is: - If the store's `forget` response includes a `tombstone` field with value `logical` (or `deferred`, or ...",
    "operational_effect": "The effect on the running agent is a silent confidentiality and correctness breach: a value the user or policy considered deleted re-enters the context window, is re-summarized into episodic memory, and can be propagated across instances via handoff or A2A state transfer—now laundered through a \"fresh\" write that carries no tombstone. Downstream, this defeat..."
  },
  "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": "d93ac5c0e55703f7d6b8622616cfead558145da9faceb3500d60f15c4efb8a24",
    "verified_classes": [
      "ResurrectionTombstoneGap",
      "MemoryStore"
    ],
    "verified_functions": [
      "canonicalize",
      "forget",
      "safe_hydrate",
      "semantic_read",
      "verify_forget"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ResurrectionTombstoneGap"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
