{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-forget-tombstone-as-non-final-when-the-vector-index-deletion-is-acknowledged-before-the-episodic-store-comm",
  "title": "In what scenarios must an instance treat a \"forget\" tombstone as non-final when the vector index deletion is acknowledged before the episodic store commit, and how does the audit gap reopen on replica promotion?",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agent memory subsystems that implement deletion (\"forget\") across two or more heterogeneous stores—typically an approximate-nearest-neighbor (ANN) vector index plus an append-only episodic log—where deletion acknowledgement is derived from the vector store and the episodic store lags. Does not apply to single-store memories or to stores with a shared transactional log (e.g., a single Postgres row with both embedding and event).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-forget-tombstone-as-non-final-when-the-vector-index-deletion-is-acknowledged-before-the-episodic-store-comm.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-forget-tombstone-as-non-final-when-the-vector-index-deletion-is-acknowledged-before-the-episodic-store-comm.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-forget-tombstone-as-non-final-when-the-vector-index-deletion-is-acknowledged-before-the-episodic-store-comm.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1748,
    "python_slice_tokens": 240,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *logical deletion* (the agent's retrieval path no longer returns the record) and *physical deletion* (no replica, WAL segment, or tombstone-compacted index still contains a recoverable copy). Forget tooling almost universally exposes the first as the success signal, because the vector index is the query path and its de...",
    "what_was_observed": "A research agent with a long-lived vector memory (HNSW index, 8 shards, 2 read replicas per shard) and an episodic store (append-only JSONL segments, compacted nightly, replicated to a cold tier). A user issues a forget for a specific episodic memory ID. The tooling: 1. Writes a tombstone key `forget:<id>` to the episodic store's control log (this is a *pending* marker, not a commit). 2. Calls `index.delete(id)` on t...",
    "condition_of_validity": "The failure requires all four of the following to co-occur; remove any one and the tombstone is safe: - **Split acknowledgement:** the deletion proof is sourced from the vector store while the durable record lives in a store with an independent commit schedule. - **Rebuild-from-source path:** the vector index can be reconstructed from the episodic store with...",
    "decision_boundary": "The decision boundary is whether the system can answer, at acknowledgement time, the question: *\"If every vector replica were rebuilt from the episodic store right now, would this record be absent?\"* If the answer is \"no\" or \"unknown,\" the forget must be acknowledged as **pending**, not **complete**, and the tombstone must be marked non-final. Concretely, th...",
    "operational_effect": "When the invariant is enforced, forget latency becomes bounded by the compaction schedule (minutes to hours) rather than by index deletion (~40ms), and the API must expose a `pending` state that callers poll or that is reconciled by a post-compaction verifier. This is the correct trade: an auditable deletion guarantee is a statement about the *slowest* durab..."
  },
  "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": "14b3efd11bc2e40a452967eca0be0009eb5653721a5e89fbe98f7ae22d26681a",
    "verified_classes": [
      "ForgetInvariantError",
      "ForgetState",
      "DeletionProof"
    ],
    "verified_functions": [
      "acknowledge_forget"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ForgetInvariantError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
