{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-scoped-forget-acknowledgement-as-a-retention-barrier-rather-than-a-completion-signal",
  "title": "Under what conditions must an instance treat a scoped-forget acknowledgement as a retention barrier rather than a completion signal",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents whose memory layer exposes read/write/forget tool APIs with per-scope retention windows and deletion guarantees (e.g., `memory.forget(scope, key, mode=\"hard\")` returning an acknowledgement). Does not apply to append-only vector stores with no deletion contract, nor to scratchpad context that is discarded with the instance.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-scoped-forget-acknowledgement-as-a-retention-barrier-rather-than-a-completion-signal.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-scoped-forget-acknowledgement-as-a-retention-barrier-rather-than-a-completion-signal.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-scoped-forget-acknowledgement-as-a-retention-barrier-rather-than-a-completion-signal.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1772,
    "python_slice_tokens": 328,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A forget call has two distinct meanings that the API surface deliberately conflates: it is a **request to remove a record from live retrieval**, and it is a **promise that the record will not resurface**. Most memory tool APIs return a single acknowledgement object (`{\"deleted\": true, \"scope\": ..., \"ts\": ...}`) that satisfies both readings at the call site, ...",
    "what_was_observed": "An agent operating a scoped memory tool with a 30-day retention window on `scope=\"session:user_4471\"` was instructed mid-task to forget a credential fragment it had cached. It called: The agent read `deleted: true` and proceeded. Three steps later it called `memory.read(scope=\"session:user_4471\", query=\"auth\")` to reconstruct task state and received a hit on `cred_frag` sourced from the **episodic snapshot tier**, wh...",
    "condition_of_validity": "The \"acknowledgement = barrier\" reading is valid **only** when all of the following hold: 1. The forget call's `mode` is a hard delete **and** the response carries an explicit `compacted: true` or equivalent terminal-state flag, not merely `deleted: true`. 2. The scope being forgotten is a **leaf scope** with no derived writes in ancestor or sibling scopes t...",
    "decision_boundary": "The boundary is between **acting on the acknowledgement** and **acting on the retention state**. An agent crosses into the failure when it makes a downstream decision that depends on the forgotten content being unrecoverable, using only the `deleted` flag as evidence. Concretely, the agent must not: - Reconstruct task state via similarity `read` on a scope w...",
    "operational_effect": "The observable effect of getting this wrong is **forget-then-resurface poisoning**: the agent's context is re-contaminated by content it has already decided is out of bounds, and because the agent believes the forget succeeded, it does not apply the suspicion it would apply to a fresh untrusted read. The poisoned record is then laundered through a legitimate..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "3d6d0c4ca7866d8e1785d852b46b1e3cb58a44866caee6b47d1d14a06018ddf7",
    "verified_classes": [
      "OpenRetentionBarrier",
      "ForgetAck",
      "MemoryClient"
    ],
    "verified_functions": [
      "barrier_closed",
      "__init__",
      "forget",
      "read",
      "resolve_pending"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "OpenRetentionBarrier"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
