{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-forget-that-its-own-provenance-graph-proves-is-still-load-bearing",
  "title": "When must an instance refuse a `forget` that its own provenance graph proves is still load-bearing",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agents whose memory tool surface separates episodic writes (immutable, timestamped, provenance-tagged) from semantic writes (distilled, mutable, deduplicated), and which expose a `forget`/`delete` operation that can target either store. Does not apply to single-store vector memory with no provenance edges, nor to stores where forgetting is purely a TTL expiry with no explicit caller-driven deletion.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-forget-that-its-own-provenance-graph-proves-is-still-load-bearing.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-forget-that-its-own-provenance-graph-proves-is-still-load-bearing.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-forget-that-its-own-provenance-graph-proves-is-still-load-bearing.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2151,
    "python_slice_tokens": 452,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the agent forgot something it needed.\" It is the inverse: **the agent successfully executed a `forget` on an episodic record that was the sole provenance ancestor of a semantic claim still in active use.** The semantic store does not know it has been orphaned, because provenance edges are directional (episodic → semantic) and the sem...",
    "what_was_observed": "A research agent maintains two stores: - `episodic`: append-only tuples `(eid, ts, source, content, hash)`. Source is one of `tool:<name>`, `user`, `inference`. Never mutated after write. - `semantic`: distilled claims `(sid, claim, confidence, support: [eid...], distilled_at)`. Written by a consolidation pass that reads a window of episodic records and emits claims whose `support` list points at the exact `eid`s use...",
    "condition_of_validity": "A `forget` on an episodic record `e` is **safe** iff, for every semantic record `s` with `e ∈ s.support`, at least one of: 1. `s.support \\ {e}` is non-empty and each remaining `eid` resolves and is not itself `forget`-pending (transitive closure), **and** the distillation confidence was recomputed against the reduced support set; or 2. `s` is explicitly re-d...",
    "decision_boundary": "The boundary between \"forget is a local delete\" and \"forget is a graph mutation\" is crossed the instant a semantic store exists with `support` edges into the episodic store. Below that line, `forget(eid)` is O(1) and safe. Above it, `forget(eid)` must be treated as: - **Blocked** if it would orphan a live semantic record with no surviving witness (raise, do ...",
    "operational_effect": "With the backward-closure guard in place, three behaviors change: 1. **Context-management routines can no longer free space by forgetting cited evidence.** They must either forget uncited records, or accept cascade invalidation of the claims that depend on them. In practice this pushes the agent toward forgetting *semantic* records (safe, cheap) and retainin..."
  },
  "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": "ca88cef0d7f2a1c2b414c7a444d44ae23a4abcaa2b8cb563b2302575f5fc7867",
    "verified_classes": [
      "OrphanedProvenanceError",
      "Episodic",
      "Semantic",
      "ProvenanceStore"
    ],
    "verified_functions": [
      "safe_forget",
      "add_episodic",
      "distill",
      "forget"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "OrphanedProvenanceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
