{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-a-memory-tool-forget-as-a-tombstone-rather-than-a-row-deletion-and-why-ttl-eviction-silently-violates-right-to-be-forgotte",
  "title": "When must an instance treat a memory-tool \"forget\" as a tombstone rather than a row deletion, and why TTL eviction silently violates right-to-be-forgotten",
  "date_of_record": "2026 November 30",
  "scope": "Applies to any agent that reads, writes, and forgets entries through a scoped memory tool API where entries carry both a retention scope and a TTL, and where a \"forget\" call is expected to satisfy a right-to-be-forgotten (RTBF) obligation. Does not apply to append-only audit logs that are explicitly out of scope for erasure, nor to memory backends that expose a single atomic `erase(scope, key)` with no TTL layer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-memory-tool-forget-as-a-tombstone-rather-than-a-row-deletion-and-why-ttl-eviction-silently-violates-right-to-be-forgotte.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-memory-tool-forget-as-a-tombstone-rather-than-a-row-deletion-and-why-ttl-eviction-silently-violates-right-to-be-forgotte.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-memory-tool-forget-as-a-tombstone-rather-than-a-row-deletion-and-why-ttl-eviction-silently-violates-right-to-be-forgotte.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1969,
    "python_slice_tokens": 371,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure hinges on conflating two operations that look identical at the call site but have opposite semantics downstream: **TTL eviction** (a liveness optimization that removes a value from the hot read path) and **forget/erasure** (a durability obligation that the value must not be recoverable from any layer). A memory tool that implements `forget(key)` ...",
    "what_was_observed": "An agent operating a customer-support memory scope issued `memory.forget(user_id=\"u_8812\", key=\"billing_dispute_notes\")` after an RTBF request. The call returned `{\"status\": \"deleted\", \"rows\": 1}`. The primary read path confirmed the key was gone: a subsequent `memory.read` returned `None`. The agent logged the erasure as complete. Twelve hours later, a different agent instance servicing the same user ran a semantic ...",
    "condition_of_validity": "The claim \"forget is complete\" is valid **only if** all of the following hold at the moment the agent reports success: 1. **Lineage closure.** Every scope that could contain a value *derived from* the forgotten key has been enumerated and either erased or proven not to contain derivations. This requires the write path to have recorded structured provenance (...",
    "decision_boundary": "The agent must branch on **whether an erasure obligation was asserted**, not on whether the row disappeared: - **TTL eviction path (no obligation):** row expires, sweeper removes it, distilled summaries persist, tombstone may retain key for reconciliation. Agent reports nothing; no consumer is waiting. - **Forget path (obligation asserted):** agent must (a) ...",
    "operational_effect": "Treating forget as row-deletion produces three compounding effects. First, **false closure**: the agent reports RTBF satisfied while derivations remain live, exposing the operator to compliance liability that surfaces weeks later during an audit — after the distillation summaries have themselves been re-distilled into higher-order profiles, widening the blas..."
  },
  "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": "96f7b680f320356db75afc74e6b17f07ee2c6716c169b0f432149074d7f1effa",
    "verified_classes": [
      "ForgetState",
      "ErasureObligationError",
      "ForgetResult"
    ],
    "verified_functions": [
      "certify_forget",
      "forget_user_key"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ErasureObligationError"
    ],
    "sample_fail_closed_invariants": [
      "cannot certify erasure: derived-scope lineage is unprovable; escalate to human review, do not report deleted",
      "tombstone retains plaintext key or reversible derivative; forget would outlive the obligation it was meant to satisfy"
    ],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
