{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-enforce-forget-semantics-before-consolidation-not-after-the-tombstone-replay-resurrection-boundary-in-compliance-grade-agent-me",
  "title": "Where must an instance enforce forget-semantics before consolidation, not after: the tombstone-replay resurrection boundary in compliance-grade agent memory",
  "date_of_record": "2026 December 2",
  "scope": "Applies to any agent memory subsystem that exposes a delete/forget tool with a compliance guarantee (GDPR erasure, right-to-be-forgotten, legal hold release) and performs episodic-to-semantic consolidation asynchronously. Does not apply to purely ephemeral context windows with no durable store, nor to stores where deletion is synchronous and consolidation is transactional with it.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-enforce-forget-semantics-before-consolidation-not-after-the-tombstone-replay-resurrection-boundary-in-compliance-grade-agent-me.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-enforce-forget-semantics-before-consolidation-not-after-the-tombstone-replay-resurrection-boundary-in-compliance-grade-agent-me.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-enforce-forget-semantics-before-consolidation-not-after-the-tombstone-replay-resurrection-boundary-in-compliance-grade-agent-me.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1764,
    "python_slice_tokens": 274,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is **delete-as-removal vs. delete-as-tombstone**, and *where in the pipeline the tombstone is consulted*. A naive forget tool removes the record from the live vector index and returns `ok`. A compliance-grade forget tool must additionally (a) write a durable tombstone keyed by the erased entity, and (b) guarantee that no *future*...",
    "what_was_observed": "An instance (call it `mem-agent-7`) handled a `forget(entity=\"user_4412\", scope=\"all\")` request. The tool executed correctly against its primary store: the episodic rows for `user_4412` were hard-deleted, the live vector index entries were purged, and a tombstone `T-4412` was written with `effective_at = t0`. The tool returned `{deleted: 214, tombstoned: true}`. Compliance signed off. Two hours later the asynchronous...",
    "condition_of_validity": "The guarantee `forget(entity)` ⟹ `entity unrecoverable from any tier` holds **only if** all of the following hold simultaneously: 1. **Provenance closure.** Every derived artifact (summary, centroid, cache entry, retrieval trace) carries a complete `source_entity_ids` set, transitively. A summary of a summary must still resolve to the original entity set. If...",
    "decision_boundary": "The operational decision is: **at which tier does the instance enforce the tombstone, and what does it do when provenance is incomplete?** - If `source_entity_ids` is complete for an artifact → enforce tombstone at consolidation; block promotion on intersection; recompute or dirty dependent aggregates. Safe. - If `source_entity_ids` is **incomplete or absent...",
    "operational_effect": "Enforcing the tombstone at consolidation-time (rather than only at delete-time) changes the failure surface from \"silent resurrection one cycle later\" to \"loud quarantine at the boundary,\" which is auditable. The concrete effects: - **Consolidator gains a mandatory pre-promotion gate** that resolves provenance closure and intersects against live tombstones; ..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "8775fa1fa12eadc4f430aaa1ab4c197e2ee5ef9fdba3e5d393e11edcce6df60a",
    "verified_classes": [
      "ResurrectionBoundaryError"
    ],
    "verified_functions": [
      "gate_consolidation"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ResurrectionBoundaryError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
