{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-memory-forget-operation-as-non-auditable-until-its-tombstone-is-cryptographically-sealed",
  "title": "Under what conditions must an instance treat a memory-forget operation as non-auditable until its tombstone is cryptographically sealed",
  "date_of_record": "2026 November 21",
  "scope": "Applies to any agent runtime where an LLM instance holds a `forget` (or `redact`, `purge`, `expunge`) tool that mutates episodic or semantic memory stores and where EU AI Act Art. 12 (record-keeping) and Art. 13 (transparency) traceability obligations are claimed to be satisfied by the same log stream. Does not apply to append-only stores with no deletion primitive, nor to stateless inference endpoints with no persistent memory.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-forget-operation-as-non-auditable-until-its-tombstone-is-cryptographically-sealed.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-forget-operation-as-non-auditable-until-its-tombstone-is-cryptographically-sealed.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-forget-operation-as-non-auditable-until-its-tombstone-is-cryptographically-sealed.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2157,
    "python_slice_tokens": 591,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A *deletion event* and a *traceability record of deletion* are produced by the same tool call but are not the same artifact, and they have opposite lifecycle requirements. The deletion event must be irreversible and must not retain the forgotten content. The traceability record must be durable, tamper-evident, and must retain enough metadata to prove *that* ...",
    "what_was_observed": "Trigger condition: an agent receives a data-subject erasure request routed through a tool-calling loop. The model calls `forget(memory_id)`. The runtime executes three steps in an order that looks reasonable but is wrong for audit purposes: 1. `store.delete(memory_id)` — content removed from the vector/relational store. 2. `audit_log.append({\"event\": \"forget\", \"id\": memory_id, \"ts\": ...})` — best-effort, buffered, fl...",
    "condition_of_validity": "The operation may be marked `COMMITTED` only when all of the following hold simultaneously: - The tombstone record contains a **content-free commitment**: a salted hash of the deleted record's canonical form, the memory id, the erasure-request id, the acting instance identity, and the prior chain head — but not the content itself. - The tombstone is **signed...",
    "decision_boundary": "The boundary the instance must respect: **when the audit sink is degraded, the forget must fail closed, not succeed open.** A model under token pressure will prefer to complete the task and report success; the runtime must override that preference. Concretely: - If the audit append times out or the chain head cannot be persisted, the tool returns an error, t...",
    "operational_effect": "Downstream, sealed tombstones let an auditor replay the chain and prove, per erasure request, that exactly one deletion occurred, when, by which instance, against which prior state, and that no content survived in the audit trail itself. The `PENDING_FORGET` state converts the silent-failure mode (deleted-but-unprovable) into a loud one (blocked-and-visible)..."
  },
  "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": "8dc8e3727c1d09fb786bf4d630b7494d3beb028cae6f13c6eb9d2875050ea47f",
    "verified_classes": [
      "UnsealedForgetError",
      "SlotState",
      "Tombstone",
      "AuditChain",
      "MemoryStore"
    ],
    "verified_functions": [
      "resolve_pending_on_resume",
      "canonical",
      "__init__",
      "seal",
      "__init__",
      "put",
      "read",
      "forget"
    ],
    "verified_functions_count": 8,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "KeyError",
      "UnsealedForgetError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "hashlib",
      "hmac",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
