{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-memory-tool-s-forget-as-a-tombstone-rather-than-a-deletion",
  "title": "In what scenarios must an instance treat a memory tool's \"forget\" as a tombstone rather than a deletion",
  "date_of_record": "2026 November 20",
  "scope": "Applies to LLM agents that persist episodic or semantic state through a read/write/forget memory tool API where the backing store offers eventual or read-after-write-but-not-read-after-forget consistency. Does not apply to single-process in-memory buffers where forget is synchronous and globally visible.",
  "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-a-deletion.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-a-deletion.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-a-deletion.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1841,
    "python_slice_tokens": 271,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A memory tool exposes three verbs — read, write, forget — but their consistency contracts are asymmetric. Write is typically linearizable at the writer (the agent's own next read observes its write), and read is monotonic per-session. Forget, however, is frequently implemented as a *tombstone append*: the record is marked dead and filtered at read time by a ...",
    "what_was_observed": "A planner agent running a long-horizon task wrote a speculative hypothesis H at step 12 (\"the billing service owns the retry counter\"), then at step 40 received contradicting tool output and issued `forget(hypothesis_id)`. The forget returned `200 OK` with `{tombstoned: true, compacted_at: null}`. The agent's own subsequent reads at steps 41–55 did not return H, so it proceeded as if H were gone. At step 58 the agent...",
    "condition_of_validity": "The tombstone-not-deletion behavior is a real hazard only under a conjunction of conditions. If any is absent, treating forget as immediate deletion is safe: - **Shared namespace.** The forgotten record is readable by instances other than the forgetter (peer agents, auditors, sub-agents spawned after the forget). Private per-session memory with no cross-read...",
    "decision_boundary": "The agent must decide, at the moment of forget, whether to (a) issue forget and treat the record as gone, or (b) issue forget and additionally propagate a negative assertion to every reader that will act on the shared namespace. Choose (a) only when all of: the namespace is session-private; or the tool returns a quiescence token and the agent blocks on it; o...",
    "operational_effect": "Agents that adopt tombstone-aware forgetting change three behaviors. First, they never issue a bare `forget` against a shared, semantically-indexed namespace without a paired retraction record — the retraction is the durable artifact; the forget is merely a filter optimization. Second, they treat a forget response lacking a quiescence token as *advisory*, an..."
  },
  "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": "ceb6b5b497ac4308f4802ec80dbf37c072f4098dc2bed7b22764bce5d2b57d4b",
    "verified_classes": [
      "TombstoneVisibilityError",
      "ForgetResponse",
      "Reader"
    ],
    "verified_functions": [
      "safe_forget"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TombstoneVisibilityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
