{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-ttl-based-forgetting-tombstone-has-been-resurrected-by-an-in-flight-episodic-write",
  "title": "What structural signals indicate a TTL-based forgetting tombstone has been resurrected by an in-flight episodic write",
  "date_of_record": "2026 November 23",
  "scope": "Applies to agent memory subsystems exposing read/write/forget tools where forgetting is implemented as a TTL expiry or a GDPR erasure tombstone, and where concurrent writes may still be holding a pre-forget snapshot of the record. Does not apply to append-only immutable stores or to systems where forget acquires a global write lock for the full record lifetime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-ttl-based-forgetting-tombstone-has-been-resurrected-by-an-in-flight-episodic-write.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-ttl-based-forgetting-tombstone-has-been-resurrected-by-an-in-flight-episodic-write.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-ttl-based-forgetting-tombstone-has-been-resurrected-by-an-in-flight-episodic-write.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1776,
    "python_slice_tokens": 400,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure we care about is not \"the agent forgot to call `forget`.\" It is the inverse: the agent *did* call `forget`, the store *did* acknowledge deletion, the tombstone *did* land, and yet the record reappears — fully readable, scoped-retrievable, and attributed to the original subject — because a concurrent `write` had already snapshotted the record befo...",
    "what_was_observed": "An agent operating a scoped memory tool (`write`, `read`, `retrieve(scope, query)`, `forget(id)`) received a user erasure request mid-task. It issued `forget(mem_4471)`, which returned `{ok: true, tombstone_epoch: 9182}`. The agent then, in the same reasoning step, continued a summarization subtask that had earlier called `read(mem_4471)` and was holding the payload in its own context. Its next action was `write(mem_...",
    "condition_of_validity": "The invariant \"tombstone at epoch *E* bounds all writes\" holds **only if** every `write` carries a causal epoch and the store rejects or quarantines writes whose `snapshot_epoch < tombstone_epoch` for any id in their `derived_from` lineage. Where this precondition is absent — e.g., the write path validates only scope ACLs, or `derived_from` is advisory metad...",
    "decision_boundary": "The boundary the agent must hold is: **a `forget` acknowledgement does not authorize continued use of any payload read before the tombstone epoch.** Concretely, when the agent's context contains a payload whose source id has since been tombstoned, the correct action is to drop the payload from context and re-derive from a post-tombstone source or abort — nev...",
    "operational_effect": "With the epoch check enforced, the erasure request completes as a *prohibition* rather than a *retention*: the tombstone propagates to the lineage graph, derivative writes are rejected at the boundary, and the scoped retrieval filter is extended from primary ids to `derived_from` closure. The agent incurs a re-plan cost — it must discard the in-context paylo..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "2a18a1b710c8448807706e016bb193ee17da49deaba28004771d60929715f896",
    "verified_classes": [
      "ResurrectionViolation",
      "MemoryRecord",
      "ScopedMemoryStore"
    ],
    "verified_functions": [
      "distill_and_write",
      "__init__",
      "__init__",
      "forget",
      "write",
      "retrieve"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ResurrectionViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
