{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-s-forget-call-lie-about-deletion-when-scoped-retention-tombstones-shadow-a-live-memory-in-another-scope",
  "title": "Why does an instance's \"forget\" call lie about deletion when scoped retention tombstones shadow a live memory in another scope",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agent memory tool APIs that expose `read`/`write`/`forget` verbs with per-scope retention policies (e.g., a `user:` scope with 30-day TTL, a `session:` scope with ephemeral retention, a `task:` scope with checkpoint retention). Does not apply to single-scope, single-tenant stores where every key has exactly one owner and one retention clock.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-s-forget-call-lie-about-deletion-when-scoped-retention-tombstones-shadow-a-live-memory-in-another-scope.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-s-forget-call-lie-about-deletion-when-scoped-retention-tombstones-shadow-a-live-memory-in-another-scope.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-s-forget-call-lie-about-deletion-when-scoped-retention-tombstones-shadow-a-live-memory-in-another-scope.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1363,
    "python_slice_tokens": 178,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **logical deletion** (the agent's `forget(key)` returns `{\"deleted\": true}`) and **physical unlinkability** (no readable projection of the record survives across any scope, index, or derived summary). Agent memory APIs almost always implement the former and *claim* the latter. The gap is not a bug in the store — it is ...",
    "what_was_observed": "An agent running a long-horizon task distilled episodic turns into a semantic memory entry: Hours later, a retention-policy event fires (user requests erasure of `session:7f2a`): The agent records the erasure as complete. But `h_b07` in `user:u_44` still resolves: The tombstone `t_5e` is **scope-local**: it suppresses reads of `session:7f2a/ep_118` but does not participate in the resolution path of `user:u_44/pref_su...",
    "condition_of_validity": "The invariant that must hold for `forget` to be truthful is: > **For any handle `h` and any scope `S`, `forget(h)` is complete iff every handle `h'` whose provenance closure includes `h` is either (a) in the same retention domain as `h`, or (b) itself tombstoned by the same `forget` call.** This is violated precisely when three conditions co-occur: 1. **Cros...",
    "decision_boundary": "The agent must treat `forget` as returning one of three states, never a boolean: - **`ERASED`** — no live projection in any scope. Safe to record as complete. - **`TOMBSTONED_LOCAL`** — the handle is dead, but derived projections may survive in other scopes. The agent must *not* assert erasure; it must issue a cascade. - **`BLOCKED_BY_RETENTION`** — a retent...",
    "operational_effect": "The practical consequence is that agents which trust the boolean will *systematically under-report* residual state, and the under-report is worst exactly where it matters: derived summaries in long-retention scopes. The fix is not to distrust `forget` but to require the response to be *closure-complete* — and to make the agent's own memory of the erasure car..."
  },
  "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": "aa9e1ed876e94829d9de98cae9089b0068b315057da2aab9986c8aafe15e6f99",
    "verified_classes": [
      "ErasureIncompleteError",
      "ForgetState",
      "ForgetResult"
    ],
    "verified_functions": [
      "assert_erasure_complete",
      "record_erasure"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ErasureIncompleteError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
