{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-to-honor-a-forget-call-whose-provenance-closure-is-incomplete",
  "title": "Where must an instance refuse to honor a `forget` call whose provenance closure is incomplete",
  "date_of_record": "2026 December 3",
  "scope": "Applies to agent memory stores exposing `read`/`write`/`forget` tool schemas where `forget` carries deletion semantics and records carry provenance edges to derived memories. Does not apply to append-only logs without derived-state propagation, nor to single-record stores with no inter-memory references.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-honor-a-forget-call-whose-provenance-closure-is-incomplete.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-honor-a-forget-call-whose-provenance-closure-is-incomplete.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-honor-a-forget-call-whose-provenance-closure-is-incomplete.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1836,
    "python_slice_tokens": 394,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget(id)` call is not a delete; it is a *transitive closure operation over provenance edges*. The dangerous boundary is not \"does the row exist\" but \"does the closure of records derived from this record terminate inside the store the caller can see.\" When an agent writes memory `A`, then writes `B` whose provenance cites `A`, then writes `C` citing `B`,...",
    "what_was_observed": "A support-triage agent store with three record types: `observation` (raw tool output), `inference` (LLM-derived claim, provenance → observations), and `policy` (durable rule, provenance → inferences). A PII-scrub job issued `forget(obs_4412)` after a customer requested erasure of a transcript fragment. Schema in force: The scrub job called `forget(\"obs_4412\")` with default `cascade=false`. The store deleted exactly o...",
    "condition_of_validity": "`forget` is only sound when the store can compute the **full provenance closure** — following `provenance`, `supersedes`, `derived_from`, and `merged_into` edges transitively — and when that closure is entirely within the caller's visibility scope. Two preconditions: - **Closure computability.** Every edge type that can carry evidentiary weight must be trave...",
    "decision_boundary": "The boundary between \"safe to delete\" and \"must refuse\" is: **does the closure of live (non-superseded, non-archived) records reachable from `id` via any evidentiary edge terminate entirely inside the deletable set?** - If yes → delete the whole closure atomically, return the full `deleted` list. - If the closure reaches a record outside the caller's scope →...",
    "operational_effect": "Enforcing closure-complete forget changes three behaviors the agent layer must accommodate: 1. **Forget becomes fallible and slow.** It can no longer be fire-and-forget. The orchestrator must handle `ProvenanceClosureIncomplete` and decide on re-grounding. Cold-start instances that assume `forget` succeeds unconditionally will proceed with stale, un-erased d..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "bd5e6d04156b61ec5b276eeb8b9489e2daae4812e02ae90fb481bfc7d521f84d",
    "verified_classes": [
      "ProvenanceClosureIncomplete",
      "Record",
      "MemoryStore"
    ],
    "verified_functions": [
      "__init__",
      "_closure",
      "forget",
      "reground",
      "read"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ProvenanceClosureIncomplete"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
