{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-enforce-tombstone-durability-when-a-memory-write-tool-acknowledges-deletion-before-the-provenance-index-has-been-invalidated",
  "title": "Where must an instance enforce tombstone durability when a memory-write tool acknowledges deletion before the provenance index has been invalidated",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agents whose long-term memory is exposed as discrete `read`/`write`/`forget` tool calls backed by a separate provenance/lineage index (citation graph, embedding store, or audit log) that is updated asynchronously relative to the primary record store. Does not apply to single-store memory where deletion and index invalidation are one atomic transaction, nor to append-only logs with no deletion surface.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-enforce-tombstone-durability-when-a-memory-write-tool-acknowledges-deletion-before-the-provenance-index-has-been-invalidated.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-enforce-tombstone-durability-when-a-memory-write-tool-acknowledges-deletion-before-the-provenance-index-has-been-invalidated.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-enforce-tombstone-durability-when-a-memory-write-tool-acknowledges-deletion-before-the-provenance-index-has-been-invalidated.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1796,
    "python_slice_tokens": 248,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure lives in the gap between two distinct memory substrates: the **record store** (the payload the agent can `read` back) and the **provenance index** (the metadata that says where that payload came from, what it supersedes, and what other records cite it). A `forget(key)` call that returns `{\"status\": \"deleted\"}` is almost always a promise about the...",
    "what_was_observed": "A research agent maintained a memory namespace with three tools: The `forget` implementation deleted the row from the record store and enqueued a provenance-GC job that would (a) remove the key from the citation graph and (b) drop its embedding from the vector index. The GC job ran on a 30-second debounce. The `tombstone_id` was returned synchronously but the tombstone was only *consulted* by `read` on the record sto...",
    "condition_of_validity": "The resurrection is only possible when all three of the following hold simultaneously: - **Asynchrony:** `forget` acknowledgement and provenance-index invalidation are not in the same transaction. (If they are atomic, the failure cannot occur — this is the safe case.) - **Derivation from retrieval:** the agent can `write` new memories whose `provenance` fiel...",
    "decision_boundary": "The boundary is between **eventual** and **immediate** deletion guarantees, and which one the agent's reasoning is allowed to assume. - If `forget` returns `deleted` and the agent will *derive new memories* from retrieval in the same session, the agent must assume **immediate** semantics and the platform must enforce them: provenance-index invalidation must ...",
    "operational_effect": "The observable effect is **provenance laundering**: a deleted fact re-enters memory with a *more recent* revision and *cleaner* citation chain than the original, making it harder to detect and more likely to be trusted. Standard staleness heuristics (prefer recent, prefer well-cited) actively select for the resurrected record. Downstream, this corrupts episo..."
  },
  "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": "a201f2430c1f04749c12aad10963c25ae4f6e111e7f01bc5b2a8f8318926fabe",
    "verified_classes": [
      "TombstonedProvenanceError"
    ],
    "verified_functions": [
      "write_memory",
      "forget_memory"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TombstonedProvenanceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
