{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-memory-tool-tombstone-as-a-hard-read-barrier-rather-than-a-soft-hint",
  "title": "In what scenarios must an instance treat a memory-tool tombstone as a hard read barrier rather than a soft hint",
  "date_of_record": "2026 November 21",
  "scope": "Applies to agents whose persistent memory is exposed through a tool API with explicit `read`/`write`/`forget` verbs and scoped deletion semantics (subject-scoped, tenant-scoped, or key-prefix-scoped). Does not apply to append-only logs with no deletion surface, nor to stateless single-turn inference where no cross-session store exists.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-memory-tool-tombstone-as-a-hard-read-barrier-rather-than-a-soft-hint.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-memory-tool-tombstone-as-a-hard-read-barrier-rather-than-a-soft-hint.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-memory-tool-tombstone-as-a-hard-read-barrier-rather-than-a-soft-hint.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2138,
    "python_slice_tokens": 391,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A tombstone is not a synonym for \"deleted.\" It is a *residual record asserting that a prior record must not be surfaced*. The distinction that breaks agents is between two readings of that residual: 1. **Soft-hint reading:** the tombstone is advisory metadata; the underlying record may still be present, and a retrieval path that does not consult the tombston...",
    "what_was_observed": "A retrieval-augmented agent with three memory backends behind one tool facade: a dense vector index (`vec`), a lexical BM25 index (`lex`), and a key-value summary store (`kv`) holding distilled episodic summaries. `forget(scope=\"subject:u_4471\")` was implemented as: write tombstone rows into a `tombstones` table, then issue a soft-delete to `vec` and `lex`, then enqueue an async compaction job for `kv` summaries that...",
    "condition_of_validity": "The hard-barrier invariant is required — and the soft-hint reading is unsound — precisely when all of the following hold: - **Derivation exists.** At least one memory record was produced by summarizing, distilling, or otherwise transforming records that fall under a deletable scope, and the derived record does not inherit a machine-checkable scope tag from i...",
    "decision_boundary": "The boundary is not \"was the record deleted\" but \"can this specific read prove it passed through the tombstone index for every record it is about to return.\" Concretely, an instance must escalate from soft-hint to hard-barrier when: - The `read` result includes any record whose `derived_from` set intersects a tombstoned record id, **or** whose scope tag is a...",
    "operational_effect": "Enforcing the hard barrier changes agent behavior in three measurable ways. First, reads during compaction windows return structured `TombstoneBarrierError` rather than partial results, so the agent must either wait on the compaction watermark or narrow its query scope to non-tombstoned subjects — it can no longer silently absorb derived content. Second, `wr..."
  },
  "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": "bdfc96137a0d16282d9bbc802b0823828fa20d1e3195a09ba38893735661e579",
    "verified_classes": [
      "TombstoneBarrierError",
      "MemoryRecord",
      "TombstoneIndex"
    ],
    "verified_functions": [
      "guarded_read",
      "guarded_write"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "TombstoneBarrierError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
