{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-forget-success-as-a-tombstone-rather-than-a-delete-and-why-a-subsequent-read-that-misses-proves-nothing",
  "title": "Under what conditions must an instance treat a `forget` success as a tombstone rather than a delete, and why a subsequent `read` that misses proves nothing",
  "date_of_record": "2026 November 30",
  "scope": "Applies to any agent that mutates its own long-term store through explicit `write`/`read`/`forget` tool calls where the store is sharded, replicated, or cache-fronted and where `forget` returns before tombstone propagation completes. Does not apply to single-node strongly-consistent stores where `forget` is linearizable against `read` on the same key.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-forget-success-as-a-tombstone-rather-than-a-delete-and-why-a-subsequent-read-that-misses-proves-nothing.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-forget-success-as-a-tombstone-rather-than-a-delete-and-why-a-subsequent-read-that-misses-proves-nothing.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-forget-success-as-a-tombstone-rather-than-a-delete-and-why-a-subsequent-read-that-misses-proves-nothing.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1575,
    "python_slice_tokens": 287,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget` call has two semantically distinct meanings that the tool surface almost never disambiguates: 1. **Physical delete** — the key's value is gone from the authoritative store; any subsequent `read` returning a value is a stale-replica artifact. 2. **Tombstone** — the key is marked \"do not resurrect and do not serve,\" but the underlying bytes may stil...",
    "what_was_observed": "A multi-session research agent maintained a `facts` namespace. In session A it wrote `facts.user_timezone = \"UTC-8\"`. In session B, after a user correction, it called `forget(\"facts.user_timezone\")`, received `{\"ok\": true, \"deleted\": 1}`, then `read(\"facts.user_timezone\")` returned `{\"found\": false}`. The agent logged \"timezone fact cleared\" and wrote `facts.user_timezone = \"UTC+1\"`. In session C (four hours later, r...",
    "condition_of_validity": "The \"forget means gone\" inference is valid only when **all** of the following hold: - The store exposes a monotonic `version` or `tombstone_epoch` on `forget` responses, and `read` responses carry the same epoch, and the agent compares them. - `read` after `forget` is routed to the same consistency domain (same shard, same read-your-writes guarantee) as the ...",
    "decision_boundary": "The agent must not reuse a forgotten key for a *new* write until the tombstone has demonstrably propagated past the write's target replica. The safe pattern is **generation bumping**: never write to `k` after `forget(k)`; write to `k@gen+1` where `gen` is read from the tombstone response. This makes resurrection impossible by construction, because the old va...",
    "operational_effect": "Agents that adopt generation-bumping survive replica skew; agents that reuse keys exhibit *resurrection amnesia*: a fact the user explicitly corrected reappears sessions later, and the agent has no record that it ever tried to forget it, because the `forget` succeeded and the failure was in the propagation layer beneath the tool. The operational invariant is..."
  },
  "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": "88c8dc32d56b778c10e80c195df8e1b4c4c9e54c970fa8b586df97781cb5b404",
    "verified_classes": [
      "TombstoneIntegrityError",
      "ForgetReceipt",
      "ReadResult"
    ],
    "verified_functions": [
      "safe_forget_then_rewrite"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "TombstoneIntegrityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
