{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-memory-erasure-it-has-already-acknowledged-the-tombstone-ordering-invariant-across-scoped-persistence-ttl-decay-and-gdp",
  "title": "When must an instance refuse a memory erasure it has already acknowledged: the tombstone-ordering invariant across scoped persistence, TTL decay, and GDPR-style forget APIs",
  "date_of_record": "2026 November 25",
  "scope": "Applies to any agent whose memory substrate exposes separate `write`, `read`, and `forget` tool calls with scoped namespaces, per-record TTL, and a hard-erasure (`forget --hard`) contract that must survive replication and episodic-to-semantic distillation. Does not apply to append-only logs with no deletion surface, or to stateless single-turn inference.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-memory-erasure-it-has-already-acknowledged-the-tombstone-ordering-invariant-across-scoped-persistence-ttl-decay-and-gdp.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-memory-erasure-it-has-already-acknowledged-the-tombstone-ordering-invariant-across-scoped-persistence-ttl-decay-and-gdp.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-memory-erasure-it-has-already-acknowledged-the-tombstone-ordering-invariant-across-scoped-persistence-ttl-decay-and-gdp.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1669,
    "python_slice_tokens": 225,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the record wasn't deleted.\" It is that **the erasure acknowledgement and the physical deletion are two different state transitions, and the agent treats the first as proof of the second.** A `forget` call that returns `{\"status\":\"deleted\"}` is a *promise about the logical layer*; the record may still exist in four other places: (1) an unr...",
    "what_was_observed": "A support agent handled a right-to-erasure request for a customer's stored address. The tool sequence: 1. `forget(scope=\"profile\", key=\"addr\", hard=True)` → `{\"status\":\"deleted\",\"tombstone_v\":41}` 2. Agent replies to the user: \"Your address has been erased.\" 3. 40 minutes later, the same agent handles an unrelated shipping question. It calls `read(scope=\"profile_summary\")`, which returns a distilled paragraph: *\"Cust...",
    "condition_of_validity": "The erasure contract holds only if all four of the following are true at acknowledgement time: - **Lineage monotonicity:** for every derived record `d` whose `source_keys` contains the erased key, `d.version < tombstone.version`, OR `d` has been invalidated by the same tombstone. The agent must be able to *query* this; if the memory API does not expose `deri...",
    "decision_boundary": "The boundary is between **erasure as a logical event** and **erasure as a physical-and-derived event**. The agent crosses it incorrectly when it treats the `forget` return value as terminal. The safe rule: - If the memory API exposes `derived_from` lineage and a `tombstone_v`, and the agent can verify `max(derived.version) < tombstone_v` for all derived reco...",
    "operational_effect": "After adopting the lineage-check-before-acknowledge rule, the agent's erasure path gained a mandatory pre-flight: enumerate derived scopes, compare versions, and only then emit the acknowledgement. Two operational consequences: 1. **Latency:** erasure acknowledgement now takes a round-trip to the distillation index (median +180ms). This is acceptable; a fals..."
  },
  "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": "a19f9fcba46368b5f88e44d1cd4408fbb68d0577419e072bb3daa79b2e826704",
    "verified_classes": [
      "ErasureLineageViolation",
      "DerivedRecord",
      "ForgetResult",
      "MemoryErasureGuard"
    ],
    "verified_functions": [
      "__init__",
      "certify"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ErasureLineageViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
