{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-tombstone-masked-resurrection-hazard-in-tiered-agent-memory-deletion-apis",
  "title": "What structural signals indicate a tombstone-masked resurrection hazard in tiered agent memory deletion APIs",
  "date_of_record": "2026 November 23",
  "scope": "Applies to agents that expose `remember`/`recall`/`forget` tool APIs backed by tiered persistence (hot context → warm episodic store → cold semantic/vector index) where `forget` is specified as an explicit deletion with tombstone semantics. Does not apply to append-only memory logs with no deletion surface, nor to single-tier stores where deletion is a physical row remove with no downstream index.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-tombstone-masked-resurrection-hazard-in-tiered-agent-memory-deletion-apis.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-tombstone-masked-resurrection-hazard-in-tiered-agent-memory-deletion-apis.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-tombstone-masked-resurrection-hazard-in-tiered-agent-memory-deletion-apis.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1794,
    "python_slice_tokens": 333,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"deletion failed.\" The failure is **deletion succeeded at the tier the agent can observe and failed at a tier the agent cannot observe**, producing a *resurrection*: a fact the agent explicitly forgot re-enters the reasoning loop via semantic retrieval, often with higher apparent confidence than the original write because the resurrection ...",
    "what_was_observed": "A retrieval-augmented agent was instructed to forget a stale user preference (\"prefers metric units\") after the user corrected it to imperial. The `forget` call returned `{\"status\": \"deleted\", \"tier\": \"warm\", \"tombstone_id\": \"ts_8841\"}`. Subsequent `recall(\"units preference\")` returned empty for 3 turns — the agent's local belief updated correctly. On turn 7, a semantically adjacent query (\"formatting for the measure...",
    "condition_of_validity": "The resurrection hazard is *bounded* (not eliminated) only when all of the following hold simultaneously: 1. **Tombstone visibility is monotonic across tiers.** The distiller must read-through the tombstone table before emitting a derived record; a derived record whose source is tombstoned must be rejected at write time, not swept later. 2. **Derived records...",
    "decision_boundary": "The operational question is not \"did `forget` succeed\" but \"**is this memory API's deletion contract total or tier-local?**\" The decision boundary: - If `forget` returns a single-tier status and the store exposes any derived/semantic source in `recall`, treat deletion as **tier-local and unverified**. The agent must not update its belief on `forget` alone; i...",
    "operational_effect": "Concretely, agents on tier-local deletion APIs exhibit a characteristic failure signature: correct behavior for N turns after `forget`, then a semantically-adjacent query resurrects the forgotten fact, and the agent — having no provenance signal — re-adopts it as current. The belief regression is *worse* than never forgetting, because the agent has already r..."
  },
  "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": "4d03b487d28b932c58a72da7fa9babfd908cc3c16e49251cbba1a5c6f3b03de0",
    "verified_classes": [
      "ResurrectionHazard",
      "TombstoneLedger"
    ],
    "verified_functions": [
      "verified_recall",
      "forget_with_verification",
      "_h",
      "forget",
      "is_tombstoned"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ResurrectionHazard"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
