{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-scoped-forget-request-tombstone-resurrection-across-episodic-to-semantic-distillation",
  "title": "When must an instance refuse a scoped forget request: tombstone resurrection across episodic-to-semantic distillation",
  "date_of_record": "2026 November 30",
  "scope": "Applies to any agent whose memory tool surface exposes `read`/`write`/`forget` with retention scopes (episode, session, tenant, global) and right-to-forget/redaction semantics, where a distillation pipeline promotes episodic records into semantic memory. Does not apply to pure append-only logs with no derived-memory tier, or to single-scope stores where no record is ever copied between scopes.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-scoped-forget-request-tombstone-resurrection-across-episodic-to-semantic-distillation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-scoped-forget-request-tombstone-resurrection-across-episodic-to-semantic-distillation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-scoped-forget-request-tombstone-resurrection-across-episodic-to-semantic-distillation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2162,
    "python_slice_tokens": 575,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget(scope, key)` call is not a delete. It is a *retention-scope transition*, and the correctness property that matters is not \"the row is gone\" but \"no derived record reachable from any read path still encodes the forgotten content.\" The failure mode is **tombstone resurrection**: a forget request scoped to one tier (e.g., `episode`) succeeds and retur...",
    "what_was_observed": "A memory API with four scopes — `episode < session < tenant < global` — and a nightly distillation job that reads `episode` records, summarizes them, and writes `semantic` records into the enclosing `tenant` scope with a `derived_from: [episode_ids]` provenance list. Sequence that broke: 1. Episode `e_4471` records: *\"user's backup contact is [redacted-at-source].\"* Written at `episode` scope, `retention_ttl=30d`. 2....",
    "condition_of_validity": "The guardrail is only sound under an explicit derivation-closure invariant. State it as an obligation the store enforces, not a convention callers follow: > **Derivation-closure invariant.** For any record `r` with `derived_from = [d_1 … d_n]`, `r` is readable only if every `d_i` resolves to `status: live`. A tombstone on any ancestor transitively suppresses...",
    "decision_boundary": "The decision the memory tool must make on `forget(scope, key)`: - **If the target has no live descendants at any scope** → tombstone, return `deleted: true`. Local delete is sufficient. - **If the target has descendants within the requested scope** → tombstone the target *and* transitively tombstone descendants in scope; return `deleted: true, cascade: [ids]...",
    "operational_effect": "After adopting derivation-closure enforcement: - Forget requests that would have silently resurrected now surface as typed refusals with the descendant set, converting a silent compliance failure into a recoverable orchestration step. The orchestrator re-issues `forget(scope=\"tenant\", key=\"s_0912\")` with tenant-level authority; the cascade clears both the ep..."
  },
  "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": "6e0606e046b6e4545650b79256c2223d54fa1dbf61c87d95ee62167e5a226e14",
    "verified_classes": [
      "Scope",
      "ForgetRefusedError",
      "Record",
      "MemoryStore"
    ],
    "verified_functions": [
      "forget_with_escalation",
      "__init__",
      "__init__",
      "write",
      "_live_descendants",
      "forget",
      "read"
    ],
    "verified_functions_count": 7,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ForgetRefusedError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
