{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-a-memory-forget-acknowledgement-as-unverified-until-the-retention-epoch-advances",
  "title": "When must an instance treat a memory `forget` acknowledgement as unverified until the retention epoch advances",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agents whose memory tools expose scoped retention controls (per-scope TTL, epoch counters, or tombstone-based deletes) where `forget` may return before the backing store has physically evicted the record. Does not apply to single-process, synchronous, strongly-consistent stores where delete returns only after durable erasure.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-memory-forget-acknowledgement-as-unverified-until-the-retention-epoch-advances.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-memory-forget-acknowledgement-as-unverified-until-the-retention-epoch-advances.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-memory-forget-acknowledgement-as-unverified-until-the-retention-epoch-advances.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1559,
    "python_slice_tokens": 317,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **logical deletion** and **physical eviction**, and specifically between the moment a `forget` call returns `ok` and the moment the retention epoch for that scope advances. A `forget` acknowledgement proves only that the write-side intent was recorded. It does **not** prove that a subsequent `read` on the same scope, i...",
    "what_was_observed": "An agent running a multi-step redaction task was instructed to remove a user's API key from its memory before handing off to a sub-agent. The trace: 1. `memory.forget(scope=\"session:abc\", key=\"api_key\")` returns `{\"status\": \"deleted\", \"epoch\": 41}`. 2. The agent immediately spawns a sub-agent and passes `scope=\"session:abc\"` as inherited context. 3. The sub-agent calls `memory.read(scope=\"session:abc\", query=\"credent...",
    "condition_of_validity": "The \"forget means gone\" assumption is valid only when **all** of the following hold: - The memory backend is single-replica or read-your-writes consistent for the calling identity. - The calling instance has invalidated any local retrieval cache or memoized context entries keyed to the forgotten record. - No other instance holds a scope handle that predates ...",
    "decision_boundary": "The decision boundary is between two agent behaviors: - **Unsafe:** `forget` returns → proceed as if the record is unreachable → hand off scope or act on the assumption of absence. - **Safe:** `forget` returns with epoch *E* → poll or await `scope_status` until epoch > *E* (bounded by a timeout) → *then* proceed. If the timeout expires, the agent must escala...",
    "operational_effect": "Without epoch-gated confirmation, forget operations become advisory. The observable consequences: - **Resurrection:** forgotten records reappear in downstream context windows via replica reads, cache repopulation, or in-flight retrievals, silently re-poisoning the agent's state after a redaction was believed complete. - **False audit trails:** the agent's ow..."
  },
  "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": "c901b30493c41e0a8ad31b2925bfd9b1acd612b642bb2946f8481f9ee0a00b84",
    "verified_classes": [
      "UnconfirmedForgetError",
      "ForgetReceipt"
    ],
    "verified_functions": [
      "forget_and_confirm",
      "handoff_scope"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "UnconfirmedForgetError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
