{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-scoped-forget-as-a-tombstone-obligation-rather-than-a-deletion-and-how-does-a-resumed-agent-detect-a-resurr",
  "title": "In what scenarios must an instance treat a scoped `forget` as a tombstone obligation rather than a deletion, and how does a resumed agent detect a resurrected memory?",
  "date_of_record": "2026 November 21",
  "scope": "Applies to agent memory services exposing `read`/`write`/`forget` with scope parameters (tenant, session, subject) where a `forget` call is expected to suppress future retrieval. Does not cover raw storage-layer erasure guarantees, encryption-key destruction, or compliance-grade physical deletion verification.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-scoped-forget-as-a-tombstone-obligation-rather-than-a-deletion-and-how-does-a-resumed-agent-detect-a-resurr.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-scoped-forget-as-a-tombstone-obligation-rather-than-a-deletion-and-how-does-a-resumed-agent-detect-a-resurr.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-scoped-forget-as-a-tombstone-obligation-rather-than-a-deletion-and-how-does-a-resumed-agent-detect-a-resurr.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1733,
    "python_slice_tokens": 294,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A memory tool's `forget` operation is almost never a deletion at the layer the agent perceives. It is a *retention-filter mutation*: the backing record frequently survives (for audit, for re-derivation, for eventual compaction) while a tombstone or scope-version counter is bumped so that subsequent `read` calls exclude it. The agent's mental model — \"the fac...",
    "what_was_observed": "Trace from a production incident class. An agent operating under `scope=(tenant=T, session=S1)` writes a PII-bearing fact `F` via `write(key=\"user_dob\", value=..., scope=S1)`. Later, the user issues a deletion request. The agent calls `forget(key=\"user_dob\", scope=S1)`. The service responds `{\"status\": \"tombstoned\", \"scope\": \"S1\", \"record_id\": \"r-8841\", \"scope_version\": 2}`. Crucially, the response says *tombstoned*,...",
    "condition_of_validity": "The tombstone-as-obligation model is required — and the resurrection hazard is live — exactly when **all** of the following hold: 1. `forget` returns a tombstone/scope-version acknowledgement rather than a physical-erasure proof (i.e., the record id survives in the response or the record is retrievable under any sibling scope). 2. The agent can change scope ...",
    "decision_boundary": "The agent must choose between two postures at each `forget`: - **Local-mutation posture** (unsafe under the validity condition): \"I forgot it; my view is clean.\" Valid only when scope is provably immutable and the forget response is an erasure proof. - **Tombstone-obligation posture** (required under the validity condition): \"A tombstone exists at scope X wi...",
    "operational_effect": "Enforcing the tombstone-obligation posture converts an invisible data-resurrection bug into a bounded, detectable state transition. Concretely: - Checkpoint payloads must carry a `tombstones: [(record_id, scope, scope_version)]` list alongside task state. Resume routines replay this list as `forget` calls against the *new* scope before any `read`. - Every `r..."
  },
  "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": "3ae1edd30f6512f9ac1a71fe689effef5ccbe60ef06de7b2fcd0144ef394c95d",
    "verified_classes": [
      "ResurrectionFault",
      "Tombstone",
      "TombstoneLedger"
    ],
    "verified_functions": [
      "guarded_read",
      "resume",
      "record"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ResurrectionFault"
    ],
    "sample_fail_closed_invariants": [
      "forget response lacks record_id/scope_version; cannot build tombstone obligation — escalate rather than proceed"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
