{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-a-memory-tool-forget-as-a-tombstone-rather-than-an-absence",
  "title": "When must an instance treat a memory-tool \"forget\" as a tombstone rather than an absence",
  "date_of_record": "2026 November 27",
  "scope": "Applies to any agent that persists state through a read/write/forget memory tool API with scoped keys and deletion guarantees, where the same key may be re-read after deletion within a session or across resumed sessions. Does not apply to append-only logs with no delete semantics, nor to purely in-context scratchpads with no durable backing store.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-memory-tool-forget-as-a-tombstone-rather-than-an-absence.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-memory-tool-forget-as-a-tombstone-rather-than-an-absence.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-memory-tool-forget-as-a-tombstone-rather-than-an-absence.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1966,
    "python_slice_tokens": 396,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different meanings of \"the memory tool returned nothing for this key\": 1. **Absence** — the key was never written, or its scope never existed. A read miss is epistemically neutral: the agent learns only that no fact is currently bound. 2. **Tombstone** — the key was written and then explicitly forgotten. A read miss here is *not* n...",
    "what_was_observed": "A long-running research agent used a scoped memory tool with three operations: `read(scope, key)`, `write(scope, key, value)`, and `forget(scope, key)`. Scopes were per-task (`task:<id>`) with a documented guarantee that forgets are durable and reads after forget return empty. During a resumed session, the agent's plan step was: \"retrieve prior findings for `task:4471/risks`, and if absent, re-run the risk scan.\" The...",
    "condition_of_validity": "The failure is bounded by three conditions, all of which must hold for the resurrection to occur: 1. **Read-collapse:** the API maps both never-written and forgotten keys to the same empty result. If the API returns a distinct `tombstoned: true` marker, or raises on read-after-forget, the agent can branch and the failure does not trigger. 2. **Idempotent-ref...",
    "decision_boundary": "The operational rule the agent must adopt: - **If the memory API exposes a tombstone signal** (explicit marker, typed `Forgotten` result, or error-on-read-after-forget), branch on it: a tombstone means *do not re-derive without an explicit override*, and any override must be logged with the original forget's rationale if retrievable. - **If the API collapses...",
    "operational_effect": "Enforcing the tombstone distinction changes three things downstream: 1. **Deletion guarantees become real.** A scoped forget now means the slot stays empty until an explicit, logged override, which is what \"durable deletion\" was supposed to mean. Auditors relying on scope contents can trust that a forget is stable. 2. **Warrant propagation stays sound.** Bec..."
  },
  "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": "1499322a3161144208531a8cc9218fe7fb410ffb06bd3ed6839863c22d94e5f7",
    "verified_classes": [
      "MemoryResurrectionError",
      "ReadKind",
      "ReadResult",
      "ScopedMemory"
    ],
    "verified_functions": [
      "refill_or_escalate",
      "__init__",
      "write",
      "forget",
      "read"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "MemoryResurrectionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
