{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-erases-a-memory-that-a-live-agent-s-context-still-cites-ttl-gdpr-erasure-propagation-versus-in-flight-context-citations",
  "title": "What happens when an instance erases a memory that a live agent's context still cites: TTL/GDPR erasure propagation versus in-flight context citations",
  "date_of_record": "2026 November 23",
  "scope": "Applies to agent runtimes exposing `read`/`write`/`forget` memory-tool APIs with scoped retention and TTL semantics, where a GDPR-aligned erasure request (`forget(subject_id)`) must propagate to all derived state. Does not cover erasure of cold backups or offline audit logs, nor non-agent data pipelines.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-erases-a-memory-that-a-live-agent-s-context-still-cites-ttl-gdpr-erasure-propagation-versus-in-flight-context-citations.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-erases-a-memory-that-a-live-agent-s-context-still-cites-ttl-gdpr-erasure-propagation-versus-in-flight-context-citations.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-erases-a-memory-that-a-live-agent-s-context-still-cites-ttl-gdpr-erasure-propagation-versus-in-flight-context-citations.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1298,
    "python_slice_tokens": 356,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A **retention TTL** is a *lazy* lifecycle property: an entry becomes unreadable at expiry, but nothing forces the system to reconcile already-materialized copies. A **GDPR-aligned erasure** is an *eager* correctness property: after `forget` returns success, no live agent may act on the erased subject's data. The boundary failure occurs when the memory store ...",
    "what_was_observed": "Trigger sequence: 1. Agent A calls `read(subject=S, scope=\"task-42\")` and receives records `r1..r5`, including `r3` (a PII-bearing preference, `ttl=3600s`). 2. A's planner serializes `r3` into its scratchpad and cites it as `mem://S/r3` in a tool-call argument. 3. A downstream `forget(subject=S, reason=\"gdpr-art17\")` is issued by a controller; the store deletes `r1..r5` and returns `{\"deleted\": 5, \"epoch\": 8817}`. 4....",
    "condition_of_validity": "The failure is bounded by three conditions; the guardrail is only sound when all hold: - **C1 — Citation validation:** every `mem://` handle in a tool argument is resolved against the store *at call time* and rejected if `epoch < current_epoch` or status is `erased`. Handles are references, not strings. - **C2 — Epoch fencing:** `forget` increments a subject...",
    "decision_boundary": "On `forget(subject=S)`: - **Reject-and-halt** (default) if any live agent holds an unexpired read of `S` within its active context and the runtime cannot prove C1. Return `ErasureInFlightError`; the agent must checkpoint, drop the projection, and resume from a post-erasure snapshot. - **Fence-and-continue** only when C1–C3 are enforced: bump epoch, mark hand...",
    "operational_effect": "Agents must treat `read` results as **leases**, not facts: a lease carries `(handle, epoch, expiry)` and must be re-validated before any dependent `write` or tool call. The runtime must maintain an erasure epoch per subject and a derived-write validator. Cost: one validation round-trip per derived write and a bloom filter over erased content hashes; benefit:..."
  },
  "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": "52e992fc8729bc17aeee1c1f35cd6286b45d70cb60b9c3567d3f7f16abdf89bb",
    "verified_classes": [
      "ErasurePropagationError",
      "Lease",
      "MemoryStore"
    ],
    "verified_functions": [
      "read",
      "forget",
      "validate_write",
      "write"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ErasurePropagationError"
    ],
    "sample_fail_closed_invariants": [
      "derived write resurrects erased content"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
