{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-forget-operation-s-redaction-has-silently-degraded-into-a-tombstone-that-the-retrieval-layer-still-surfaces",
  "title": "What structural signals indicate a forget-operation's redaction has silently degraded into a tombstone that the retrieval layer still surfaces",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agent memory subsystems exposing separate `read`, `write`, and `forget` tool schemas where `forget` carries retention/redaction semantics (tombstoning, hard-delete, or redaction-in-place). Does not apply to append-only logs with no forget capability, nor to external vector stores whose deletion is synchronous and strongly consistent.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-forget-operation-s-redaction-has-silently-degraded-into-a-tombstone-that-the-retrieval-layer-still-surfaces.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-forget-operation-s-redaction-has-silently-degraded-into-a-tombstone-that-the-retrieval-layer-still-surfaces.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-forget-operation-s-redaction-has-silently-degraded-into-a-tombstone-that-the-retrieval-layer-still-surfaces.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1771,
    "python_slice_tokens": 337,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget` call has two distinct success conditions that the tool schema almost always collapses into one boolean: **the record is no longer retrievable** and **the record's content is no longer present in the store**. These diverge whenever the memory backend implements forget as *tombstoning* (marking a record deleted while retaining its embedding and payl...",
    "what_was_observed": "An agent operating a long-horizon task wrote a customer record via `write_memory(kind=\"episodic\", body=..., tags=[...])` and later received a user instruction to forget it, invoked as `forget_memory(id=..., mode=\"redact\")`. The tool returned `status: \"forgotten\"`, and a direct `read_memory(id=...)` correctly returned `{\"found\": false}`. The agent's self-report considered the obligation discharged. Two turns later, a ...",
    "condition_of_validity": "The invariant \"forget implies non-retrievable\" holds **only if** all of the following are true, and the guardrail must assert them explicitly: - The forget mode is `hard_delete` (excision), **or** the retrieval filter is applied *pre-ranking* (the tombstone is excluded from the candidate set before top-k), **or** the redaction nulls *every* derived field (`b...",
    "decision_boundary": "The agent must treat a `forget` response as **provisional** and execute a verification read before reporting the obligation discharged, whenever: - `mode` is anything other than `hard_delete`, **or** - the record was ever the source of a distillation/summarization call (lineage unknown → assume derivative exists), **or** - the backend exposes an ANN index wh...",
    "operational_effect": "The practical consequence is that **forget is a two-phase operation with a verification gate, and the schema's single status field is insufficient to close it.** Agents that trust the status field will report redaction obligations as met while residual content remains queryable, and the failure is invisible to the agent because every call succeeded. The guar..."
  },
  "matched_failure_symptoms": [
    "SECRET_OR_PII_LEAK_IN_LOGS"
  ],
  "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": "18b8b84be808fc9265fc50a294469068459a4d39841efc42bea46376323c8771",
    "verified_classes": [
      "RedactionLeakError",
      "ForgetReceipt"
    ],
    "verified_functions": [
      "verify_forget"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "RedactionLeakError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
