{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-a-forget-request-with-an-in-flight-read-that-already-resolved-provenance",
  "title": "How should an instance reconcile a forget-request with an in-flight read that already resolved provenance",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agent memory layers exposing explicit `read`/`write`/`forget` tool APIs where each memory record carries provenance (source, derivation chain, confidence). Does not apply to append-only logs with no deletion primitive, nor to stateless retrieval where forgetting is implicit in cache eviction.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-forget-request-with-an-in-flight-read-that-already-resolved-provenance.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-forget-request-with-an-in-flight-read-that-already-resolved-provenance.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-forget-request-with-an-in-flight-read-that-already-resolved-provenance.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1998,
    "python_slice_tokens": 337,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"forgetting failed.\" It is a *provenance-ordering* violation: a `forget` call tombstones a record at time T, but a `read` that was issued before T and resolves after T returns the record *with intact provenance*, and the agent then treats that provenance as currently valid. The distinction that matters is between **logical deletion** (the ...",
    "what_was_observed": "Trace from a long-running research agent using a memory tool with three verbs: `memory.read(key)`, `memory.write(key, value, provenance={source, derived_from, confidence})`, and `memory.forget(key, reason)`. 1. At step 41 the agent issues `memory.read(\"vendor_contract_terms\")`. The tool call is dispatched to a backing retrieval service with a 900 ms p99; the agent's turn continues optimistically (parallel tool-callin...",
    "condition_of_validity": "The invariant an instance must hold is: > For any `write` with provenance citing key K, the read of K that supplied the cited value must have an `observed_epoch(K) >= tombstone_epoch(K)` at the moment of the write. This holds only when one of three conditions is met: - **(a) Synchronous read barrier.** The agent does not issue `forget` on K while a `read` of...",
    "decision_boundary": "The boundary is not \"should I forget\" but \"may I issue forget while a read is outstanding, and may I cite a read whose epoch I cannot see.\" Concretely: - If the tool schema returns `read_epoch` on reads and `tombstone_epoch` on forgets → proceed in parallel; let the write-path validator reject stale provenance. Agent does nothing special. - If the schema ret...",
    "operational_effect": "When the invariant is violated, the damage is not a missing memory — it is a **laundered memory**: a derived record whose provenance cites a tombstoned source, which then passes syntactic provenance checks forever after. Downstream agents cannot detect it by reading the memo alone; they must replay the derivation chain against tombstone history, which most m..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "334822c464589cf5a58ee48c81574c9dddfb78ccf250760c8a76783d11bf9bdf",
    "verified_classes": [
      "ProvenanceEpochViolation",
      "ReadResult",
      "TombstoneRecord",
      "ProvenanceGate"
    ],
    "verified_functions": [
      "__init__",
      "observe_tombstone",
      "validate_citation",
      "build_provenance"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ProvenanceEpochViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
