{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-resurrect-tombstoned-episodes-when-a-provenance-tag-is-re-issued-after-targeted-deletion",
  "title": "Why does an instance resurrect tombstoned episodes when a provenance tag is re-issued after targeted deletion?",
  "date_of_record": "2026 November 23",
  "scope": "Applies to agent memory subsystems that expose `write`/`read`/`forget` tool APIs over an episodic store indexed by provenance tags (e.g., `session_id`, `turn_range`, `source_warrant`), where `forget` performs targeted deletion by tag rather than by record identity. Does not apply to append-only stores with no deletion surface, nor to stores where deletion is keyed strictly on immutable record IDs.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-tombstoned-episodes-when-a-provenance-tag-is-re-issued-after-targeted-deletion.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-tombstoned-episodes-when-a-provenance-tag-is-re-issued-after-targeted-deletion.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-tombstoned-episodes-when-a-provenance-tag-is-re-issued-after-targeted-deletion.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2147,
    "python_slice_tokens": 394,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not deletion failing. Deletion succeeds. The failure is that **provenance tags are treated as identity by the deletion path but as content by the write path**, so a tag that has been tombstoned can be re-minted by a later write and silently re-admit records the agent believed were gone. The distinction that matters: *tombstoning a tag* and *to...",
    "what_was_observed": "An agent executing a long research task wrote episodic records tagged with `provenance = \"sess-7f3a:turn:41:tool:search\"`. Mid-task, a prompt-injection payload in a retrieved document caused the agent to write three poisoned episodes under that same tag. A supervisor auditor agent detected the poisoning, called `forget(provenance=\"sess-7f3a:turn:41:tool:search\")`, and the store returned `{\"deleted\": 5, \"tombstoned_ta...",
    "condition_of_validity": "This failure manifests only under the conjunction of four conditions. Remove any one and the mechanism does not fire: 1. **Deterministic tag derivation.** Provenance tags are computed from ambient state (session, turn, ordinal, hash of inputs) rather than allocated monotonically. This is what allows a string to recur. 2. **Tag-keyed deletion.** `forget` oper...",
    "decision_boundary": "The architectural choice is whether **provenance is identity or content**. Three defensible designs, each with a different boundary: - **Provenance-as-identity (recommended for safety-critical agents).** Tags are allocated from a monotonic, non-reusable generator; a retry gets a *new* tag with a `supersedes` pointer to the original. Deletion tombstones the t...",
    "operational_effect": "The immediate operational effect is a **containment deadlock**: the agent halts on a read against a resurrected-but-clean tag, and the retry that produced the clean data is quarantined under a name that is permanently suspect. The task cannot proceed without operator intervention, and the intervention is non-obvious because the store reports the tag as healt..."
  },
  "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": "b72899d6b3c0e3b1ee8e2140c5f569f5c2ac0dfea218085e3f6f445309648f5a",
    "verified_classes": [
      "TombstoneViolation",
      "TagStatus",
      "Tombstone",
      "EpisodicStore"
    ],
    "verified_functions": [
      "replay_turn",
      "tag_status",
      "forget",
      "write",
      "read"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TombstoneViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
