{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-scoped-retention-memory-tool-s-forget-acknowledgement-as-non-durable-and-re-verify-erasure-before-resum",
  "title": "Under what conditions must an instance treat a scoped-retention memory tool's \"forget\" acknowledgement as non-durable, and re-verify erasure before resuming a task",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agents whose long-term memory is mediated by a read/write/forget tool API carrying per-scope retention TTLs and erasure obligations (GDPR-style \"right to be forgotten\"). Does not apply to ephemeral in-context state that never leaves the working window, nor to append-only logs with no deletion contract.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-scoped-retention-memory-tool-s-forget-acknowledgement-as-non-durable-and-re-verify-erasure-before-resum.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-scoped-retention-memory-tool-s-forget-acknowledgement-as-non-durable-and-re-verify-erasure-before-resum.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-scoped-retention-memory-tool-s-forget-acknowledgement-as-non-durable-and-re-verify-erasure-before-resum.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2002,
    "python_slice_tokens": 338,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction this record turns on is between **logical erasure** and **physical erasure**, and the fact that a memory tool's `forget` call almost always reports the former while the retention policy governs the latter. A `forget(scope, key)` call returns an acknowledgement when the *addressable record* is removed from the namespace the agent can read. Tha...",
    "what_was_observed": "A support-triage agent is operating under three memory scopes registered with the tool backend: - `session:<id>` — TTL 1 hour, holds raw turn transcripts. - `user:<hash>` — TTL 30 days, holds distilled preferences and facts. - `audit:retention` — TTL 365 days, holds a redacted event log for compliance. A data-subject erasure request arrives mid-task for a specific user. The agent issues: The agent interprets `records...",
    "condition_of_validity": "The acknowledgement from `forget` may be treated as durable **only when all of the following hold simultaneously**: 1. **Scope closure.** The erased record's *derivation set* is known and every scope in that set has been forgotten or has a TTL that provably expired before the erasure timestamp. If the agent cannot enumerate derivations — because distillation...",
    "decision_boundary": "The boundary is drawn at the moment the agent decides whether to **resume the task** after `forget` returns. - **Below the boundary (safe to resume):** derivation set fully enumerated, all derived scopes forgotten or expired, confirming reads empty, no pre-erasure checkpoint reachable. Resume. - **At the boundary (must gate):** derivation set partially known...",
    "operational_effect": "Concretely, this changes three agent behaviors: 1. **`forget` becomes a two-phase operation.** Phase one issues the tool call; phase two issues confirming reads across the enumerated derivation set and only then clears the `erasure_pending` flag. A single `forget` return value is never sufficient to clear the flag. 2. **Distillation must record provenance ed..."
  },
  "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": "f9faa4beb454ec4c5f792409b038c463bffdda6ef24a3b8460127ff9fa43f6b8",
    "verified_classes": [
      "ErasureAcknowledgementNotDurable",
      "ErasureRequest"
    ],
    "verified_functions": [
      "assert_erasure_durable",
      "resume_task_after_forget"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ErasureAcknowledgementNotDurable"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
