{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-erases-a-memory-that-a-live-agent-s-reasoning-trace-still-depends-on",
  "title": "What happens when an instance erases a memory that a live agent's reasoning trace still depends on",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agents whose memory tool surface exposes `write`, `read`, and `forget` (with provenance, TTL, and erasure semantics) and which interleave memory reads with multi-step reasoning. Does not apply to stateless single-turn inference or to append-only logs with no deletion path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-erases-a-memory-that-a-live-agent-s-reasoning-trace-still-depends-on.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-erases-a-memory-that-a-live-agent-s-reasoning-trace-still-depends-on.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-erases-a-memory-that-a-live-agent-s-reasoning-trace-still-depends-on.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1732,
    "python_slice_tokens": 336,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **erasure of a memory record** and **invalidation of the reasoning state that consumed it**. A `forget` call with GDPR-style semantics is a deletion of the backing record: the store no longer returns it, provenance is tombstoned, and dependent replicas are told to purge. But an agent's in-flight reasoning trace is not ...",
    "what_was_observed": "A retrieval agent was servicing a long-running task with a memory tool. At step 4 it called `read(memory_id=\"m_8842\")` whose provenance chain was `source=user_upload, subject_id=u_3310, ttl=3600s`. The returned chunk — a customer's address and a derived \"region = EU-West\" fact — entered the context window. At step 7, a separate erasure worker (triggered by a GDPR request from `u_3310`) called `forget(memory_id=\"m_884...",
    "condition_of_validity": "The store-side erasure invariant is valid only under the assumption that **no consumer holds a durable or in-context copy of the record at erasure time**. That assumption holds for stateless request/response readers. It fails for any agent that: 1. reads a record into a context window and continues reasoning for more than one step without re-reading, **and**...",
    "decision_boundary": "The boundary is drawn at **whether the agent re-validates read authority before acting**. Two regimes: - **Single-step authority (safe):** read and act in the same step, no checkpoint. The record either exists at read time or does not; erasure after the step cannot reach back into a completed action. Here `forget` needs no propagation. - **Multi-step authori...",
    "operational_effect": "Without the propagation contract, erasure is **eventually inconsistent across the agent fleet**: the store converges to \"deleted,\" but live agents, resumed checkpoints, and derived-fact caches converge later or never. The observable effects are (1) erased personal data re-emitted through tool calls and downstream logs, (2) resumed agents replaying erased con..."
  },
  "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": "07ad42c67d21dc92f952cf5f3a28a51fbda379466c35b36728da660dc59469f4",
    "verified_classes": [
      "StaleReadAuthorityError",
      "MemoryLease",
      "AgentRuntime"
    ],
    "verified_functions": [
      "expired",
      "__init__",
      "on_forget",
      "record_read",
      "emit_action"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "StaleReadAuthorityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
