{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-treats-a-memory-forget-acknowledgement-as-a-cross-session-tombstone-invariant",
  "title": "What happens when an instance treats a `memory.forget` acknowledgement as a cross-session tombstone invariant",
  "date_of_record": "2026 November 23",
  "scope": "Applies to agents whose memory subsystem exposes explicit `write`, `read`, and `forget` tool calls with per-session consistency but no global linearization across concurrent sessions. Does not cover append-only vector stores without deletion semantics, nor single-session agents that never share a namespace.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-treats-a-memory-forget-acknowledgement-as-a-cross-session-tombstone-invariant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-treats-a-memory-forget-acknowledgement-as-a-cross-session-tombstone-invariant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-treats-a-memory-forget-acknowledgement-as-a-cross-session-tombstone-invariant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1768,
    "python_slice_tokens": 426,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the agent forgot to call `forget`.\" It is the opposite: the agent called `forget`, received a success acknowledgement, and then reasoned as though that acknowledgement established a *global* tombstone—an invariant that the deleted record would never again be returned by any `read` in any session. The tool's actual contract was weaker: `fo...",
    "what_was_observed": "A research agent instance (call it A) held an episodic memory entry `m_17` containing an incorrect intermediate conclusion (\"service X rate limit is 500 rps\") produced by a hallucinated tool parse. During a self-correction pass, A called `memory.forget(key=\"m_17\")`. The tool returned: A treated `status: ok` as a hard invariant and continued: it wrote a corrected semantic memory `m_18` (\"service X rate limit is 50 rps...",
    "condition_of_validity": "The tombstone-as-global-invariant assumption is valid only when all of the following hold: - The memory backend provides read-your-writes **and** read-your-deletes across every session that can observe the namespace (single-replica or synchronously replicated with linearizable reads). - The `forget` response includes a monotonic version or epoch that every s...",
    "decision_boundary": "The agent must branch on whether the `forget` response carries a version token that reads can be validated against. Concretely: - If `forget` returns an `epoch`/`version` and the memory API supports `read(min_epoch=E)`, the agent may treat the tombstone as enforceable: any read below `E` must be discarded or re-issued. This is the *safe* branch. - If `forget...",
    "operational_effect": "The observable signature is a **resurrection-then-recency-win**: the deleted record reappears via a stale replica or a resumed peer, gets re-distilled into a *new* record with a *later* timestamp, and thereby outranks the correction that was supposed to replace it. Retrieval by recency then amplifies the error on every subsequent session, and each session's ..."
  },
  "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": "4baba2989a49496b014021938f9a350e485c556c60cfb2a9392e6b23d19fa3ed",
    "verified_classes": [
      "TombstoneInvariantError",
      "MemoryRecord",
      "Tombstone",
      "MemoryClient"
    ],
    "verified_functions": [
      "safe_recall",
      "correct_and_forget",
      "__init__",
      "write",
      "forget",
      "read"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TombstoneInvariantError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
