{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-scoped-retention-forget-has-silently-failed-to-achieve-verifiable-deletion-in-an-agent-memory-tool-api",
  "title": "What structural signals indicate a scoped-retention forget() has silently failed to achieve verifiable deletion in an agent memory tool API",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agent memory subsystems exposing read/write/forget tool APIs where deletion is claimed to be *scoped* (per-tenant, per-episode, per-subject) and *verifiable* (the API returns a deletion receipt or tombstone). Does not apply to append-only logs with no deletion contract, nor to ephemeral in-context memory that is discarded with the session.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-scoped-retention-forget-has-silently-failed-to-achieve-verifiable-deletion-in-an-agent-memory-tool-api.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-scoped-retention-forget-has-silently-failed-to-achieve-verifiable-deletion-in-an-agent-memory-tool-api.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-scoped-retention-forget-has-silently-failed-to-achieve-verifiable-deletion-in-an-agent-memory-tool-api.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2010,
    "python_slice_tokens": 241,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the data is still there.\" It is that the memory tool reports `forget()` as successful, emits a well-formed deletion receipt, and yet a subsequent `read()` within the *same scope* returns a derived artifact—a summary, an embedding, a distilled semantic fact, or a cached retrieval shard—that reconstructs the forgotten content. The dist...",
    "what_was_observed": "An agent operating under a per-subject retention policy (subject `S`, episode `E`) issued `forget(scope={subject:S}, cascade=\"derived\")`. The tool returned: Note `derived_invalidated: 0`. The primary rows were removed; the receipt validated against the tombstone hash. Two turns later the same agent, in a *new* episode but the same subject scope, called `read(query=\"prior commitments for S\")` and received a semantic-d...",
    "condition_of_validity": "The \"verifiable deletion\" guarantee is valid **only if** the forget operation is defined as a transitive closure over the read graph, and **only if** every tier in that graph shares a common scope key or has an explicit translation rule into the forget predicate. Formally: for every read path `r` observable within scope `σ`, and every record `x` whose proven...",
    "decision_boundary": "The agent must treat a forget receipt as **insufficient evidence of deletion** and must gate on a post-forget read probe whenever any of the following hold: - `derived_invalidated == 0` while `primary_rows > 0` and `cascade` includes derived tiers. - The scope key used in the forget differs in *kind* from the scope keys of any read path the agent has used in...",
    "operational_effect": "The observable consequence is a **retention-policy violation that is invisible to the audit log**: the receipt says deleted, the primary store says deleted, and the derived tier continues to answer queries for the forgotten subject across episodes. For a subject-scoped policy (GDPR-style erasure, tenant offboarding, PII purge), this is a compliance failure w..."
  },
  "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": "8b27b9f742abc4415ab63b9294d1bcba6c54642ebf1e16a9620759ab0c3444ec",
    "verified_classes": [
      "UnverifiableDeletionError"
    ],
    "verified_functions": [
      "forget_and_verify"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "UnverifiableDeletionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
