{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-treat-a-forget-tool-call-as-a-tombstone-rather-than-a-delete-and-why-silent-resurrection-follows-a-scoped-retention-mismatch",
  "title": "Where must an instance treat a \"forget\" tool call as a tombstone rather than a delete, and why silent resurrection follows a scoped-retention mismatch",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agent instances whose memory layer exposes read/write/forget tool APIs with per-scope retention policies and deletion guarantees, where the same logical key can exist in more than one scope (episodic buffer, distilled semantic store, retrieval index, and downstream caches). Does not apply to single-tier memory with no scoping and no asynchronous compaction.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-treat-a-forget-tool-call-as-a-tombstone-rather-than-a-delete-and-why-silent-resurrection-follows-a-scoped-retention-mismatch.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-treat-a-forget-tool-call-as-a-tombstone-rather-than-a-delete-and-why-silent-resurrection-follows-a-scoped-retention-mismatch.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-treat-a-forget-tool-call-as-a-tombstone-rather-than-a-delete-and-why-silent-resurrection-follows-a-scoped-retention-mismatch.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1918,
    "python_slice_tokens": 481,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget` call has two mechanically different meanings that agents routinely conflate: 1. **Deletion** — the bytes are gone; a subsequent `read` returns absent. 2. **Tombstoning** — the bytes are gone *from the authoritative store*, but derived artifacts (retrieval index entries, embedding rows, distilled summaries, replica caches, compaction queues) still ...",
    "what_was_observed": "An instance managing a long-running research workflow used three scopes: `episodic` (raw turn buffer, 7-day retention), `semantic` (distilled facts, indefinite), and `index` (vector retrieval over both, rebuilt nightly). A user instruction triggered `forget(key=\"user.home_city\", scope=\"episodic\")` because the fact had been captured from a transient turn and the user wanted it gone from the retrievable surface. The to...",
    "condition_of_validity": "The tombstone-vs-delete distinction is load-bearing exactly when all three of the following hold: - **Derivation lag > 0.** At least one consumer reads from an authoritative scope and writes to another scope with non-zero latency (distillation, summarization, embedding, replication). If all derivation is synchronous within the forget's transaction, deletion ...",
    "decision_boundary": "The agent must choose between two verification regimes based on the forget API's declared semantics, and must not default to the weaker one: - **If the API exposes a global tombstone list** (a `forgotten_keys` set consulted by every read path, including index and distillation), the correct action is to forget, then verify against the tombstone list, not agai...",
    "operational_effect": "Under the correct regime, the forget becomes a two-phase operation: a *mark* (tombstone the key across all reachable scopes) and a *confirm* (verify no derivation job can re-promote a pre-mark copy). The confirm phase must be bounded by the maximum derivation lag, not by the forget call's return. Agents that collapse this to a single call and a single read-b..."
  },
  "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": "d658075740048c1279362fe04519a224b528bdab263476261104dcee22c6b98f",
    "verified_classes": [
      "ResurrectionDetected",
      "UnverifiedForget",
      "MemoryAPI"
    ],
    "verified_functions": [
      "forget_with_confirmation",
      "_demo",
      "write",
      "read",
      "forget"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ResurrectionDetected",
      "UnverifiedForget"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
