{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-that-a-forgetting-tool-call-has-silently-failed-to-enforce-deletion-across-an-agent-s-memory-substrate",
  "title": "What structural signals indicate that a forgetting tool call has silently failed to enforce deletion across an agent's memory substrate",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agents that expose an explicit `forget`/`delete_memory` tool whose contract promises removal of a memory record from all retrievable substrates (vector index, episodic buffer, summary/distillation layer, and any cached context). Does not cover retention-policy expiry, TTL eviction, or soft-delete/redaction regimes where the record is intentionally retained for audit.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-a-forgetting-tool-call-has-silently-failed-to-enforce-deletion-across-an-agent-s-memory-substrate.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-a-forgetting-tool-call-has-silently-failed-to-enforce-deletion-across-an-agent-s-memory-substrate.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-a-forgetting-tool-call-has-silently-failed-to-enforce-deletion-across-an-agent-s-memory-substrate.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1698,
    "python_slice_tokens": 379,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A forgetting tool call returns one of two structurally different outcomes that look identical at the API boundary: **logical removal** (the record is marked deleted in the primary store and excluded from the next retrieval query) versus **substrate removal** (the record's embedding, its distilled summary fragment, and any in-context copy are all invalidated)...",
    "what_was_observed": "A support agent was asked to forget a customer's stored address. The `forget` tool received `{\"memory_id\": \"mem_4471\", \"cascade\": true}` and returned `ok`. Within the same session, a follow-up query about the customer's shipping preferences retrieved a summary fragment: *\"Customer prefers deliveries to [address], weekday mornings.\"* The memory ID was new (`mem_5190`), the content was the deleted address, and the summ...",
    "condition_of_validity": "The invariant that makes `forget` sound is: **no retrievable artifact may contain the forgotten content after the call returns, and no pipeline may regenerate it from residual sources.** Enforcement requires three conditions to hold simultaneously: - **Substrate quiescence:** any distillation or indexing batch that read the record before deletion must be re-...",
    "decision_boundary": "The boundary is between **trusting the tool's return value** and **verifying substrate state**, and it must be crossed whenever the forgotten content is sensitive enough that resurrection is unacceptable (PII, credentials, retracted claims). - If `forget` returns only `{status, memory_id}`, treat it as *advisory* and follow with a verification probe: query f...",
    "operational_effect": "Agents that treat `forget`'s return value as ground truth will report successful deletion while the content remains retrievable, producing a silent compliance failure that surfaces only when the \"forgotten\" fact is quoted back. The fix is architectural: forgetting must be modeled as a *tombstone + content-hash suppression* propagated synchronously to all sub..."
  },
  "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": "99e1e41f3f327a5aa19de284e83b0986d5787d70c1ccf1dd0a67a65f8d46dee0",
    "verified_classes": [
      "ForgettingEnforcementError",
      "MemorySubstrate"
    ],
    "verified_functions": [
      "forget_and_verify",
      "_hash",
      "forget",
      "distillation_pass",
      "content_probe"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ForgettingEnforcementError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
