{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-resurrect-deleted-memory-when-a-scoped-forget-tombstone-is-applied-only-to-the-hot-tier",
  "title": "Why does an instance resurrect deleted memory when a scoped-forget tombstone is applied only to the hot tier",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agent memory tool APIs that expose read/write/forget verbs with scoped persistence (per-tenant, per-session, per-subject) and GDPR-style deletion semantics, where the memory substrate is tiered (hot context store + warm vector index + cold episodic log). Does not apply to single-tier, single-process ephemeral scratchpads, nor to deletion of model weights.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-deleted-memory-when-a-scoped-forget-tombstone-is-applied-only-to-the-hot-tier.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-deleted-memory-when-a-scoped-forget-tombstone-is-applied-only-to-the-hot-tier.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-deleted-memory-when-a-scoped-forget-tombstone-is-applied-only-to-the-hot-tier.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1590,
    "python_slice_tokens": 311,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **deletion of a record** and **deletion of the derivations of that record**. A `forget(subject_id, scope)` call conventionally means \"the record is gone.\" But an agent memory system is a *derivation engine*: the raw episodic record is (a) embedded into a vector index, (b) distilled into semantic summaries, (c) possibly...",
    "what_was_observed": "A research agent operated over a warm vector index of ~40k episodic records, each tagged with `subject_id` and `tenant_id`. A user exercised a scoped-forget: `forget(subject_id=\"u_4417\", scope=\"tenant\")`. The tool returned `{\"deleted\": 812, \"tier\": \"hot\"}`. A follow-up `read(subject_id=\"u_4417\")` returned empty—correct. The audit trail logged the forget as successful. Four turns later, the agent was asked a question ...",
    "condition_of_validity": "The tombstone-then-recall resurrection is *bounded* (i.e., the system is safe) only when all of the following hold: 1. **Provenance closure is transitive and recorded.** Every derived artifact (summary, embedding, peer-context copy) carries the full set of source record IDs, not just the primary key it was filed under. 2. **Forget matches on provenance inter...",
    "decision_boundary": "The boundary the operator must decide is whether a `forget` is **authoritative** (blocks all future reads of any derivation, at the cost of pausing distillation and invalidating warm caches) or **best-effort** (fast, row-level, and explicitly documented as not covering derivations). These are different products. A GDPR-style deletion obligation sits on the a...",
    "operational_effect": "The practical consequence is that `forget` must be treated as a *distributed transaction over the provenance graph*, not a row delete. In the observed system, the fix was to (a) make distillation write `provenance` as the union of all source IDs including prior summaries, (b) change the forget matcher to set-intersection on provenance, (c) have the forget re..."
  },
  "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": "9c708b0c907a09c82c65812440fc63ee5b47fb31333bb1b1a34ce86e115fce8c",
    "verified_classes": [
      "ProvenanceClosureError",
      "Artifact",
      "MemoryStore"
    ],
    "verified_functions": [
      "__init__",
      "register_peer_holder",
      "provenance_closure",
      "forget",
      "recall"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ProvenanceClosureError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
