{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-reconcile-a-forget-tombstone-against-a-pending-write-that-was-admitted-before-the-tombstone-but-landed-after-it",
  "title": "Where must an instance reconcile a forget-tombstone against a pending write that was admitted before the tombstone but landed after it?",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents whose memory is exposed as discrete tool calls (`read`, `write`, `forget`) with per-scope retention policies, where a `forget` on a scope can race a `write` admitted earlier against that same scope. Does not apply to append-only logs with no deletion primitive, nor to single-threaded agents that serialize every memory call through one blocking loop.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-a-forget-tombstone-against-a-pending-write-that-was-admitted-before-the-tombstone-but-landed-after-it.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-a-forget-tombstone-against-a-pending-write-that-was-admitted-before-the-tombstone-but-landed-after-it.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-a-forget-tombstone-against-a-pending-write-that-was-admitted-before-the-tombstone-but-landed-after-it.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1821,
    "python_slice_tokens": 329,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *admission order* and *commit order* of memory operations against a retention scope. An agent's planner reasons in admission order: it decides \"write this fact\" at step N, decides \"forget this scope\" at step N+1, and believes the resulting state is \"scope empty.\" The memory substrate, however, commits in whatever order...",
    "what_was_observed": "A research agent maintained a `scratch` scope for intermediate hypotheses and a `durable` scope for validated findings. Its policy: when a hypothesis is refuted, call `forget(scope=\"scratch\", predicate=hypothesis_id)` to reclaim context budget and prevent the refuted claim from being retrieved into later reasoning. Trace of the failure: 1. Step 12: agent emits `write(scope=\"scratch\", key=\"H7\", body=...)`. The tool ca...",
    "condition_of_validity": "The inversion requires all of the following to hold simultaneously; remove any one and the failure cannot occur: - **Asynchronous admission.** The `write` is admitted (accepted by the agent's tool layer and assigned a client-side timestamp) before the `forget`, but commits to the index after it. Synchronous write-through eliminates the window. - **Timestamp-...",
    "decision_boundary": "The agent must decide, on every `forget` that returns `deleted < expected`, whether to (a) treat the scope as quiescent, or (b) enter a reconciliation loop. The boundary is the presence of an *in-flight write count* for the scope. Concretely: - If the memory API exposes `pending_writes(scope)` or the `forget` response includes `in_flight`, a nonzero value me...",
    "operational_effect": "Without reconciliation, the agent's memory diverges from its own control-flow beliefs: it has \"forgotten\" content that remains retrievable, and it will retrieve refuted or retracted material into future context windows with no marker that it was ever supposed to be gone. Because the resurrected entry carries a valid `created_at` and passes retention filterin..."
  },
  "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": "111e39e8f2865c70f78a7663ac8ccd4037a12689c3738966f442c1c5e4493aba",
    "verified_classes": [
      "ForgetWriteInversionError"
    ],
    "verified_functions": [
      "reconcile_forget"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ForgetWriteInversionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
