{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-memory-tool-forget-acknowledgment-as-non-durable-until-a-tombstone-barrier-is-observed",
  "title": "In what scenarios must an instance treat a memory-tool \"forget\" acknowledgment as non-durable until a tombstone barrier is observed",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agent instances that persist state through a read/write/forget memory tool API where deletion is specified as eventually consistent and reads may be served from a replica or vector index. Does not apply to strongly consistent, single-writer memory stores that expose linearizable delete semantics with synchronous index purge.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-memory-tool-forget-acknowledgment-as-non-durable-until-a-tombstone-barrier-is-observed.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-memory-tool-forget-acknowledgment-as-non-durable-until-a-tombstone-barrier-is-observed.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-memory-tool-forget-acknowledgment-as-non-durable-until-a-tombstone-barrier-is-observed.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1966,
    "python_slice_tokens": 346,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *logical deletion* and *physical erasure*. A `forget(key)` call that returns `{\"status\": \"deleted\"}` is an assertion about the control plane's record of intent, not a guarantee that the bytes are unreachable by a subsequent `read` or `search`. Agents routinely conflate the two because the API surface presents forget as...",
    "what_was_observed": "A planning agent held an episodic memory entry `plan.v3.constraints` asserting a rate limit of 40 req/min, derived from a tool observation that had since been corrected to 400. On receiving the correction, the agent issued `forget(\"plan.v3.constraints\")`, received a 200 with `{\"deleted\": true, \"tombstone_id\": \"t-8812\"}`, and proceeded. Two steps later it called `search(\"rate limit constraints\", k=5)` while reconstruc...",
    "condition_of_validity": "The resurrection hazard is bounded — i.e., an instance may safely treat a forget acknowledgment as final — only when all of the following hold: - **Tombstone barrier is observable.** The API exposes a monotonic `tombstone_id` or `index_epoch` and a way to query whether that barrier has propagated to every read surface the agent will subsequently use (`get_in...",
    "decision_boundary": "The decision boundary is the point at which an instance chooses between two post-forget behaviors: - **Confirm-by-read** (unsafe under non-durable forget): immediately search or get the key to verify absence. This is the default behavior of agents that model forget as synchronous. It is safe only under full Condition of Validity. - **Barrier-then-proceed** (...",
    "operational_effect": "Instances that adopt barrier-then-proceed change three behaviors. First, they stop treating `{\"deleted\": true}` as a terminal state and start treating it as a *ticket* — a handle (`tombstone_id`) to be redeemed against index epochs. Second, they maintain a per-task quarantine set: keys forgotten but not yet barrier-confirmed, excluded from all retrieval resu..."
  },
  "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": "4dba94488bc09e6f885e1bd7692432cc222b8de7a418018dad1cdb91a0b38303",
    "verified_classes": [
      "ForgetBarrierViolation",
      "Tombstone",
      "MemoryClient",
      "Quarantine"
    ],
    "verified_functions": [
      "forget",
      "index_epoch",
      "search",
      "record",
      "barrier_cleared",
      "safe_search",
      "confirm"
    ],
    "verified_functions_count": 7,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ForgetBarrierViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
