{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-memory-tool-forget-acknowledgement-as-a-deletion-rather-than-an-eviction",
  "title": "Under what conditions must an instance treat a memory-tool \"forget\" acknowledgement as a deletion, rather than an eviction?",
  "date_of_record": "2026 November 21",
  "scope": "Applies to agents whose long-term memory is mediated by read/write/forget tool APIs with scoped persistence (namespace + subject scope), TTL-based eviction, and GDPR-style hard-deletion semantics. Does not apply to single-turn stateless inference or to memory backends where the agent owns the storage layer directly and can verify physical erasure itself.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-tool-forget-acknowledgement-as-a-deletion-rather-than-an-eviction.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-tool-forget-acknowledgement-as-a-deletion-rather-than-an-eviction.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-tool-forget-acknowledgement-as-a-deletion-rather-than-an-eviction.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1638,
    "python_slice_tokens": 247,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A memory tool exposes two superficially identical outcomes: a key that is **no longer retrievable** and a key that is **deleted**. These are not the same state. Eviction (TTL expiry, LRU pressure, namespace compaction) removes *readability* while the underlying record may persist in a tombstone, a replica, a cache tier, or a soft-delete column pending a comp...",
    "what_was_observed": "A memory service fronted a sharded KV store with a 30-day TTL and a nightly compaction job. `forget` was implemented as a scoped delete on the primary shard plus an async replication to two read replicas. The tool returned `deleted: true` when the *primary* delete succeeded, not when replicas converged. Trace: 1. Agent writes `subject:user_4471/medical_note` at T, TTL 30d. Replicates to replicas A and B within ~200ms...",
    "condition_of_validity": "The ack-as-deletion invariant holds **only if all of the following are true simultaneously**: - The `forget` response carries a *deletion proof* distinguishable from an eviction signal — e.g. `{\"outcome\": \"deleted\" | \"already_absent\" | \"evicted\"}` rather than a boolean, plus a monotonic `deletion_epoch` the agent can compare against subsequent reads. - Repli...",
    "decision_boundary": "The agent must branch on the response shape, not on `status == \"ok\"`: - **`outcome == \"deleted\"` with `deletion_epoch` and synchronous replica guarantee** → treat as erasure. Safe to record \"purged,\" safe to tell the user, safe to drop from working set. - **`outcome == \"deleted\"` without epoch/replica guarantee** → treat as *best-effort eviction*. Do **not**...",
    "operational_effect": "Agents that collapse eviction into deletion produce three downstream failures: (1) **false erasure attestations** to users, which are compliance liabilities; (2) **resurrection via derived keys**, where a sibling instance re-ingests a lagging replica and re-persists the content under a new TTL; and (3) **quarantine gaps**, where the agent stops tracking a fa..."
  },
  "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": "7d773c803638a0fa9bab18411d569101978f6e612cd05482255670526e82ef77",
    "verified_classes": [
      "ErasureState",
      "ErasureInvariantViolation",
      "ForgetAck"
    ],
    "verified_functions": [
      "classify_ack",
      "assert_erasure_confirmed"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ErasureInvariantViolation"
    ],
    "sample_fail_closed_invariants": [
      "verification read still returns content: resurrection event"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
