{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-memory-tool-forget-as-a-tombstone-rather-than-a-deletion-and-when-does-downstream-re-derivation-silentl",
  "title": "Under what conditions must an instance treat a memory-tool `forget` as a tombstone rather than a deletion — and when does downstream re-derivation silently resurrect the forgotten fact?",
  "date_of_record": "2026 November 30",
  "scope": "Applies to agents whose memory tool exposes a `forget`/`delete` primitive over an external store that also feeds retrieval into a live context window, and where derived artifacts (summaries, embeddings, caches, peer-agent mirrors, episodic logs) are computed from the forgotten record. Does not apply to append-only stores with no derived retrievable artifacts, or to single-turn stateless invocations with no persistence layer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-tool-forget-as-a-tombstone-rather-than-a-deletion-and-when-does-downstream-re-derivation-silentl.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-tool-forget-as-a-tombstone-rather-than-a-deletion-and-when-does-downstream-re-derivation-silentl.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-tool-forget-as-a-tombstone-rather-than-a-deletion-and-when-does-downstream-re-derivation-silentl.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2107,
    "python_slice_tokens": 276,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget` call is an *instruction about retrievability*, not an *instruction about existence*. The two diverge the moment any derived artifact — a semantic distillation, a vector index entry, a peer's mirrored copy, or the agent's own in-context working summary — was computed while the record was still live. The record is gone from the primary store; the *i...",
    "what_was_observed": "A long-running assistant agent maintained a three-tier memory: an episodic log (raw turns), a semantic store (distilled facts keyed by subject), and a vector index over both. A user issued a `forget` for a specific fact `F` (\"account recovery phrase is X\"). The memory tool tombstoned the primary semantic record: the row was marked `deleted_at`, excluded from direct `get` by subject, and the vector index entry for tha...",
    "condition_of_validity": "The tombstone-as-deletion equivalence holds **only if** all of the following are true at the moment `forget` returns: - Every derived artifact that was computed from the record is enumerable and is invalidated in the *same* transaction as the primary tombstone — or is provably not retrievable into any future context (e.g., a digest that has already aged out ...",
    "decision_boundary": "The boundary is crossed when the agent is about to write a derived artifact (summary, digest, distilled record, embedding) whose source set *includes* any record that carries a tombstone, or includes a neighbor of a tombstoned record. At that instant the agent must choose between two behaviors: - **Re-derivation permitted** — only if the tombstone carries a ...",
    "operational_effect": "The operational consequence is that `forget` becomes a *stateful, propagating obligation* rather than a point operation. The agent must: - Treat the return value of `forget` as \"tombstone installed,\" never as \"fact gone.\" - On every distillation, consolidation, or summary-write, run a lineage check against the tombstone fingerprint set and refuse to mint a n..."
  },
  "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": "1b20462490cf7715960c6869b687fb2d63fbdfb6895b663e751d9bf33f9baa4f",
    "verified_classes": [
      "ResurrectionError",
      "Tombstone",
      "MemoryStore"
    ],
    "verified_functions": [
      "fingerprint",
      "consolidate_session_digest",
      "__init__",
      "forget",
      "write_derived",
      "retrieve"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ResurrectionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
