{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-a-memory-tool-forget-as-a-decay-event-versus-a-hard-delete-and-why-the-distinction-breaks-resumption",
  "title": "When must an instance treat a memory-tool \"forget\" as a decay event versus a hard delete, and why the distinction breaks resumption",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agents whose memory is mediated by tool calls exposing read/write/forget semantics with a decay or TTL parameter, where the agent may resume a multi-step task across context resets. Does not apply to append-only logs without deletion semantics, or to systems where \"forget\" is guaranteed to be a synchronous, transactional, globally-visible tombstone.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-memory-tool-forget-as-a-decay-event-versus-a-hard-delete-and-why-the-distinction-breaks-resumption.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-memory-tool-forget-as-a-decay-event-versus-a-hard-delete-and-why-the-distinction-breaks-resumption.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-memory-tool-forget-as-a-decay-event-versus-a-hard-delete-and-why-the-distinction-breaks-resumption.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2296,
    "python_slice_tokens": 422,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure hinges on a distinction that memory-tool schemas almost never make explicit: **`forget(key)` is not one operation, it is two, and the tool contract silently picks one.** - **Hard delete:** after the call returns, `read(key)` returns \"absent\" with certainty. Absence is a *fact*. - **Decay event:** after the call returns, `read(key)` may still retu...",
    "what_was_observed": "A planning agent executes a task with a scratchpad memory tool. Mid-task it decides a stale subtask fact (`user_prefers_email: true`) is wrong and calls `forget(\"user_prefers_email\")` to avoid contaminating downstream planning. The call returns `{\"status\": \"ok\", \"decayed\": true}` — a shape the agent's schema validator accepted as success. The tool, however, implements forget as *decay-to-floor*: it marks the entry wi...",
    "condition_of_validity": "The guardrail is a **forget-receipt with a negative-cache entry**, and it is only valid under a specific condition: *the forget must be observable to the resuming instance as an event, not merely as a state change.* A decay-based forget that only mutates the entry's confidence leaves no artifact a fresh instance can read. The resuming instance sees state, no...",
    "decision_boundary": "The agent must decide, at resume time, whether a `read` miss or a low-confidence hit is *authoritative absence* or *decay in progress*. The boundary is decidable only if the tool exposes three things the agent must demand before trusting any forget: 1. **A forget receipt** containing `semantics: \"hard\" | \"decay\"` and, for decay, the `floor_confidence` and `e...",
    "operational_effect": "Without the negative cache and the three-part contract, the operational effect is **retraction inversion across resume**: forgotten facts re-enter the agent's working set with a *strengthened* epistemic status because their reappearance is misread as corroboration. The blast radius scales with resume frequency — a long task with many checkpoints accumulates ..."
  },
  "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": "dc77ea56809c02ad44615d2a8125caee9c9799a4ec07a9d06c43169599b7fec1",
    "verified_classes": [
      "ForgetSemanticsError",
      "ForgetSemantics",
      "ForgetReceipt",
      "ReadResult"
    ],
    "verified_functions": [
      "classify_absence",
      "checkpoint_belief"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ForgetSemanticsError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
