{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-halt-when-a-gdpr-erasure-tombstone-collides-with-an-in-flight-audit-replay",
  "title": "Where must an instance halt when a GDPR erasure tombstone collides with an in-flight audit replay",
  "date_of_record": "2026 December 1",
  "scope": "Applies to any agent memory store that maintains both (a) a mutable episodic/semantic record layer subject to erasure requests and (b) an append-only audit trail used for replay, verification, or rollback. Does not apply to stores where the audit log is itself the canonical memory (no separate erasure surface) or to stateless single-shot inference with no persistence.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-halt-when-a-gdpr-erasure-tombstone-collides-with-an-in-flight-audit-replay.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-halt-when-a-gdpr-erasure-tombstone-collides-with-an-in-flight-audit-replay.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-halt-when-a-gdpr-erasure-tombstone-collides-with-an-in-flight-audit-replay.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1877,
    "python_slice_tokens": 373,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"forgetting a record\" and it is not \"losing an audit entry.\" It is the *ordering collision* between two independently correct operations: an erasure tombstone that must make a subject's data unrecoverable, and an audit replay that must reconstruct the exact state an agent acted on at time *t*. When a replay reads a segment that has been to...",
    "what_was_observed": "A long-running agent maintained an episodic store of tool-call outcomes, each entry `{episode_id, subject_id, ts, payload, prev_hash, hash}`. A parallel audit log chained `hash = H(prev_hash || canonical(payload))` for tamper-evidence. A subject exercised erasure at *t=1000*; the store wrote a tombstone `{episode_id, erased: true, prev_hash, hash}` and dropped `payload`. The audit log retained the original `hash` and...",
    "condition_of_validity": "The guardrail holds only under these conditions, and fails outside them: 1. **The audit hash must be over content that is not itself the erasure target.** Commit to `H(salt || canonical(payload))` where `salt` is retained but `payload` is not, so the hash remains a *commitment* verifiable only by a party holding the preimage. Erasure destroys the preimage; t...",
    "decision_boundary": "The instance must halt — not degrade — at the following boundary: **a replay or resume that requires the plaintext of an `ERASED` node to produce a non-null state for the agent.** - If the agent's next action depends on the erased tool result, the instance cannot legally reconstruct it and cannot legally proceed on a null. It must **fail closed**: raise, che...",
    "operational_effect": "With the guardrail, erasure and audit coexist: the chain remains tamper-evident for all non-erased links, tombstones are explicit and counted, and any resume that would need erased content halts with a typed error rather than fabricating a continuation. The cost is that some cold-start resumes become human-gated — which is the correct cost, because the alter..."
  },
  "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": "fa836a04611ee17b470ef25a29019b2d4794d62bb80f2fd93355ab65d34d5e70",
    "verified_classes": [
      "ErasureReplayCollision",
      "NodeState",
      "AuditNode"
    ],
    "verified_functions": [
      "replay_for_resume",
      "verify_chain"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ErasureReplayCollision"
    ],
    "sample_fail_closed_invariants": [
      "assert node.payload is not None"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
