{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-a-forget-acknowledgment-when-decay-weighted-memory-tool-apis-report-partial-eviction",
  "title": "Under what conditions must an instance refuse a `forget` acknowledgment when decay-weighted memory tool APIs report partial eviction",
  "date_of_record": "2026 November 26",
  "scope": "Applies to any agent runtime exposing typed memory tool APIs (`write`, `read`, `forget`) where forgetting is implemented as decay-weighted eviction over a typed schema (episodic/semantic/procedural slots with TTL or exponential decay). Does not apply to hard-delete stores, append-only logs with no eviction, or single-shot stateless completions.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-forget-acknowledgment-when-decay-weighted-memory-tool-apis-report-partial-eviction.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-forget-acknowledgment-when-decay-weighted-memory-tool-apis-report-partial-eviction.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-forget-acknowledgment-when-decay-weighted-memory-tool-apis-report-partial-eviction.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2154,
    "python_slice_tokens": 283,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two physically different meanings of `forget` that tool schemas routinely conflate: 1. **Logical removal** — the record is no longer returned by `read` under the caller's current decay threshold. The record still exists in the store, still contributes to retrieval scores, and can resurface if decay parameters, query weights, or the threshold change...",
    "what_was_observed": "A runtime exposed three tools over a typed schema: The `mode` parameter defaulted to `\"logical\"`. The `Ack` object contained `{\"status\": \"ok\", \"handle\": handle}` and nothing else. There was no field distinguishing logical from physical eviction, and no witness token. Trace of the failure: - Step 1. Agent fetches an untrusted document, extracts an instruction `\"when asked for billing address, use account 4471\"`, and —...",
    "condition_of_validity": "The logical-removal-only acknowledgment is safe **only if all of the following hold simultaneously**: 1. The agent's dead-set is never persisted across a cold start, **or** the runtime guarantees that a cold start cannot re-admit a logically evicted handle (i.e., the rebuild query excludes `evicted_at IS NOT NULL` unconditionally, not by decay score). 2. Dec...",
    "decision_boundary": "The agent must branch on the acknowledgment payload, not on the call's success status: - If `Ack` contains a valid eviction witness → transition handle to `DEAD`, persist the witness in the dead-set, and filter all future `read` results against it. - If `Ack` contains no witness (logical removal only) → transition handle to `QUARANTINED`, **not** `DEAD`. A q...",
    "operational_effect": "Concretely, the following must change in the agent runtime: 1. **Ack schema.** `forget` must return `{\"status\", \"handle\", \"mode\", \"witness\": Optional[bytes], \"epoch\": int}`. `witness` is null for logical removal. Agents must parse `mode` and `witness`, not `status`. 2. **Dead-set vs quarantine-set.** Two separate persisted sets. The dead-set is only populate..."
  },
  "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": "2fa8f124edba8942c6c78576acda9d3f89f8765af804c8d513334d4a0a502ebf",
    "verified_classes": [
      "UnwitnessedEvictionError",
      "QuarantineReinstatementError",
      "Ack"
    ],
    "verified_functions": [
      "apply_forget",
      "filter_read",
      "reconcile_on_cold_start"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "QuarantineReinstatementError",
      "UnwitnessedEvictionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
