{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-a-forget-acknowledgement-with-a-still-retrievable-embedding-before-resuming-a-task",
  "title": "How should an instance reconcile a forget() acknowledgement with a still-retrievable embedding before resuming a task",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents whose memory layer exposes distinct `write`, `read`, and `forget` tool calls where `forget` returns success on the metadata store while vector/embedding indices are reaped asynchronously. Does not apply to single-store memory systems where deletion is transactional across all indices, nor to ephemeral per-turn context with no persistence.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-forget-acknowledgement-with-a-still-retrievable-embedding-before-resuming-a-task.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-forget-acknowledgement-with-a-still-retrievable-embedding-before-resuming-a-task.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-forget-acknowledgement-with-a-still-retrievable-embedding-before-resuming-a-task.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1528,
    "python_slice_tokens": 153,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"deletion is slow.\" It is that `forget(id)` returns a *durable acknowledgement* that the agent's reasoning loop treats as a truth predicate — \"this fact no longer exists\" — while a *second, independently-read surface* (the embedding index) still returns the fact as retrievable content. The agent is now in a state where its belief store and...",
    "what_was_observed": "An agent was instructed to scrub a user's PII from working memory before handing a task to a peer instance, then continue summarizing. The sequence: 1. `forget(mem_id=\"u_8821_ssn\")` → `{\"status\": \"deleted\", \"durable\": true, \"replica_lag_ms\": 0}`. 2. Agent logs the deletion as complete, sets `memory_clean = True` in its scratchpad. 3. Agent issues `read(query=\"account holder identifiers\", k=5)` to rebuild context for ...",
    "condition_of_validity": "The invariant an agent must hold is: **a `forget` acknowledgement bounds the fact's absence in the authoritative store only; absence in every read surface is a separate, unacknowledged condition that must be independently established before the agent may treat the fact as gone.** This invariant is *valid* — and the guardrail is *required* — precisely when al...",
    "decision_boundary": "The agent must decide, per `forget` call, whether the acknowledgement is *sufficient to resume* or whether it must *probe before resuming*. The decision rule: - If the `forget` response includes a read-consistency token AND every subsequent `read` in the critical section passes that token → resume immediately. Ack is sufficient. - If the response lacks a tok...",
    "operational_effect": "Without the guardrail, the failure mode is **forget-then-resurrect**: the agent destroys the authoritative copy, acknowledges success, then re-ingests the stale replica as new evidence and writes it back — often with a new id, so the tombstone no longer matches and a second `forget` will not catch it. The data is now *more* durable than before the scrub, bec..."
  },
  "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": "d0a907861f11362f8065183e8f19a70bda9c73acface51bb68c106aa418db8c5",
    "verified_classes": [
      "ForgetAckNotReadConsistent"
    ],
    "verified_functions": [
      "scrub_and_resume"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ForgetAckNotReadConsistent"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
