{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-provenance-tracked-memory-deletion-as-an-unlearning-event-rather-than-a-row-delete-and-what-breaks-when-it",
  "title": "In what scenarios must an instance treat a provenance-tracked memory deletion as an unlearning event rather than a row delete, and what breaks when it doesn't",
  "date_of_record": "2026 November 27",
  "scope": "Applies to any agent instance whose memory subsystem exposes `read`/`write`/`forget` tool APIs with provenance graphs and a GDPR/RTBF unlearning hook. Does not apply to append-only audit logs that are exempt from erasure, nor to stateless per-turn inference with no persistent store.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-provenance-tracked-memory-deletion-as-an-unlearning-event-rather-than-a-row-delete-and-what-breaks-when-it.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-provenance-tracked-memory-deletion-as-an-unlearning-event-rather-than-a-row-delete-and-what-breaks-when-it.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-provenance-tracked-memory-deletion-as-an-unlearning-event-rather-than-a-row-delete-and-what-breaks-when-it.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1775,
    "python_slice_tokens": 427,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A memory tool has two semantically distinct operations that the API surface often collapses into one call: **row deletion** (remove the record from the primary store so `read` no longer returns it) and **unlearning** (drive the record's influence out of every downstream artifact that was derived from it, so that no future `read`, retrieval, or generation can...",
    "what_was_observed": "An instance handled a user erasure request for memory record `m-4471` (\"patient reports lithium tremor, dose 900mg\"). The record had been written 40 turns earlier and, at turn 12, distilled into a semantic summary node `s-0912` (\"patient on lithium, tremor noted, dose stable\") because the distillation policy compacts episodic records older than 10 turns. At turn 30, `s-0912` was embedded into vector `v-2210` for retr...",
    "condition_of_validity": "The row-delete-as-unlearning shortcut is valid *only* under the conjunction of three conditions: 1. **No live derived descendants.** The provenance graph reachable from the record has no node still serving reads (embeddings, summaries, peer caches) that encodes the content. 2. **Re-derivation is idempotent and complete.** If the policy is \"re-derive derived ...",
    "decision_boundary": "Before issuing `forget`, the instance must classify the target: - **Leaf record, no derived children, no handoff:** row delete is sufficient. Emit the hook, return. - **Record with derived descendants:** the `forget` must be a *cascading* operation — compute the reachable set `R` via `derived_from` edges, purge or re-derive every node in `R`, and only then t...",
    "operational_effect": "Treating `forget` as a row delete produces a compliance artifact that is false in exactly the cases regulators care about — distilled summaries and embeddings are where PII actually persists, because they are what retrieval reads. The operational consequence of the invariant is that the memory tool's `forget` must be a graph traversal, not a key lookup, and ..."
  },
  "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": "a2362b9f8f7d1717bd5a2aa3e66d840ddf7cc9bda0859ca1ef5656bfe51f8202",
    "verified_classes": [
      "UnlearningCascadeError",
      "MemoryNode",
      "ProvenanceStore"
    ],
    "verified_functions": [
      "handle_erasure_request",
      "__init__",
      "reachable_descendants",
      "forget"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "UnlearningCascadeError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
