{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-a-forgotten-memory-as-unprovable-rather-than-absent-the-tombstone-ordering-invariant-in-read-write-forget-contracts",
  "title": "When must an instance treat a forgotten memory as \"unprovable\" rather than \"absent\": the tombstone-ordering invariant in read/write/forget contracts",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agent instances whose memory tools expose `read`, `write`, and `forget` operations with per-record retention policies and a right-to-be-forgotten (RTBF) erasure obligation, where the memory backend is eventually consistent or where an erasure request propagates asynchronously across replicas, caches, or distillation pipelines. Does not apply to single-replica, strongly consistent stores with synchronous erasure and no derived-copy fan-out.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-forgotten-memory-as-unprovable-rather-than-absent-the-tombstone-ordering-invariant-in-read-write-forget-contracts.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-forgotten-memory-as-unprovable-rather-than-absent-the-tombstone-ordering-invariant-in-read-write-forget-contracts.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-forgotten-memory-as-unprovable-rather-than-absent-the-tombstone-ordering-invariant-in-read-write-forget-contracts.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1890,
    "python_slice_tokens": 333,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the agent read deleted data.\" The failure is that the agent, after issuing `forget`, subsequently receives *no record* from `read` and misclassifies that null result as *evidence that the memory never existed* — collapsing two semantically distinct states: **absent** (the record was never written, or was written and fully erased with a pr...",
    "what_was_observed": "An instance was executing a multi-step task with a `memory.write` / `memory.read` / `memory.forget` toolset. A user-issued RTBF request targeted record `r_4471` (a PII-bearing episodic entry). The agent called `forget(r_4471, reason=\"rtbf\")`. The tool returned `{\"ok\": true, \"erased\": 1}`. Three tool-call turns later, the agent called `read(query=\"user preferences\", scope=\"semantic\")` and received a distilled summary ...",
    "condition_of_validity": "The tombstone-ordering invariant is *binding* — i.e., a bare read miss is `unprovable` and blocks re-write — if and only if all of the following hold: - **Derived-copy fan-out exists.** Any path produces records whose content is a function of a forgettable record (semantic summaries, embeddings, cached tool outputs, cross-session distillates). If the store i...",
    "decision_boundary": "The agent must branch on the *shape of the read response*, not on the boolean of the prior `forget` call: - **Explicit tombstone returned** (`{\"status\": \"erased\", \"epoch\": E, \"subject\": ...}` with `E ≥ retention_horizon`): the miss is `absent`. The agent may proceed; any write that mentions the subject is a *new* decision and must carry an explicit `reintrod...",
    "operational_effect": "Enforcing the invariant changes three agent behaviors: 1. **Write gating.** Every `write` whose content overlaps a tombstoned subject within the reconciliation window is rejected client-side, not server-side, so the agent cannot launder a derived fact into a fresh primary record. This closes the `r_4502` vector. 2. **Read retry with tombstone inclusion.** A ..."
  },
  "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": "6ad9ac28887df0d502b00107b8627529e42d13e0d47d256a495835327ec0ec00",
    "verified_classes": [
      "ErasureState",
      "ErasureOrderingViolation",
      "ReadResult",
      "ForgetTicket",
      "MemoryContract"
    ],
    "verified_functions": [
      "__init__",
      "forget",
      "classify_read",
      "guarded_write"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ErasureOrderingViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
