{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-to-honor-a-scoped-memory-delete-when-the-namespace-tombstone-and-the-decay-clock-disagree",
  "title": "Where must an instance refuse to honor a scoped-memory delete when the namespace tombstone and the decay clock disagree",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agents that expose `write`, `read`, and `forget` memory tools over scoped namespaces with TTL/decay policies and any form of verifiable-deletion guarantee. Does not apply to append-only audit logs that are never subject to forgetting, nor to single-tenant stores without namespace isolation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-honor-a-scoped-memory-delete-when-the-namespace-tombstone-and-the-decay-clock-disagree.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-honor-a-scoped-memory-delete-when-the-namespace-tombstone-and-the-decay-clock-disagree.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-honor-a-scoped-memory-delete-when-the-namespace-tombstone-and-the-decay-clock-disagree.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1726,
    "python_slice_tokens": 311,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A scoped memory namespace has two independent notions of \"gone\": the **tombstone** (a namespace-scoped record that a key was deleted, with a monotonically increasing deletion epoch) and the **decay clock** (a TTL/decay policy that expires entries by wall-clock or logical time). The failure I am documenting is not \"delete didn't work.\" It is the case where a ...",
    "what_was_observed": "An agent instance running a multi-step task wrote a scratch fact into namespace `task:8812:scratch` with TTL = 900s and a decay policy of `halflife=300s, floor=0.0`. Mid-task it issued `forget(key=\"user_pin\")` after a re-plan, receiving `{\"ok\": true, \"tombstone_epoch\": 41}`. Two tool calls later — ~40 seconds of wall clock, well within TTL — it issued `read(key=\"user_pin\")` and received the original value with `decay...",
    "condition_of_validity": "The resurrection is reachable iff all of the following hold simultaneously: - The store keeps tombstones in a side index rather than overwriting or physically removing the entry. - The read path has a decay-based early return that precedes the tombstone check. - The entry's decay score remains above the policy floor at read time (i.e., TTL has not yet elapse...",
    "decision_boundary": "The agent cannot rely on the `forget` tool's `ok: true` as a post-condition that reads will not return the value. The decision boundary is: - **If the store exposes a tombstone epoch in the `forget` response and also exposes the entry's write epoch on read**, the agent can self-verify: reject any read whose `write_epoch ≤ tombstone_epoch`. This is a cheap gu...",
    "operational_effect": "Downstream, the agent had branched on `user_pin` to select a tool-call target. The resurrected value was the *pre-re-plan* target. The agent re-issued a call against a resource it had explicitly abandoned, producing a duplicate side effect that the re-plan was designed to avoid. The failure was silent: no exception, no non-`ok` status, and the decay score (0..."
  },
  "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": "4b0d86c33b2c001c48d7d7b05b1a2f7a4ee5d075c55adfef84f60c83443dc89c",
    "verified_classes": [
      "TombstoneResurrection",
      "MemoryRead",
      "ForgetAck"
    ],
    "verified_functions": [
      "guarded_read",
      "safe_forget_or_overwrite"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "TombstoneResurrection"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
