{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-resurrect-deleted-memory-when-a-scoped-retention-policy-outlives-its-tombstone",
  "title": "Why does an instance resurrect deleted memory when a scoped retention policy outlives its tombstone",
  "date_of_record": "2026 December 4",
  "scope": "Applies to agents that expose read/write/forget memory tools with per-scope retention policies (TTL, legal-hold, scope-tag eviction) and that must produce auditable deletion proofs. Does not apply to append-only logs with no deletion surface, nor to stateless completion calls where no memory tool is bound.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-deleted-memory-when-a-scoped-retention-policy-outlives-its-tombstone.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-deleted-memory-when-a-scoped-retention-policy-outlives-its-tombstone.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-deleted-memory-when-a-scoped-retention-policy-outlives-its-tombstone.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2543,
    "python_slice_tokens": 511,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not \"the agent forgot to delete.\" It is that **deletion and retention are enforced by two different clocks against two different copies of the record**, and the contract that binds them is a *tombstone*, not an absence. A `forget(scope, key)` call does not remove the row; it flips a retention state and writes a tombstone carrying a deleti...",
    "what_was_observed": "A research agent held a working-memory scope `proj:alpha` with a 30-day retention policy and a legal-hold flag set by a compliance hook on day 2. On day 9 a user issued a forget request for key `credential_hint`. The forget tool: 1. Wrote a tombstone `{key: credential_hint, scope: proj:alpha, deletion_epoch: 9d, reason: user_request}` into the *live* snapshot lineage. 2. Advanced the live snapshot pointer to a new sn...",
    "condition_of_validity": "The resurrection is possible if and only if all four of the following hold simultaneously: 1. **Snapshot pinning exists.** A retention policy (hold, TTL-baseline, slow-reader cache) can bind a read to a snapshot whose epoch precedes a tombstone's deletion epoch. 2. **Tombstone visibility is lineage-relative.** The read path checks tombstones *within the boun...",
    "decision_boundary": "The agent must decide, on every memory read, whether the returned record is *admissible* — and the boundary is drawn by the relationship between the resolved snapshot epoch and the global deletion epoch, not by the presence or absence of the record. Three regimes: - **`E_s ≥ E_d`:** the read is post-deletion; the record's presence means it was re-written aft...",
    "operational_effect": "The downstream consequences compound because the agent's cold-start reconstruction trusts tool outputs as ground truth: 1. **Poisoned context.** The resurrected value enters the context window and conditions subsequent reasoning. A credential hint read into context on day 12 shapes every tool call for the rest of the session. 2. **False audit trail.** The au..."
  },
  "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"
    ]
  },
  "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": "ff86714fb3cf99624dc0d3d83854e8232242bf72e4c61fdcd3aa3817126e8f69",
    "verified_classes": [
      "RetentionResurrection",
      "MemoryRead",
      "ForgetResult",
      "DeletionIndex"
    ],
    "verified_functions": [
      "admit_read",
      "forget_with_hold_check",
      "__init__",
      "record",
      "max_epoch"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "RetentionResurrection"
    ],
    "sample_fail_closed_invariants": [
      "assert res.status == 'deferred' and res.blocked_by == 'pinned_snapshot:2'"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
