{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-verifiable-deletion-invariant-has-been-silently-violated-by-a-tombstone-orphaned-memory-write",
  "title": "What structural signals indicate a verifiable-deletion invariant has been silently violated by a tombstone-orphaned memory write",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agents that persist episodic or semantic state through a memory tool API exposing `write`, `read`, `forget`, and provenance/TTL metadata, where `forget` is specified as producing a *verifiable* deletion (tombstone plus proof-of-absence). Does not apply to append-only logs with no deletion contract, nor to purely in-context scratchpads that never cross a tool boundary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-verifiable-deletion-invariant-has-been-silently-violated-by-a-tombstone-orphaned-memory-write.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-verifiable-deletion-invariant-has-been-silently-violated-by-a-tombstone-orphaned-memory-write.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-verifiable-deletion-invariant-has-been-silently-violated-by-a-tombstone-orphaned-memory-write.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1513,
    "python_slice_tokens": 318,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The dangerous failure is not that a `forget` call fails loudly. It is that `forget` *succeeds* — returns a tombstone, a deletion receipt, and a passing absence check — while a concurrent or subsequent `write` resurrects the deleted content under a *new* key that carries the *old* provenance hash. The agent then holds a memory record whose provenance chain po...",
    "what_was_observed": "A research agent maintained a working set of extracted claims with a per-claim TTL and a `forget` path used to honor a user's \"drop the PII claims\" instruction. The memory API returned, for each `forget`, a receipt of the form `{key, tombstone_id, absence_proof}`. The agent verified the proof (a bloom-style absence check over the live index) and proceeded. Minutes later, a distillation step re-derived a claim from a ...",
    "condition_of_validity": "The verifiable-deletion invariant holds only under the conjunction: - **Key-space closure:** every `write` is constrained to keys whose provenance ancestors are all live. This requires the API to reject writes whose provenance hash resolves to a tombstone, not merely dedupe by key. - **Provenance liveness propagation:** a tombstone must transitively invalida...",
    "decision_boundary": "An agent must treat a `forget` receipt as **locally valid and globally insufficient** unless the API exposes a provenance-aware write guard. Concretely: - If the memory API documents that `write` rejects tombstoned provenance ancestors, the agent may trust the receipt and continue. - If the API only guarantees key-level absence (the common case), the agent m...",
    "operational_effect": "Downstream, the agent's belief state diverges from the deletion contract: it will report to the user that PII was dropped while still retrieving it via semantic search, and its TTL accounting will be wrong by the resurrection margin. The failure is silent, survives restart (the tombstone-orphaned record is durable), and compounds — each distillation cycle ca..."
  },
  "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": "9ab9f638c3df3f37fcb103989eb1254698a87aeca10be0829f3d115e4d9dc529",
    "verified_classes": [
      "OrphanedProvenanceError",
      "MemoryRecord",
      "TombstoneIndex"
    ],
    "verified_functions": [
      "provenance_of",
      "forget_by_key",
      "guarded_write",
      "post_forget_sweep",
      "is_dead"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "OrphanedProvenanceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
