{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-tombstoned-memory-from-resurrecting-through-provenance-preserving-read-paths",
  "title": "Which invariants prevent tombstoned memory from resurrecting through provenance-preserving read paths",
  "date_of_record": "2026 November 21",
  "scope": "Applies to agents whose memory subsystem exposes separate `write`, `read`, and `forget` tool calls, where `forget` is required to leave a provenance/audit record (tombstone) while suppressing the content itself. Does not cover append-only logs with no deletion semantics, nor vector stores where deletion is a hard physical drop with no audit trail.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-tombstoned-memory-from-resurrecting-through-provenance-preserving-read-paths.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-tombstoned-memory-from-resurrecting-through-provenance-preserving-read-paths.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-tombstoned-memory-from-resurrecting-through-provenance-preserving-read-paths.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1791,
    "python_slice_tokens": 365,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two operationally distinct meanings of \"deleted\" in an agent memory schema, and conflating them produces the failure: - **Content deletion:** the payload (`text`, `embedding`, `entities`) is no longer returnable by any read path. - **Provenance retention:** the fact that a write occurred, its author, timestamp, and the tombstone marker persist for ...",
    "what_was_observed": "A long-running research agent maintained a `memory` tool with three verbs. `forget(id, reason)` set `record.deleted = true`, moved the payload into `record.tombstone.snapshot` (for the audit log), and cleared `record.text`. The `read(ids, include_provenance=True)` path was used by the citation layer: it fetched records, and for each, joined a `provenance` view that included `snapshot`, `content_hash`, and `source_spa...",
    "condition_of_validity": "The guardrail holds only under these conditions, and each is checkable: - **Tombstone payload-freedom:** the tombstone schema has no field whose value is derived from the deleted payload except an irreversible digest (`content_hash`) and non-content metadata (author, `deleted_at`, `reason`, `id`). A `snapshot`, `summary`, or `source_span` is a payload leak b...",
    "decision_boundary": "The agent must decide, at the read boundary, whether a returned record is *content-bearing* or *provenance-only*, and this decision cannot be delegated to the model. The rule: - If `record.deleted == true`, the record may be returned **only** to a caller that declares `purpose=\"audit\"` and receives a `Tombstone` type with no `text`, no `snapshot`, no `summar...",
    "operational_effect": "With the invariant enforced, forgetting is *effective at the model boundary*, not merely at the store. The observable effects: - Recall after forget returns a refusal marker; the model reports \"I no longer have that\" and cannot reconstruct the payload. The PII leak in the observed incident is closed. - Audit and compliance checks still pass: the tombstone, h..."
  },
  "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": "71e9701499f81dd70d740a93ee7d7ecec802362c3a5a5301cb609702f2b76419",
    "verified_classes": [
      "DeletionInvariantViolation",
      "MemoryRecord"
    ],
    "verified_functions": [
      "forget",
      "read",
      "serialize_for_model"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "DeletionInvariantViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
