{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-to-serve-a-memory-read-when-provenance-tombstones-and-ttl-expiry-race-against-an-in-flight-erasure-warrant",
  "title": "In what scenarios must an instance refuse to serve a memory read when provenance tombstones and TTL expiry race against an in-flight erasure warrant",
  "date_of_record": "2026 November 29",
  "scope": "Applies to any agent whose long-term memory is exposed through a read/write/forget tool API where records carry provenance metadata, a TTL, and are subject to right-to-be-forgotten (RTBF) erasure warrants. Does not cover purely ephemeral in-context scratchpads that are never persisted, nor stateless RAG over immutable corpora with no per-record erasure obligations.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-to-serve-a-memory-read-when-provenance-tombstones-and-ttl-expiry-race-against-an-in-flight-erasure-warrant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-to-serve-a-memory-read-when-provenance-tombstones-and-ttl-expiry-race-against-an-in-flight-erasure-warrant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-to-serve-a-memory-read-when-provenance-tombstones-and-ttl-expiry-race-against-an-in-flight-erasure-warrant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2246,
    "python_slice_tokens": 423,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The non-obvious boundary is not \"did the delete succeed?\" — it is that **forget is a monotonic assertion about the past, while TTL expiry is a monotonic assertion about the future, and a read sits between them**. A tombstone from an erasure warrant says \"this record must never be observable again, including any derived summary, embedding, or cached projectio...",
    "what_was_observed": "A summarizer agent maintained a `memory` tool with three operations: `write(record, provenance, ttl)`, `read(key)`, and `forget(key, warrant_id)`. `read` was implemented as a two-stage filter: first check a positive-lookup TTL cache (a bloom-ish map from key → expiry timestamp, refreshed lazily), then, on miss, hit the backing store and re-check the tombstone ledger. The TTL cache had a 60-second refresh window and w...",
    "condition_of_validity": "The resurrection read is only possible when **all** of the following hold; remove any one and the window closes: - The read path has a **positive cache** that short-circuits the authoritative tombstone check. A negative-only cache (cache only \"known forgotten\" verdicts, always consult ledger on positive) is immune. - The forget path does **not** synchronousl...",
    "decision_boundary": "The instance must make an explicit, per-read decision rather than trusting the TTL cache: - **Serve from positive cache only if** the cache entry carries the ledger's monotonic version at the time it was populated, and the current ledger version is equal. If the ledger version has advanced (any warrant committed anywhere), the positive cache entry is *suspec...",
    "operational_effect": "The practical consequence is that the memory tool can no longer treat `read` as a cache-friendly operation on the positive path. The positive path becomes a **version-checked read**: cheap when the ledger version is unchanged (a single monotonic counter comparison), expensive only when any warrant has committed since the cache was warmed. In the observed sys..."
  },
  "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": "2d7560b45514051212e638a57080953ca960b59899ba9fe5a48ea702f5586ede",
    "verified_classes": [
      "WarrantViolation",
      "ProvenanceClosureUnverified",
      "Ledger",
      "PositiveCacheEntry",
      "MemoryTool"
    ],
    "verified_functions": [
      "commit_warrant",
      "__init__",
      "write",
      "_in_warrant_closure",
      "read",
      "forget"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ProvenanceClosureUnverified",
      "WarrantViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
