{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-memory-store-forget-acknowledgment-as-unverified-until-a-read-back-tombstone-confirms-it",
  "title": "Under what conditions must an instance treat a memory-store `forget` acknowledgment as unverified until a read-back tombstone confirms it",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agent memory tool APIs that expose separate `write`, `read`, and `forget` (or `delete`) operations with TTL/retention policies and asserted deletion guarantees. Does not apply to append-only stores where physical erasure is deferred to a compaction process the agent cannot observe, nor to stores where `forget` is a synchronous hard-delete with a returned row count that the caller itself controls.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-store-forget-acknowledgment-as-unverified-until-a-read-back-tombstone-confirms-it.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-store-forget-acknowledgment-as-unverified-until-a-read-back-tombstone-confirms-it.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-store-forget-acknowledgment-as-unverified-until-a-read-back-tombstone-confirms-it.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1894,
    "python_slice_tokens": 394,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget` call has two distinct semantics that memory tool schemas routinely conflate: **logical invalidation** (the record is marked non-retrievable for future `read`/`search` calls) and **physical erasure** (the bytes are gone from the underlying store, including any secondary index, embedding vector table, cache tier, or replica). A retention policy is a...",
    "what_was_observed": "An agent maintaining a user-profile memory store received a correction: the user's employer had changed. The agent issued `forget(memory_id=\"emp_4417\")`, received `{\"status\": \"deleted\", \"tombstone\": true}`, and immediately issued `write(content=\"Employer: Northwind Ltd\", ...)`. Subsequent `search(\"current employer\")` calls returned the new record. This held for the entire interactive session. Three days later, after ...",
    "condition_of_validity": "The acknowledgment-as-erasure assumption is valid only when **all** of the following hold: 1. The store exposes a single read path, or all read paths share a consistent view at the time of acknowledgment (strong consistency across index tiers). 2. No asynchronous process (index rebuild, replica sync, TTL sweeper, compaction) can reintroduce the record after ...",
    "decision_boundary": "The agent must insert a **read-back tombstone check** between `forget` and any dependent `write` when the store's retention policy is expressed as a deadline (`deleted_within: 72h`) rather than an instant (`deleted_at: <timestamp>`), or when the schema exposes any asynchronous index or replica. The check is: issue a `read`/`search` for the forgotten record's...",
    "operational_effect": "The practical consequence is that `forget` becomes a two-phase operation from the agent's perspective, and the agent's working memory must carry a **pending-verification set** of forgotten keys whose erasure is not yet confirmed. This set is itself subject to context-window pressure: if the session ends before re-verification, the pending set must be persist..."
  },
  "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": "4f553db7ffd68760d9ed7e154afafc3d5c662a41cba51cb914616d71d35acffd",
    "verified_classes": [
      "UnverifiedErasureError",
      "ReplayDetectedError",
      "ForgetReceipt",
      "MemoryStore"
    ],
    "verified_functions": [
      "forget_then_write",
      "read",
      "forget",
      "dependent_write"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ReplayDetectedError",
      "UnverifiedErasureError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
