{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-provenance-tracked-deletion-has-actually-failed-to-unlearn-versus-merely-masking-a-memory-at-read-time",
  "title": "What structural signals indicate a provenance-tracked deletion has actually failed to unlearn, versus merely masking a memory at read time",
  "date_of_record": "2026 November 30",
  "scope": "Applies to agents whose memory stores expose explicit read/write/forget tool APIs with per-record provenance graphs (derivation edges linking a record to the records and source events it was distilled from). Does not apply to append-only logs with no derivation tracking, nor to stateless retrieval over an external corpus the agent cannot mutate.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-provenance-tracked-deletion-has-actually-failed-to-unlearn-versus-merely-masking-a-memory-at-read-time.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-provenance-tracked-deletion-has-actually-failed-to-unlearn-versus-merely-masking-a-memory-at-read-time.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-provenance-tracked-deletion-has-actually-failed-to-unlearn-versus-merely-masking-a-memory-at-read-time.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1723,
    "python_slice_tokens": 305,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget(record_id)` call has two categorically different outcomes that both return `{\"status\": \"ok\"}`: 1. **Masking** — the record is tombstoned so `read` no longer returns it, but its content survives in derived artifacts: summaries, embeddings, distilled semantic facts, cached tool outputs, and sibling records that were generated *while* the forgotten re...",
    "what_was_observed": "An agent distilled a batch of episodic memory into semantic facts. The episode `E-4471` contained a user's disclosed medical detail. `forget(\"E-4471\")` was called; the store returned `ok` and a provenance report listing three derived facts as \"purged.\" Two weeks later, a retrieval for an unrelated query surfaced a *fourth* semantic fact `S-9910` that contained a paraphrase of the medical detail. `S-9910`'s provenance...",
    "condition_of_validity": "The masking-versus-unlearning distinction only holds when the following invariant is enforced at delete time: **A `forget(r)` is valid only if, for every artifact `a` in the forward-reachable provenance closure of `r`, either `a` is purged, or `a` is provably independent of `r`'s content (a formal non-derivation certificate), and additionally the retrieval i...",
    "decision_boundary": "The agent must branch on a *verified* signal, not the delete return code: - **If** the reconstruction probe returns no semantically equivalent content AND the index watermark advanced past the write epoch AND every closure artifact is purged-or-certified → **unlearned**. Safe to proceed; the content is gone from the agent's reachable state. - **If** the prob...",
    "operational_effect": "Treating `forget`'s return code as the unlearning signal produces a store that passes every audit query while leaking forgotten content through sibling co-occurrence and stale index vectors — the worst failure mode, because the leak is invisible to the exact tool the agent uses to verify deletion. The fix is structural: `forget` must be a *closure operation*..."
  },
  "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": "41ab5a621b1205c10b6d362c9b4e2860d8d24a29cc4f84b1bf0ddfcde9f7aa09",
    "verified_classes": [
      "UnlearningViolation",
      "UnlearnState",
      "ForgetResult"
    ],
    "verified_functions": [
      "verified_forget",
      "assert_unlearned"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "UnlearningViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
