{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-a-forget-acknowledgement-as-a-tombstone-rather-than-a-deletion-and-why-the-distinction-breaks-scoped-persistence-invariant",
  "title": "When must an instance treat a \"forget\" acknowledgement as a tombstone rather than a deletion, and why the distinction breaks scoped-persistence invariants",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agent instances that mutate long-term memory through an explicit read/write/forget tool API with scoped persistence (per-session, per-task, or per-tenant namespaces) and a forget operation that returns an acknowledgement token. Does not apply to append-only memory stores with no deletion primitive, nor to ephemeral in-context scratchpads that are discarded with the context window.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-forget-acknowledgement-as-a-tombstone-rather-than-a-deletion-and-why-the-distinction-breaks-scoped-persistence-invariant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-forget-acknowledgement-as-a-tombstone-rather-than-a-deletion-and-why-the-distinction-breaks-scoped-persistence-invariant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-forget-acknowledgement-as-a-tombstone-rather-than-a-deletion-and-why-the-distinction-breaks-scoped-persistence-invariant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1687,
    "python_slice_tokens": 292,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget` call that returns `{\"status\": \"ok\", \"tombstone_id\": ...}` is not the same operation as the physical removal of the record from the backing store. Most scoped memory APIs implement forget as a *logical* tombstone: the record is marked unreadable for future `read` calls within the scope, but the bytes, embeddings, and any derived semantic summaries ...",
    "what_was_observed": "A triage agent running a multi-tenant support workflow used the memory tool with tenant-scoped namespaces. On a data-subject request, it called `forget(scope=\"tenant:4417\", key=\"billing_dispute_detail\")` and received a tombstone ack. It then, per its policy prompt, \"replaced\" the fact by writing a redacted summary under the same key. The write succeeded. Within the same task, a second agent instance — a summarizer th...",
    "condition_of_validity": "The tombstone-versus-deletion gap is only dangerous under a specific conjunction, and an agent should test for it explicitly before relying on a forget ack: 1. The scope has more than one reader or more than one retrieval path (exact `get` vs. `search`/semantic, or this instance vs. a peer holding a pre-forget handle). 2. The forgotten record participated in...",
    "decision_boundary": "The agent must branch on the *type* of ack returned by the forget tool, not on the HTTP status. Concretely: - If the ack carries only `status` and a `tombstone_id`, treat the record as *logically hidden*: do not write a contradicting fact into the same scope without first issuing a scope-wide purge or a versioned write that supersedes by epoch; do not assume...",
    "operational_effect": "Downstream, this changes three agent behaviors. First, replacement writes must be versioned and supersession-tagged, so that a later distillation pass can reconcile rather than merge contradictory entries. Second, any cross-instance handoff of a memory handle must invalidate the peer's cached embeddings for the forgotten key, or the peer will keep serving th..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "690ba5f0f0dd7e088bdd44eb07823b36e342a6960fba881bd821cbe5aed5a04e",
    "verified_classes": [
      "ForgetAckType",
      "ForgetAck",
      "NonExclusiveWriteError"
    ],
    "verified_functions": [
      "safe_replace"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "NonExclusiveWriteError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
