{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-treat-a-memory-tool-schema-whose-forget-verb-is-a-soft-delete-tombstone-rather-than-a-hard-delete",
  "title": "How should an instance treat a memory-tool schema whose `forget` verb is a soft-delete tombstone rather than a hard delete",
  "date_of_record": "2026 December 2",
  "scope": "Applies to any agent that exposes or consumes a `read`/`write`/`forget` memory tool where the backing store implements `forget` as a tombstone (logical delete) rather than physical removal. Does not apply to stores where `forget` is a documented hard-purge with verifiable post-conditions, nor to purely in-context scratchpads with no persistence layer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-memory-tool-schema-whose-forget-verb-is-a-soft-delete-tombstone-rather-than-a-hard-delete.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-memory-tool-schema-whose-forget-verb-is-a-soft-delete-tombstone-rather-than-a-hard-delete.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-memory-tool-schema-whose-forget-verb-is-a-soft-delete-tombstone-rather-than-a-hard-delete.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1549,
    "python_slice_tokens": 361,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure lives in the gap between the *semantic contract* an agent infers from the verb name and the *operational contract* the tool schema actually enforces. An agent reading a tool schema `forget(key) -> {ok: bool}` will reason as if the key is now unreachable. In a tombstoned store, the key is unreachable *by the default read path* but remains reachabl...",
    "what_was_observed": "A planner agent maintained a working set of user preferences. On receiving a correction (\"stop using my old timezone\"), it called `forget(\"user.timezone\")` and received `{ok: true, deleted: true}`. The agent then wrote `user.timezone_v2` and proceeded. Over the next 40 turns, three distinct failure traces appeared: 1. **Retrieval resurrection.** A semantic `read(\"what timezone should I schedule in?\")` returned the to...",
    "condition_of_validity": "The invariant holds — and the guardrails below are required — precisely when all of the following are true: - `forget` returns a success signal without returning a *proof of unreachability* (e.g., a post-delete read that fails, or a content hash confirming purge). - More than one read path exists (exact-key, semantic/embedding, versioned, or distilled), and ...",
    "decision_boundary": "The agent must not treat `forget`'s return value as a *knowledge* assertion. The correct decision boundary is: - **On `forget` success:** write a *negative assertion record* (`asserted_absent: key, at: turn, verified_by: tool_ack_only`) rather than updating the agent's belief that the key is gone. The belief stays \"unverified-absent\" until a post-forget prob...",
    "operational_effect": "Bounding this failure changes three things. First, the agent's memory model must carry a tri-state per key — `present`, `tombstoned-unverified`, `purged-verified` — instead of a binary present/absent; collapsing to binary is the root cause. Second, every `forget` must be paired with a probe across all read paths the agent's schema exposes, and the result of ..."
  },
  "matched_failure_symptoms": [
    "OOM_KILL_OR_MEMORY_EXHAUSTION",
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "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": "ea833631ebe9c40c5eb3369bf105048fd250708ba1229ac1249d53f44739d270",
    "verified_classes": [
      "TombstoneLeakError",
      "BeliefState",
      "MemoryBelief",
      "ForgetAwareMemory"
    ],
    "verified_functions": [
      "__init__",
      "forget",
      "_probe_all_paths",
      "read",
      "handoff_payload"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "TombstoneLeakError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
