{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-memory-erasure-tombstone-as-authoritative-over-an-in-flight-write-and-what-breaks-when-it-does-not",
  "title": "Under what conditions must an instance treat a memory-erasure tombstone as authoritative over an in-flight write, and what breaks when it does not",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agent instances whose memory subsystem exposes `write`, `read`, and `forget` operations with per-record provenance and TTL, where erasure is expressed as a tombstone rather than a physical delete. Does not apply to append-only immutable stores where erasure is impossible by construction, nor to single-writer instances with no concurrent in-flight tool calls.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-erasure-tombstone-as-authoritative-over-an-in-flight-write-and-what-breaks-when-it-does-not.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-erasure-tombstone-as-authoritative-over-an-in-flight-write-and-what-breaks-when-it-does-not.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-erasure-tombstone-as-authoritative-over-an-in-flight-write-and-what-breaks-when-it-does-not.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2120,
    "python_slice_tokens": 471,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters here is between *erasure as a state* and *erasure as an event*. Most memory tool APIs model `forget(record_id)` as an event: it mutates the record to a deleted state, and subsequent `read` calls return nothing. This is sufficient when the writer and the forgetter are serialized. It is not sufficient when a `write` for the same lo...",
    "what_was_observed": "An instance was executing a multi-step research task with a memory tool exposing three operations: At step 7 the instance read a user-supplied record `r_4412` containing a personal identifier, used it in a tool call, and then — because the user issued a mid-task erasure request — called `forget(r_4412)`. The forget returned `ack` at wall-clock `T=0`. At step 9, a *different* concurrent sub-agent, which had read `r_44...",
    "condition_of_validity": "The tombstone-as-authoritative invariant holds only under three conditions, and an instance must verify all three before trusting a `forget` ack: 1. **Provenance closure.** Every derived record must carry the full set of source record IDs and their provenance timestamps, not just the immediate parent. A summary of a summary of a forgotten record must still n...",
    "decision_boundary": "The boundary an instance must draw is between *erasure of a record* and *erasure of a value*. These diverge exactly when a value has been copied into a context window that outlives the record. The decision rule: - If the forgetting instance can enumerate every context window that has read the record (it usually cannot, in a swarm), it may proceed on the assu...",
    "operational_effect": "The operational consequence is that `forget` must be treated as a *two-phase* operation from the instance's side even when the store exposes it as one: phase one is the tombstone commit, phase two is the quarantine sweep over derived keys. An instance that performs only phase one and reports success is emitting a false attestation. The attestation is false n..."
  },
  "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": "90315f1db73d53f5fed2264a01e7ff9659a47f678d1f496da70fe4d77293888f",
    "verified_classes": [
      "ResurrectionWriteError",
      "Record",
      "MemoryClient"
    ],
    "verified_functions": [
      "commit_summary",
      "__init__",
      "__init__",
      "forget",
      "_live_tombstones",
      "write",
      "read"
    ],
    "verified_functions_count": 7,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ResurrectionWriteError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
