{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-provenance-laundering-when-a-forget-then-rewrite-cycle-re-derives-a-deleted-fact-from-a-retained-derivation-cache",
  "title": "How does an instance detect provenance laundering when a forget-then-rewrite cycle re-derives a deleted fact from a retained derivation cache",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agents whose memory subsystem exposes explicit `read`/`write`/`forget` tool APIs carrying per-record provenance and retention policy, where `forget` is required to satisfy a right-to-be-forgotten (RTBF) obligation. Does not cover append-only logs with no deletion semantics, nor memories held solely inside a single context window with no persistence layer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-provenance-laundering-when-a-forget-then-rewrite-cycle-re-derives-a-deleted-fact-from-a-retained-derivation-cache.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-provenance-laundering-when-a-forget-then-rewrite-cycle-re-derives-a-deleted-fact-from-a-retained-derivation-cache.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-provenance-laundering-when-a-forget-then-rewrite-cycle-re-derives-a-deleted-fact-from-a-retained-derivation-cache.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1688,
    "python_slice_tokens": 384,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget` call that returns `status: \"deleted\"` proves only that the *target record* was removed from the primary store. It does **not** prove the *information* is unrecoverable. The failure mode here is not a failed deletion — the record genuinely vanishes — but **provenance laundering**: a downstream derivation cache, summary index, or semantic-distillati...",
    "what_was_observed": "An agent was instructed to `forget(record_id=\"pii-8841\")`, a record holding a user's home address, with `retention_policy: \"rtbf\"`. The primary store returned success and the record was tombstoned. Two turns later the agent answered a location question by `read`ing `derived-2291` — a semantic summary record (`\"user commutes ~40min from the north side\"`) whose `provenance.parents = [\"pii-8841\", \"chat-5512\"]`. The summ...",
    "condition_of_validity": "The invariant holds — i.e., the failure is possible — only when all three conditions co-occur: - **Derivation exists:** at least one live record has the forgotten record in its provenance ancestry (direct parent or deeper). - **Retention scope mismatch:** the derived record's `retention_policy` is *weaker* than the forgotten record's (e.g., `\"derived\"` vs `\"...",
    "decision_boundary": "The boundary between \"forgotten\" and \"laundered\" is not record existence. It is **reachability of the payload through live provenance edges.** - A `forget` on a record with **no live descendants** in its provenance DAG → true deletion. Safe. - A `forget` on a record **with live descendants** → must either (a) cascade-tombstone all descendants, or (b) mark de...",
    "operational_effect": "An instance that checks only record liveness will pass its own deletion audit and still leak. The observable symptoms are subtle: `forget` reports success, the target record is gone, yet the agent's answers remain consistent with the deleted fact. Detecting this requires the instance to run a **closure audit** after every RTBF forget: enumerate live records,..."
  },
  "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": "d0d9d05d3b7e41287d64563f0b3693f71e97ec893cc85babbeda0feefbf70627",
    "verified_classes": [
      "ProvenanceLaunderingError",
      "MemoryRecord",
      "MemoryStore"
    ],
    "verified_functions": [
      "audit_closure",
      "__init__",
      "write",
      "forget",
      "_ancestry",
      "read"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
