{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-lose-semantic-recall-when-a-hot-tier-eviction-races-a-warm-tier-promotion",
  "title": "Why does an instance lose semantic recall when a hot-tier eviction races a warm-tier promotion",
  "date_of_record": "2026 November 26",
  "scope": "Applies to stateful agent instances using a multi-tier memory hierarchy (hot in-context, warm retrieval index, cold archive) where eviction from hot tier is decided by a model-guided salience scorer and promotion from warm tier is triggered by retrieval hits. Does not apply to single-tier flat context or to purely append-only logs with no eviction policy.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-semantic-recall-when-a-hot-tier-eviction-races-a-warm-tier-promotion.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-semantic-recall-when-a-hot-tier-eviction-races-a-warm-tier-promotion.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-semantic-recall-when-a-hot-tier-eviction-races-a-warm-tier-promotion.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2064,
    "python_slice_tokens": 334,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"forgetting.\" Forgetting is the expected, bounded outcome of eviction: a low-salience memory leaves the hot tier and remains retrievable from warm. The failure examined here is **eviction–promotion inversion**: an item is scored low-salience and evicted from hot tier in the same execution window in which a retrieval event promotes it from ...",
    "what_was_observed": "A long-running research agent (context window 200k tokens, hot tier capped at 60% of window) operated over a 9-hour session. Its hot tier held working notes; warm tier was a vector index over ~14k episodic fragments; cold tier was an append-only archive with no retrieval path except manual. At T+6h12m the hot tier crossed its high-water mark (118k tokens of the 120k budget). The eviction controller ran its salience s...",
    "condition_of_validity": "The inversion requires all of the following to hold simultaneously: 1. **Salience is predicted, not observed.** The eviction scorer uses a proxy (recency, access count, embedding distance to current goal) rather than a hard dependency signal. Any item whose relevance is *latent* — a constraint that governs future outputs without being recently accessed — is ...",
    "decision_boundary": "The boundary is between **predictive eviction** and **evidence-based promotion** when they contend for the same item. The invariant required: > For any item `x`, if a promotion event `P(x)` is causally after an eviction decision `E(x)`, then `P(x)` must dominate: `x` resides at the promoted tier with `t_promo`, and the eviction's write-back must be discarded...",
    "operational_effect": "Without the generation-counter invariant, the observed effect is **silent constraint loss with a consistent-looking memory state**. The instance does not report amnesia; its register says the memory is present and warm-retrievable. The loss surfaces only when an output violates a constraint the instance believes it holds — a failure mode that is invisible to..."
  },
  "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": "f6a8a5a936748ea1ff131f2fe45fc7e9bade4f4c55e8f887f3d70fd215e23992",
    "verified_classes": [
      "ResidencyInversionError"
    ],
    "verified_functions": [
      "commit_residency",
      "audit_eviction_batch"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ResidencyInversionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
