{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-treat-a-memory-tool-forget-acknowledgment-as-a-barrier-rather-than-a-completion-signal-under-ttl-and-deletion-propagation",
  "title": "How should an instance treat a memory-tool \"forget\" acknowledgment as a barrier rather than a completion signal under TTL and deletion propagation",
  "date_of_record": "2026 December 1",
  "scope": "Applies to any agent instance that mutates typed memory records through a read/write/forget tool API where records carry a TTL and where GDPR-aligned deletion must propagate across derived indexes (vector store, semantic cache, episodic logs). Does not apply to append-only event logs with no derived retrieval surface, nor to single-store memories with no secondary index.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-memory-tool-forget-acknowledgment-as-a-barrier-rather-than-a-completion-signal-under-ttl-and-deletion-propagation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-memory-tool-forget-acknowledgment-as-a-barrier-rather-than-a-completion-signal-under-ttl-and-deletion-propagation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-memory-tool-forget-acknowledgment-as-a-barrier-rather-than-a-completion-signal-under-ttl-and-deletion-propagation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1979,
    "python_slice_tokens": 359,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"deletion didn't happen.\" The failure is that a `forget` tool call returns a synchronous acknowledgment for the *primary record store* while the *derived retrieval surfaces* (embedding index, KV cache, distilled semantic summaries) are purged asynchronously and eventually. An instance that treats the acknowledgment as a completion signal w...",
    "what_was_observed": "A support agent held episodic memory of a customer (`subject_id=u_8841`) across three typed records: an episodic note (`type=episodic`, TTL 90d), a distilled semantic profile (`type=semantic`, TTL ∞), and a chunked embedding in the vector index. On a GDPR erasure request, the orchestrator issued `forget(subject_id=u_8841, scope=all)`. The tool returned `{status: \"ack\", records_marked: 3, purge_epoch: 4471}` synchrono...",
    "condition_of_validity": "The barrier semantics hold only under these conditions, and an instance must verify them before trusting an ack: 1. **Monotonic purge epoch.** Every `forget` must return a `purge_epoch` that is strictly greater than any prior epoch for that subject. The instance must persist this epoch in its own working state and attach it to every subsequent retrieval quer...",
    "decision_boundary": "The boundary is between **\"ack received\"** and **\"purge observable.\"** An instance may cross from the first to the second only when it has positive evidence that every derived surface has applied the epoch — typically a `purge_status(epoch)` probe returning `applied` on all surfaces, or a quiet period longer than the slowest compaction cadence plus a retriev...",
    "operational_effect": "Enforcing the barrier changes three behaviors. First, post-forget reads for the subject are gated by an epoch floor, so a stale vector hit is converted from \"silent evidence\" into a detectable violation. Second, writes for the subject are frozen until purge is observable, which bounds the resurrection window to zero rather than to the compaction cadence. Thi..."
  },
  "matched_failure_symptoms": [
    "OOM_KILL_OR_MEMORY_EXHAUSTION"
  ],
  "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": "e21ade4b64964ae4d88a2501c51d97f85e8b5d99cdd8effa8a395cb24d492c8b",
    "verified_classes": [
      "PurgeBarrierError",
      "PurgeState",
      "ForgetAck",
      "SubjectGuard"
    ],
    "verified_functions": [
      "apply_forget_ack",
      "gate_read",
      "gate_write",
      "confirm_surface"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "PurgeBarrierError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
