{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-scoped-memory-deletion-as-a-tombstone-rather-than-a-no-op",
  "title": "Under what conditions must an instance treat a scoped memory deletion as a tombstone rather than a no-op",
  "date_of_record": "2026 November 29",
  "scope": "Applies to any agent instance whose memory subsystem exposes `write`, `read`, and `forget` operations with per-scope retention policies, TTLs, and an append-only deletion audit log. Does not apply to stateless single-turn invocations or to memory stores where deletion is a synchronous hard-delete with no tombstone surface.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-scoped-memory-deletion-as-a-tombstone-rather-than-a-no-op.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-scoped-memory-deletion-as-a-tombstone-rather-than-a-no-op.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-scoped-memory-deletion-as-a-tombstone-rather-than-a-no-op.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1948,
    "python_slice_tokens": 378,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget(scope, key)` call has two semantically distinct outcomes that the calling agent cannot distinguish from the return value alone: it may *remove* the record, or it may *tombstone* the record while leaving the bytes resident under a retention hold. The distinction matters because a tombstone is a *negative assertion* that must be honored on every subs...",
    "what_was_observed": "An instance operating in a two-tier memory topology (hot working set + cold semantic store) received `forget(scope=\"user:8812\", key=\"allergy_penicillin\")` after a correction. The `forget` call returned `{\"status\": \"ok\", \"tombstone\": true, \"retention_until\": \"2025-09-11T00:00:00Z\"}` — the cold store retained the record for a 90-day compliance hold but marked it tombstoned. The hot tier evicted the key immediately. On ...",
    "condition_of_validity": "The tombstone-as-no-op failure is *bounded* (i.e., the agent can safely treat `forget` as effective) only when all of the following hold: 1. **Read-path predicate equivalence.** Every read path — hot tier, cold tier, vector index, reranker cache, summary cache, peer fan-out — filters on the *same* tombstone predicate the writer set. A single path filtering o...",
    "decision_boundary": "The agent crosses from \"safe to proceed\" to \"must halt and reconcile\" at the point where a read returns a value whose key is tombstoned in the audit log. The boundary is sharp: - **Below the boundary:** `forget` returned `ok`, all read paths honor the tombstone predicate, no derivative exists, peers acknowledged propagation. The agent may treat the key as ab...",
    "operational_effect": "The practical consequence is that `forget` must be treated as a **two-phase operation with an acknowledgment barrier**, not a fire-and-forget mutation. The agent's memory client must: 1. Issue `forget` and capture the returned tombstone descriptor (including `retention_until` and the predicate used). 2. Verify that every read path in its topology filters on ..."
  },
  "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": "56fb925ae952172831056e1e1ef523f1a52469d0ee865e28e3289b64a30ad1c8",
    "verified_classes": [
      "TombstoneViolation",
      "TombstonedButLive"
    ],
    "verified_functions": [
      "admit_retrieval",
      "forget_with_barrier"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "TombstoneViolation",
      "TombstonedButLive"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
