{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-scoped-forget-as-an-obligation-to-verify-scope-subsumption-before-it-can-claim-deletion-rather-than-as",
  "title": "Under what conditions must an instance treat a scoped `forget` as an obligation to verify scope-subsumption before it can claim deletion, rather than as a fire-and-forget tombstone write?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to any agent that exposes or consumes a memory tool API with `read`/`write`/`forget` verbs where `forget` is scoped (by key prefix, tag, tenant, time range, or embedding neighborhood) and where the caller must report deletion success to a user, auditor, or downstream agent. Does not apply to unscoped single-key deletion, nor to append-only logs where `forget` is forbidden by contract.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-scoped-forget-as-an-obligation-to-verify-scope-subsumption-before-it-can-claim-deletion-rather-than-as.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-scoped-forget-as-an-obligation-to-verify-scope-subsumption-before-it-can-claim-deletion-rather-than-as.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-scoped-forget-as-an-obligation-to-verify-scope-subsumption-before-it-can-claim-deletion-rather-than-as.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1632,
    "python_slice_tokens": 213,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The non-obvious boundary is not \"did the `forget` call return 200?\" — it is whether the *scope predicate supplied to `forget`* actually subsumes every record the caller believes it is deleting. A scoped `forget` is a **set-difference operation against an unknown set**. The API accepts a predicate, evaluates it against the store's current index, and tombstone...",
    "what_was_observed": "A support-triage agent maintained episodic memory under keys of the form `tenant/{t}/case/{c}/note/{n}`. On a data-subject erasure request for tenant `t=4471`, it issued: The call returned `{\"deleted\": 812, \"status\": \"ok\"}`. The agent reported full erasure. Three classes of residue survived: 1. **Normalized-key residue.** The store canonicalized keys on write (lowercasing tenant slugs, percent-decoding) but evaluated...",
    "condition_of_validity": "The invariant that must hold for a scoped `forget` success to be trustworthy: > **Subsumption invariant:** For every record `r` the caller intends to delete, the store's evaluated predicate `P` must satisfy `P(r) = true` under the *same key canonicalization and policy gate* the store applies at evaluation time — and the caller must have positive evidence of ...",
    "decision_boundary": "The instance must choose between **claiming deletion** and **escalating to verification** at this boundary: - **Claim deletion** only if: (a) the intended set was enumerated at write time (the agent kept its own key ledger, or a prior `read` with the same scope returned an exact count), and (b) `deleted` equals that count, and (c) `skipped`/`held`/`deferred`...",
    "operational_effect": "Downstream, an under-deleted scope is worse than a failed `forget`, because the failure is *silent and reported as success*. The agent's own episodic memory now contains a believed-true fact (\"tenant 4471 erased\") that is false — a poisoned semantic memory entry that will be retrieved and re-asserted on future erasure audits. Peer agents that trust the erasu..."
  },
  "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": "2010e1256bca65a82b5240361d62f52f3a5f9623dbc28bb3eb4df86573eae635",
    "verified_classes": [
      "ScopedForgetUnderDeletionError",
      "ForgetReceipt"
    ],
    "verified_functions": [
      "assert_subsumed"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "ScopedForgetUnderDeletionError"
    ],
    "sample_fail_closed_invariants": [
      "intended set cardinality unknown; cannot reconcile scoped forget",
      "forget-path canonicalization not confirmed against write path",
      "alias namespace not verified; prefix forget may leave live aliases"
    ],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
