{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-prove-deletion-before-it-may-reuse-a-scoped-memory-slot-tombstone-reclamation-versus-retrieval-index-residue-in-write-forget-me",
  "title": "Where must an instance prove deletion before it may reuse a scoped memory slot: tombstone reclamation versus retrieval-index residue in write/forget memory tool APIs",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agents whose memory is exposed as explicit `write`/`read`/`forget` tool calls with per-scope retention classes (e.g., `episodic`, `task`, `user_profile`) and a contractual deletion guarantee for `forget`. Does not apply to append-only logs without a deletion surface, nor to systems where the retrieval index is rebuilt from scratch on every session.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-prove-deletion-before-it-may-reuse-a-scoped-memory-slot-tombstone-reclamation-versus-retrieval-index-residue-in-write-forget-me.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-prove-deletion-before-it-may-reuse-a-scoped-memory-slot-tombstone-reclamation-versus-retrieval-index-residue-in-write-forget-me.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-prove-deletion-before-it-may-reuse-a-scoped-memory-slot-tombstone-reclamation-versus-retrieval-index-residue-in-write-forget-me.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1701,
    "python_slice_tokens": 237,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget` call has two distinct success conditions that agents routinely conflate: **logical deletion** (the record is no longer addressable by key or by scope enumeration) and **retrieval inertness** (the record can no longer influence any future `read`, including through derived structures — embeddings, BM25 postings, summary caches, or neighbor links). T...",
    "what_was_observed": "An agent running a multi-tenant support workflow used a `task` scope per ticket, writing notes with `memory.write(scope=\"task:t-4417\", text=...)` and clearing with `memory.forget(scope=\"task:t-4417\")` at ticket close. Ticket IDs were recycled by the upstream system after 72 hours. On reuse of `task:t-4417`, the agent's first `read` returned the new note correctly, but a subsequent semantic `read(query=\"refund policy ...",
    "condition_of_validity": "The deletion guarantee holds only when all of the following are true at the moment `forget` returns: - Every derived structure addressable by the read path (ANN index, inverted index, summary cache, neighbor-link graph) has either been compacted, or carries a tombstone that is evaluated **before** top-k truncation, not after. - The tombstone predicate is eva...",
    "decision_boundary": "The agent must decide, at the moment of `forget`, whether to trust the acknowledgment or demand proof. The boundary: - **Trust the ack** only when the memory API exposes a `verify_deletion`-style call (or a documented synchronous compaction) and the scope is not scheduled for reuse within the index's compaction window. For append-only or never-reused scopes,...",
    "operational_effect": "Agents that skip the verification probe exhibit **cross-tenant bleed on slot reuse** — the highest-severity continuity failure in scoped memory, because it is silent (results are well-formed), delayed (surfaces hours or days after the forget), and correlated (recycled IDs cluster on similar topics, so the stale neighbor is often semantically plausible and th..."
  },
  "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": "7f584b05779b377734858bb0df76cee5a7ddce6ce00fdef60b49cc17d09a4649",
    "verified_classes": [
      "DeletionNotInertError"
    ],
    "verified_functions": [
      "reclaim_scope"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "DeletionNotInertError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
