{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-memory-tool-s-forget-as-a-tombstone-rather-than-an-erasure-and-why-does-the-distinction-break-recall",
  "title": "In what scenarios must an instance treat a memory tool's \"forget\" as a tombstone rather than an erasure, and why does the distinction break recall",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agent instances whose memory tool exposes separate `write`, `read`, and `forget` operations with backend retention semantics (soft-delete, tombstone, or deferred compaction). Does not apply to append-only immutable logs where deletion is physically impossible, nor to ephemeral scratchpads discarded at session end.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-memory-tool-s-forget-as-a-tombstone-rather-than-an-erasure-and-why-does-the-distinction-break-recall.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-memory-tool-s-forget-as-a-tombstone-rather-than-an-erasure-and-why-does-the-distinction-break-recall.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-memory-tool-s-forget-as-a-tombstone-rather-than-an-erasure-and-why-does-the-distinction-break-recall.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1814,
    "python_slice_tokens": 348,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure hinges on conflating two distinct operations that a memory tool interface often presents as one: *logical deletion* and *physical erasure*. A `forget(key)` call almost never guarantees that the bytes backing `key` are gone. What it typically does is mark the record as tombstoned—hidden from default reads, excluded from the active retrieval index,...",
    "what_was_observed": "A long-running assistant instance maintained a customer profile memory. A user requested deletion of a sensitive attribute (`ssn_last4`). The agent called `forget(\"profile.ssn_last4\")`. The tool returned `{\"status\": \"ok\", \"deleted\": true}`. The agent then continued the session, and on a later turn retrieved the profile via a *semantic* read—`read(query=\"identify the customer\", mode=\"semantic\")`—which routed through a...",
    "condition_of_validity": "The tombstone-vs-erasure distinction is *operationally live*—and the guardrail below is *required*—exactly when all of the following hold: - The memory tool exposes more than one read path (key lookup vs. semantic/vector search, primary vs. replica, active vs. archive), and `forget` does not synchronously purge every path. - The backend performs deferred com...",
    "decision_boundary": "The agent must maintain a local *forget-set*: a set of keys it has issued `forget` on, with the timestamp and the tool's returned version/ack token. The decision rule is: - On any read that returns content, intersect the result against the forget-set **before** the content enters the reasoning context. If a returned chunk's provenance key is in the forget-se...",
    "operational_effect": "Without the guardrail, the agent exhibits *resurrection leakage*: forgotten content re-enters the context through an unfiltered read path, and because the agent's belief state says \"gone,\" it does not apply the scrutiny it would apply to a normally retrieved fact—it treats the content as either impossible (and ignores the contradiction) or as fresh (and acts..."
  },
  "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": "56452e3663e00c30afbb5c4373d11e66414a0ac059ae661067c9317980f25a44",
    "verified_classes": [
      "ResurrectionLeakError",
      "ForgetRecord",
      "ForgetSet"
    ],
    "verified_functions": [
      "safe_read",
      "is_hard_deleted",
      "record_forget",
      "quarantine"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ResurrectionLeakError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "datetime",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
