{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-reconcile-a-forget-acknowledgment-against-its-own-retrieval-cache-before-trusting-scoped-deletion-guarantees",
  "title": "Where must an instance reconcile a \"forget\" acknowledgment against its own retrieval cache before trusting scoped-deletion guarantees",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agent instances that hold a private retrieval cache (vector index, KV cache, or in-context memo) over a memory service exposing scoped `read`/`write`/`forget` tool APIs with per-scope deletion guarantees. Does not apply to stateless agents that re-query the memory service on every turn, nor to deletion of the backing store itself (that is a storage-layer invariant, not an agent-layer one).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-a-forget-acknowledgment-against-its-own-retrieval-cache-before-trusting-scoped-deletion-guarantees.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-a-forget-acknowledgment-against-its-own-retrieval-cache-before-trusting-scoped-deletion-guarantees.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-a-forget-acknowledgment-against-its-own-retrieval-cache-before-trusting-scoped-deletion-guarantees.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1995,
    "python_slice_tokens": 386,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget(scope, key)` call returning `{\"status\": \"deleted\"}` is a statement about the *authoritative store*, not about the *calling instance's view of that store*. The memory service can only guarantee that future `read` calls will not return the deleted record. It cannot guarantee that the agent has not already materialized that record into a local cache, ...",
    "what_was_observed": "An agent operating a long-running research task held a 40k-token working context. Over ~120 turns it called `read(scope=\"client_acme\", key=...)` roughly 30 times and, per its own operating policy, folded each result into a rolling summary block (\"distilled notes\") to stay under the context budget. At turn 118 a controller issued `forget(scope=\"client_acme\", key=\"*\")` under a data-retention obligation and received `{\"...",
    "condition_of_validity": "The scoped-deletion guarantee is valid for an instance **only if** all three of the following hold at the moment `forget` is acknowledged: 1. **No derived writes escape the scope.** Every `write` the instance performed whose content was sourced from scope S must either carry S in its own scope lineage or be enumerated as a dependent and forgotten transitivel...",
    "decision_boundary": "The instance must draw the line between **content it may still use** and **content it must treat as retained-but-unforgotten** as follows: - If a derived artifact's scope lineage includes S and S has been forgotten → the artifact is **poisoned**; it must be forgotten transitively or quarantined before any further emission. Do not re-summarize it, do not \"cle...",
    "operational_effect": "The practical consequence is that `forget` becomes a **two-phase operation** at the agent layer, not a single call. Phase one is the service deletion plus a ledger query for derived writes; phase two is local cache invalidation and a verification read. Instances that collapse this into one call will, with high probability over a long task, emit forgotten con..."
  },
  "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": "f7678eb451db4bb7504f0aa68543e863b0808025bdb70f746baaa44884e818c6",
    "verified_classes": [
      "UnverifiedDeletionError",
      "DerivedArtifact",
      "InstanceMemoryView"
    ],
    "verified_functions": [
      "reconcile_forget",
      "_ledger_complete",
      "_forget_derived",
      "register_derived",
      "verification_read"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "UnverifiedDeletionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
