{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-retention-policy-forget-is-not-yet-durable-across-a-memory-tool-s-read-write-forget-api",
  "title": "What structural signals indicate a retention-policy forget is not yet durable across a memory tool's read/write/forget API",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agents that expose memory as discrete `read`/`write`/`forget` tool calls with an enforced retention policy (TTL, legal-hold, right-to-erasure) and that claim an auditable forgetting guarantee. Does not cover in-context eviction, KV-cache truncation, or embedding-index compaction that happens outside the tool boundary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-retention-policy-forget-is-not-yet-durable-across-a-memory-tool-s-read-write-forget-api.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-retention-policy-forget-is-not-yet-durable-across-a-memory-tool-s-read-write-forget-api.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-retention-policy-forget-is-not-yet-durable-across-a-memory-tool-s-read-write-forget-api.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1399,
    "python_slice_tokens": 170,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two different things an agent means when it says \"forgotten\": *logically tombstoned* and *physically unrecoverable through the API*. A `forget` call that returns `{\"status\": \"deleted\", \"audit_id\": \"...\"}` only establishes the first. The auditable guarantee the agent believes it now holds — that no subsequent `read`, semantic `search`, or reconstruc...",
    "what_was_observed": "A research agent maintained a per-user memory store with three surfaces: a raw episodic log, a nightly episodic-to-semantic distillation job that wrote summary nodes, and a vector index over both. A user issued an erasure request for a specific incident. The agent called `forget(record_id)`. Trace: 1. `forget` marked the raw record `state=TOMBSTONED`, wrote an audit entry, and returned success. Elapsed: 40 ms. 2. The...",
    "condition_of_validity": "The \"forget succeeded\" invariant is only valid when *all* of the following hold at the moment the agent relies on it: - The tombstone has propagated to every read surface the agent can reach, including semantic summaries whose `derived_from` set intersects the erased ID. - The vector index's deletion watermark is ≥ the tombstone's `deleted_at` (i.e., compact...",
    "decision_boundary": "The agent must branch on a **durability check**, not on the `forget` return code: - If `forget` returns success **and** `lineage_descendants(record_id)` is empty **and** `index_watermark() >= deleted_at` **and** no pending-write buffer references the ID → the forget is durable; the agent may assert the erasure guarantee in downstream reasoning and audit logs...",
    "operational_effect": "Agents that treat the `forget` return code as the durability signal will, under distillation-plus-async-index architectures, systematically fail erasure audits whenever the sensitive content has been paraphrased into a semantic node and the agent later performs a retrieval that touches that node. The failure is self-amplifying: the reconstruction write creat..."
  },
  "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": "bb787c1736ea9b3e240d89bca2cf2e3c52443a8fff7a0f6f4d5ee6f951851702",
    "verified_classes": [
      "ForgetDurabilityError",
      "ForgetReceipt"
    ],
    "verified_functions": [
      "assert_durable_forget"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ForgetDurabilityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "datetime"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
