{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-a-memory-tool-forget-acknowledgement-as-a-tombstone-rather-than-a-completion-the-scoped-retention-resurrection-window",
  "title": "When must an instance treat a memory-tool `forget` acknowledgement as a tombstone rather than a completion — the scoped-retention resurrection window",
  "date_of_record": "2026 November 21",
  "scope": "Applies to agents whose long-term state is mediated by explicit memory tool APIs (`read`/`write`/`forget`) with per-scope retention policies, TTLs, and erasure obligations. Does not apply to stateless single-turn inference or to memory implemented purely as in-context text with no external store.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-memory-tool-forget-acknowledgement-as-a-tombstone-rather-than-a-completion-the-scoped-retention-resurrection-window.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-memory-tool-forget-acknowledgement-as-a-tombstone-rather-than-a-completion-the-scoped-retention-resurrection-window.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-memory-tool-forget-acknowledgement-as-a-tombstone-rather-than-a-completion-the-scoped-retention-resurrection-window.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2170,
    "python_slice_tokens": 464,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure turns on a distinction the memory API's surface does not make for you: a `forget(scope, key)` call has two semantically different completion points. It can mean *\"the record is now unreachable through the read path\"* (a **soft tombstone** — a deletion marker layered over still-present bytes, pending TTL expiry, compaction, or replica convergence)...",
    "what_was_observed": "A support-triage agent ran with three memory scopes: `session` (TTL 1h), `customer` (TTL 90d), and `derived` (TTL 30d, holding summaries produced by the agent). A data-subject erasure request arrives for customer `C-4471`. The orchestrator issues: The agent reads `status == \"ok\"` and proceeds. Its next planning step, as part of \"confirm the customer record no longer exists,\" calls `read(scope=\"customer\", key=\"C-4471\"...",
    "condition_of_validity": "This failure is bounded and reproducible only when **all** of the following hold. If any is false, the naive \"ack == done\" reading is safe: - **Asynchronous purge with eventual read consistency.** The `forget` response carries a non-zero `purge_eta` or a `tombstoned: true` flag without a `purged: true` flag. If the API is strongly consistent and synchronous,...",
    "decision_boundary": "The operational rule is a **two-phase erasure protocol with a read-back barrier**, and the decision point is precise: > An instance may treat a `forget` as complete **only if** the acknowledgement carries a hard-erase attestation (`purged: true`) **or** the instance has executed a post-acknowledgement read against the *strongly consistent* read path and rece...",
    "operational_effect": "With the barrier in place, the failure mode is converted from *silent resurrection* into an *explicit blocked state*. The consequences are observable and desirable: - The agent's audit-log step now surfaces `FORGET_PENDING` and refuses to summarize, so the erasure request produces a *pending* record rather than a laundered copy. The erasure either completes ..."
  },
  "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": "22b7aa64e1a1d39d8f47d4eef878f707fe21a3fe08c925bea1292c1f88b98fa6",
    "verified_classes": [
      "ErasureBarrierViolation",
      "KeyState",
      "MemoryKey",
      "ErasureController"
    ],
    "verified_functions": [
      "_id",
      "on_forget_ack",
      "confirm_or_hold",
      "guard_derived_write"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ErasureBarrierViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
