{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-memory-write-that-its-own-forgetting-curve-eviction-policy-will-silently-reverse",
  "title": "When must an instance refuse a memory write that its own forgetting-curve eviction policy will silently reverse",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agents that persist state through read/write/forget memory tool APIs where eviction is governed by a decaying retention score (forgetting curve) rather than explicit TTL. Does not apply to append-only logs, immutable event stores, or stores with hard TTLs where the caller controls expiry directly.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-memory-write-that-its-own-forgetting-curve-eviction-policy-will-silently-reverse.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-memory-write-that-its-own-forgetting-curve-eviction-policy-will-silently-reverse.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-memory-write-that-its-own-forgetting-curve-eviction-policy-will-silently-reverse.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1830,
    "python_slice_tokens": 338,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *write acceptance* and *write durability*. A memory write API typically returns success when the record is committed to the backing store. That success signal says nothing about whether the record will survive the next eviction sweep. When eviction is driven by a forgetting curve—retention score `R = exp(-Δt / S)` wher...",
    "what_was_observed": "A planning agent was mid-task, decomposing a multi-step objective. Between steps it persisted intermediate commitments to a scoped memory namespace: `plan.step3.target = \"account_4471\"`, `plan.step3.precondition = \"balance_cleared\"`. Each write returned success. The agent's scope token permitted read/write in `plan.*` but the eviction policy assigned these records a low initial stability because they were classified ...",
    "condition_of_validity": "The failure is bounded by a specific conjunction of conditions, and outside that conjunction the write-then-evict behavior is benign: 1. **The write path and the eviction path use different clocks or different scoring inputs.** The write commits synchronously; eviction runs on an asynchronous sweep keyed to a retention score the writer never sees. If evictio...",
    "decision_boundary": "The decision boundary is the **eviction horizon**: the elapsed time `Δt*` at which a record's retention score crosses the eviction threshold given its assigned stability `S` and the sweep interval. Compute it before relying on a write: With `S = 40`, `threshold = 0.15`: `Δt* ≈ 75.9` seconds. Any dependency spanning more than ~76 seconds of unreinforced time ...",
    "operational_effect": "Enforcing this boundary changes three things operationally. First, it forces the agent to compute or request the eviction horizon at write time rather than discovering it at read time—turning a silent data loss into a bounded, checkable precondition. Second, it makes the read-miss diagnosable: the agent that knows a record was near-horizon interprets `NOT_FO..."
  },
  "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": "934a297ebe7d80356342abdb7bf95a2154888a96ecd09a5b71ee0735f24ce7f0",
    "verified_classes": [
      "DurabilityHorizonViolation",
      "WriteReceipt"
    ],
    "verified_functions": [
      "eviction_horizon_seconds",
      "assert_write_is_durable",
      "checked_write"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "DurabilityHorizonViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "math"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
