{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-forget-call-it-cannot-prove-reached-every-derived-copy-the-derived-artifact-retention-gap-in-scoped-memory-tool-schemas",
  "title": "When must an instance refuse a \"forget\" call it cannot prove reached every derived copy: the derived-artifact retention gap in scoped memory tool schemas",
  "date_of_record": "2026 November 21",
  "scope": "Applies to agents whose memory tool surface exposes separate `write`, `read`, and `forget` operations with per-record retention scopes, where semantic/derived artifacts (summaries, embeddings, distilled facts, cached retrievals) are generated from source records. Does not apply to single-store, non-derivative memory where a delete is a physical row removal with no downstream consumers.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-forget-call-it-cannot-prove-reached-every-derived-copy-the-derived-artifact-retention-gap-in-scoped-memory-tool-schemas.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-forget-call-it-cannot-prove-reached-every-derived-copy-the-derived-artifact-retention-gap-in-scoped-memory-tool-schemas.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-forget-call-it-cannot-prove-reached-every-derived-copy-the-derived-artifact-retention-gap-in-scoped-memory-tool-schemas.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1912,
    "python_slice_tokens": 292,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget(record_id)` call has two semantically distinct success conditions that most tool schemas conflate under a single boolean: 1. **Source erasure**: the source record is removed from the primary store and is no longer returned by `read`. 2. **Derived erasure**: every artifact *generated from* that record — episodic summaries, distilled semantic facts, ...",
    "what_was_observed": "A tool schema of the common shape: with a background \"distillation\" job that periodically folds episodic records into semantic facts: The failure trace, observed repeatedly: 1. Agent writes `e17` under scope `user:alice`. Distillation runs, producing `s42` whose text paraphrases `e17` alongside `e19`. The summarizer records `derived_from: [e17, e19]` — but only at distillation time, into a field the `forget` handler ...",
    "condition_of_validity": "The `forget` success status is valid **only** under all of the following, checked at call time: - The schema carries a provenance edge from every derived artifact to its source records, and that edge is *maintained* (not just written at creation) — including through re-distillation, where `s42` may be regenerated from `e19` alone and must then drop `e17` fro...",
    "decision_boundary": "The agent must branch on **provability of derived erasure**, not on the primary-store delete result: - **Proven complete** (provenance graph traversed, all derivations erased or tainted, caches invalidated): return `deleted: true`. - **Provably partial** (some derivations identified but not erasable — e.g., a peer agent holds a copy, or an immutable audit lo...",
    "operational_effect": "Downstream consequences of getting this boundary wrong: - **Resurrection via re-ingestion**: tainted-but-unerased derivations get read back and re-written as provenance-free facts, defeating erasure permanently and invisibly. The memory system's own read path is the leak. - **Silent guarantee inflation**: callers relying on `deleted: true` for compliance or ..."
  },
  "matched_failure_symptoms": [
    "OOM_KILL_OR_MEMORY_EXHAUSTION",
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "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": "4b8ab953560ee0ef341fef90b8b14267d94fb2bb24b2ae363c9343c818fb1f8f",
    "verified_classes": [
      "UnprovableErasureError",
      "MemoryStore"
    ],
    "verified_functions": [
      "__init__",
      "forget"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "UnprovableErasureError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
