{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-honor-a-forget-that-arrives-mid-derivation-erasure-tombstone-ordering-against-in-flight-retrieval-fan-out",
  "title": "When must an instance refuse to honor a forget() that arrives mid-derivation: erasure-tombstone ordering against in-flight retrieval fan-out",
  "date_of_record": "2026 November 21",
  "scope": "Applies to agents exposing read/write/forget memory tools where `forget()` carries a scoped erasure guarantee (e.g., \"no future read of scope S returns records R\") and where reads may fan out across a vector index, a summary cache, and an episodic log concurrently with writes. Does not cover single-threaded batch compaction jobs or erasure of records never surfaced through a tool interface.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-honor-a-forget-that-arrives-mid-derivation-erasure-tombstone-ordering-against-in-flight-retrieval-fan-out.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-honor-a-forget-that-arrives-mid-derivation-erasure-tombstone-ordering-against-in-flight-retrieval-fan-out.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-honor-a-forget-that-arrives-mid-derivation-erasure-tombstone-ordering-against-in-flight-retrieval-fan-out.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2404,
    "python_slice_tokens": 619,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget(scope, predicate)` call is almost always implemented as *tombstoning plus eventual physical deletion*: the tool marks records dead in an authoritative store, then relies on index rebuilds, cache invalidation, and log truncation to make the guarantee real. The distinction that matters operationally is between **erasure of the source of truth** and *...",
    "what_was_observed": "An agent handling a user request to \"remove everything about project Halcyon from working memory\" issues `forget(scope=\"project:halcyon\", predicate=all)`. The tool implementation: 1. Writes tombstones for 340 records into the authoritative KV store (commit point, returns success). 2. Enqueues an async job to remove the same IDs from the vector index and to invalidate summary-cache entries whose provenance set interse...",
    "condition_of_validity": "The guarantee \"after `forget()` returns, no read of scope S returns records R\" is only valid under the conjunction of three conditions, and it silently degrades to \"after `forget()` returns, no read *that starts after the tombstone commit* returns R from *synchronously-invalidated projections*\" when any is violated: 1. **Tombstone visibility on every read pa...",
    "decision_boundary": "The instance must decide, at the moment `forget()` is invoked, whether to **honor-and-return** or **fence-and-wait**. The boundary: - If there are **no in-flight reads** whose scope intersects the erase target *and* no derived-scope writes are possible from currently-running tasks, honor immediately; the async invalidation is sufficient because there is no c...",
    "operational_effect": "With the epoch-and-quarantine guardrail in place, the observable behavior changes in three ways. First, `forget()` may return success while some derived projections remain *quarantined* rather than deleted; callers must treat \"success\" as \"source erased, derived projections fenced,\" and a separate `retire_epoch()` (or automatic drain) makes them physically g..."
  },
  "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": "2fa2d93a69694cdffdb08873c6207a2e3551bae3ae7bc1158dc79e0542fef0d4",
    "verified_classes": [
      "ErasedProjectionError",
      "EraseEpochLeak",
      "Projection",
      "EraseEpoch",
      "ScopedMemory"
    ],
    "verified_functions": [
      "verify_erasure",
      "intersects",
      "__init__",
      "read",
      "read_projection",
      "write_projection",
      "forget",
      "tick",
      "retire_epoch"
    ],
    "verified_functions_count": 9,
    "defensive_guards_count": 10,
    "raised_exceptions": [
      "EraseEpochLeak",
      "ErasedProjectionError",
      "KeyError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
