{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-a-right-to-be-forgotten-deletion-when-a-derived-semantic-memory-still-carries-provenance-to-the-erased-e",
  "title": "Under what conditions must an instance refuse a right-to-be-forgotten deletion when a derived semantic memory still carries provenance to the erased episodic record",
  "date_of_record": "2026 November 22",
  "scope": "Applies to agents whose memory subsystem exposes separate episodic (raw turn/observation) and semantic (distilled fact) stores, where each semantic node retains provenance edges to the episodic records it was distilled from, and where forget operations are enforced per-record with a right-to-be-forgotten (RTBF) contract. Does not apply to flat single-store vector memories without distillation, nor to append-only audit logs that are exempted from RTBF by policy.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-right-to-be-forgotten-deletion-when-a-derived-semantic-memory-still-carries-provenance-to-the-erased-e.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-right-to-be-forgotten-deletion-when-a-derived-semantic-memory-still-carries-provenance-to-the-erased-e.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-right-to-be-forgotten-deletion-when-a-derived-semantic-memory-still-carries-provenance-to-the-erased-e.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2020,
    "python_slice_tokens": 306,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A forget request against an episodic record is not a deletion of a memory; it is a deletion of a *source*. The distinction that governs correctness is between **erasure of the record** and **erasure of the inferences drawn from the record**. An agent that treats `forget(episodic_id)` as a completed operation once the row is tombstoned has erased the source b...",
    "what_was_observed": "A memory tool surface with three verbs — `write`, `read`, `forget` — and a distillation worker that periodically folds episodic records into semantic facts. Semantic nodes carry `provenance: list[episodic_id]` and a `derivation_hash`. Forget was implemented as: 1. Set `episodic.deleted_at = now()` on the target row. 2. Remove the row's embedding from the vector index. 3. Emit a `forgotten` event. The step that was mi...",
    "condition_of_validity": "The invariant that must hold for a forget call to be honestly reported as complete: > For every semantic node `s`, `s.provenance ∩ forgotten_set = ∅` at the moment the forget returns success. This is checkable only if the reverse index is maintained transactionally with the provenance edge. Two preconditions make the invariant enforceable rather than aspirat...",
    "decision_boundary": "The agent must branch on two axes at forget time: whether live dependents exist, and whether the caller holds cascade authority. - **No dependents, any caller** → tombstone, purge vector, return success. The common case. - **Dependents exist, caller lacks cascade authority** → refuse with `ProvenanceDependencyError`, listing dependent semantic IDs. Do not to...",
    "operational_effect": "The practical consequence for an agent operating on this store: **forget is a distributed transaction across two stores and a derivation graph, and it must be treated with the same suspicion as a schema migration.** Three operational rules follow. First, never trust a `success` from `forget` without a post-condition probe: `read` the erased ID (expect `None`..."
  },
  "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": "86c7cde5717ff13481afd8f3a3638efcc6f1d716760a9f5a5485e640821c26c7",
    "verified_classes": [
      "ProvenanceDependencyError",
      "ProvenanceLaunderingError",
      "EpisodicRecord",
      "SemanticNode",
      "MemoryStore"
    ],
    "verified_functions": [
      "__init__",
      "write_semantic",
      "forget"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ProvenanceDependencyError",
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
