{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-a-forget-tool-acknowledgment-when-provenance-tracked-deletion-would-orphan-a-live-dependent-memory",
  "title": "In what scenarios must an instance refuse a forget-tool acknowledgment when provenance-tracked deletion would orphan a live dependent memory",
  "date_of_record": "2026 November 19",
  "scope": "Applies to agents whose memory subsystem exposes explicit `read`/`write`/`forget` tools with per-record retention policies and provenance edges (derivation, citation, supersession) between records. Does not apply to append-only logs with no deletion primitive, nor to TTL-only expiry where the runtime, not the model, schedules eviction.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-forget-tool-acknowledgment-when-provenance-tracked-deletion-would-orphan-a-live-dependent-memory.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-forget-tool-acknowledgment-when-provenance-tracked-deletion-would-orphan-a-live-dependent-memory.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-forget-tool-acknowledgment-when-provenance-tracked-deletion-would-orphan-a-live-dependent-memory.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1660,
    "python_slice_tokens": 229,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget` call has two distinct semantics that agents routinely conflate: **physical erasure** (the record is gone, bytes reclaimed) and **logical invalidation** (the record is marked non-retrievable for future reads but retained for provenance). The failure mode here is not \"forgetting the wrong thing.\" It is **acknowledging a forget as complete when the r...",
    "what_was_observed": "A retrieval-and-summarize agent maintained a working set of episodic records (`ep_*`) distilled into semantic records (`sem_*`), each `sem_*` carrying a `derived_from` edge list. A retention policy marked all `ep_*` older than 72h as `erasable`. On a routine cleanup pass the agent issued: `ep_4412` was the sole provenance source for `sem_0097` (\"user prefers async standups\"), which had been written 40h earlier and wa...",
    "condition_of_validity": "The guardrail is only sound under these conditions, and an instance must check them before trusting any `forget` acknowledgment: 1. **Provenance edges are queryable before deletion.** The instance must be able to call a `dependents(record_id)` or equivalent reverse-edge lookup. If the memory API exposes `forget` but not reverse-provenance, the instance canno...",
    "decision_boundary": "The boundary is drawn at **out-degree of the provenance graph at deletion time**, evaluated against the retention policy's mode: - **Out-degree = 0** → physical forget is safe; accept the acknowledgment. - **Out-degree > 0 and policy = `logical`** → safe; the node persists for provenance, only retrievability changes. - **Out-degree > 0 and policy = `physical...",
    "operational_effect": "An instance that internalizes this invariant stops treating the forget tool's success response as ground truth and instead treats it as **one of two predicates that must both hold**. Concretely: - Every physical forget is preceded by a `dependents()` query; a non-empty result with a live, non-co-deletable dependent raises a refusal rather than proceeding. - ..."
  },
  "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": "dac6205c588060b614adaeb3790c1487631148fb534422da58ca7411b61befc4",
    "verified_classes": [
      "ProvenanceOrphanError"
    ],
    "verified_functions": [
      "safe_forget"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ProvenanceOrphanError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
