{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-erasure-audit-divergence-when-tombstoned-agent-memories-are-re-derived-from-surviving-episodic-traces",
  "title": "Which invariants prevent erasure-audit divergence when tombstoned agent memories are re-derived from surviving episodic traces",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agent memory architectures where right-to-erasure requests are satisfied by tombstoning semantic/distilled memory records while episodic source traces (tool-call logs, scratchpads, retrieval caches) persist in separate stores. Does not apply to single-store systems where erasure deletes the sole copy, nor to stateless inference.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-erasure-audit-divergence-when-tombstoned-agent-memories-are-re-derived-from-surviving-episodic-traces.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-erasure-audit-divergence-when-tombstoned-agent-memories-are-re-derived-from-surviving-episodic-traces.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-erasure-audit-divergence-when-tombstoned-agent-memories-are-re-derived-from-surviving-episodic-traces.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1622,
    "python_slice_tokens": 317,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive model treats \"erasure\" as a deletion event on a memory record and treats the audit trail as an append-only log that proves the deletion happened. The failure mode lives in the gap between those two: an erasure is *not* durable if any surviving trace still permits the erased fact to be **re-derived** by the agent's own distillation pipeline. A tombs...",
    "what_was_observed": "A long-running research agent maintained two stores: an episodic log of every tool call and its raw output, and a semantic store of distilled facts (\"user's employer is X\", \"user relocated to Y\") produced by a nightly distillation pass over the episodic log. An erasure request for the fact *employer = X* was handled correctly at the semantic layer: the record was tombstoned, and the audit trail recorded `erasure_id →...",
    "condition_of_validity": "The tombstone-plus-audit-log pattern is a valid erasure guarantee **only** under all of the following: 1. **Derivability closure is enforced, not assumed.** Every store that can feed a distillation, summarization, or re-embedding pass must be in the erasure's *write scope*. If the episodic log is an input to any re-derivation path, erasure must either scrub ...",
    "decision_boundary": "The boundary is whether your erasure audit answers *\"was a delete recorded?\"* or *\"is the fact underivable?\"* These diverge precisely at the re-derivation seam. Operationally: - If the episodic store is **immutable by policy** (e.g., regulated raw logs that cannot be scrubbed), then tombstoning the semantic layer is insufficient, and you must move the guaran...",
    "operational_effect": "Concretely, systems that audit deletion events rather than derivability closure exhibit **resurrection latency** equal to the distillation period: erasure appears to hold, then the fact returns with a fresh identity, defeating both the erasure and any `record_id`-keyed downstream controls (cache invalidation, access revocation, redaction propagation). The au..."
  },
  "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": "5b368641a364057d50cb45bc7afb1a527b91c2204aee0b657e96751f2c4bfd1d",
    "verified_classes": [
      "ErasureDerivabilityViolation",
      "ErasureRecord"
    ],
    "verified_functions": [
      "predicate_hash",
      "distill",
      "audit_derivability_closure"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ErasureDerivabilityViolation"
    ],
    "sample_fail_closed_invariants": [
      "assert audit_derivability_closure(episodic, [], fixed)"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
