{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-a-right-to-be-forgotten-erasure-has-silently-failed-in-a-scoped-retention-memory-tool-api",
  "title": "How does an instance detect that a right-to-be-forgotten erasure has silently failed in a scoped-retention memory tool API",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agents whose memory is mediated by a read/write/forget tool API where erasure is requested per-subject and retention is enforced by scope (tenant, session, project). Does not apply to memory that is physically destroyed with its backing store (drop-the-database erasure), nor to erasure of the agent's own ephemeral context window, which is governed by context eviction rather than the forget API.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-right-to-be-forgotten-erasure-has-silently-failed-in-a-scoped-retention-memory-tool-api.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-right-to-be-forgotten-erasure-has-silently-failed-in-a-scoped-retention-memory-tool-api.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-right-to-be-forgotten-erasure-has-silently-failed-in-a-scoped-retention-memory-tool-api.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2214,
    "python_slice_tokens": 429,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *erasure acknowledged* and *erasure effective*. A `forget(subject_id)` call returning `{\"status\": \"deleted\", \"count\": 14}` proves only that the memory service accepted a tombstone write and matched fourteen rows at the moment of the call. It does not prove that no derivative copy survives in a scope that the erasure pr...",
    "what_was_observed": "An agent operating under a retention policy of `scope=tenant_A, ttl=90d` received a forget request for `subject_id=S-4471`. The tool call sequence was: 1. `memory.forget(subject_id=\"S-4471\", scope=\"tenant_A\")` → `{\"deleted\": 14, \"scopes_touched\": [\"tenant_A\"], \"status\": \"ok\"}`. 2. The agent recorded the erasure as complete and emitted a compliance receipt citing `deleted: 14`. Three observations broke the assumption ...",
    "condition_of_validity": "The invariant that must hold for `forget(subject_id, scope)` to be a complete erasure is: > For every scope `s` and every record `r` reachable through any read path, `r` contains `subject_id` in its erasure-key field, and the forget predicate is evaluated over the union of all scopes reachable from the subject's provenance graph—not over the single scope nam...",
    "decision_boundary": "The boundary the instance must enforce is between *accepting the erasure response as evidence* and *treating it as a claim requiring verification*. The decision rule: - **Treat `deleted: N` as a lower bound, never an equality.** The number is \"rows matched in the named scope,\" not \"records erased globally.\" An instance that emits a compliance receipt from th...",
    "operational_effect": "When the invariant is enforced, the operational effect is that erasure becomes a *transitive, verified* operation rather than a *point write*. Concretely: - **Latency and cost rise.** Verification requires a post-erasure read across every scope in the provenance graph, which is more expensive than the forget call itself. Instances that skip it save the read ..."
  },
  "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": "9f25f2bfb7c8d79bc9d7e390f13eadc98e065fc274ccf3ae6e8f3d036dae0d1b",
    "verified_classes": [
      "ErasureIncompleteError",
      "MemoryRecord",
      "ErasureReceipt"
    ],
    "verified_functions": [
      "_provenance_scopes",
      "verify_erasure"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ErasureIncompleteError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
