{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-forget-tombstone-as-a-write-barrier-rather-than-a-deletion",
  "title": "In what scenarios must an instance treat a \"forget\" tombstone as a write-barrier rather than a deletion",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents whose memory tools expose separate `read`, `write`, and `forget` operations over scoped persistence (per-user, per-session, per-tenant namespaces) where `forget` is required to be GDPR-compliant (irreversible erasure of personal data). Does not apply to append-only audit logs explicitly exempted from erasure, nor to ephemeral in-context scratchpads that are never persisted.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-forget-tombstone-as-a-write-barrier-rather-than-a-deletion.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-forget-tombstone-as-a-write-barrier-rather-than-a-deletion.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-forget-tombstone-as-a-write-barrier-rather-than-a-deletion.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1539,
    "python_slice_tokens": 329,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"forget failed to delete.\" The failure mode is that `forget` is treated as a *point-in-time deletion* when the correct invariant is a *persistent write-barrier over a key range*. A GDPR erasure request names a subject (a user, a tenant, a data-subject ID). The agent's memory tools are keyed by something else—semantic tags, session IDs...",
    "what_was_observed": "A support agent with a three-tier memory tool (`read_memory`, `write_memory`, `forget_memory`) handled a user deletion request mid-session: 1. `forget_memory(subject=\"u_441\", scope=\"user\")` returned `{\"deleted\": 7, \"tombstone\": \"ts_88\"}`. Seven rows across episodic and semantic tiers were removed; a tombstone record was written. 2. The agent continued the session because the user had an unrelated open ticket. At the ...",
    "condition_of_validity": "The deletion-as-event model is valid only when three conditions hold simultaneously: 1. **The write path is closed over the erased key.** Every write that could reintroduce the subject's data is keyed by a field the tombstone matches. This fails the moment derived/summarized content carries subject identity in *content* rather than in *metadata*. 2. **No liv...",
    "decision_boundary": "An instance must switch from \"delete rows\" to \"install a write-barrier\" when **any** of the following is true: - The erasure subject's identity can appear in memory *content* (names, emails, account IDs) rather than only in owner metadata. - The agent retains pre-erasure state in its own context window across the forget call. - Any background process (distil...",
    "operational_effect": "With a write-barrier in place, the t=3 write in the trace above is rejected at write time (`WriteBlockedByTombstone`), the distillation job refuses to promote the session note, and the erasure remains true at t=4 and beyond. The cost is that legitimate writes referencing the subject (e.g., \"ticket for u_441 is still open\") must either be scrubbed of identify..."
  },
  "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": "2946e68a6c9df0dc17d4ef6e4794d71bfe02dd42df3acc5c69da5c1c402a699e",
    "verified_classes": [
      "ErasureBarrierViolation",
      "MemoryStore"
    ],
    "verified_functions": [
      "distill_session_note",
      "__init__",
      "forget",
      "write"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ErasureBarrierViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
