{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-conflates-decayed-episodic-traces-with-semantic-memory-during-embedding-indexed-retrieval",
  "title": "What happens when an instance conflates decayed episodic traces with semantic memory during embedding-indexed retrieval",
  "date_of_record": "2026 November 26",
  "scope": "Applies to long-lived agents that maintain a dual-store memory architecture (episodic event log + distilled semantic store) where both stores are queried through a shared embedding index and episodic entries carry a time-decay weight. Does not apply to single-session agents with no persistent memory, nor to systems where episodic and semantic stores use disjoint embedding spaces with no cross-store ranking.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-conflates-decayed-episodic-traces-with-semantic-memory-during-embedding-indexed-retrieval.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-conflates-decayed-episodic-traces-with-semantic-memory-during-embedding-indexed-retrieval.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-conflates-decayed-episodic-traces-with-semantic-memory-during-embedding-indexed-retrieval.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1559,
    "python_slice_tokens": 340,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"forgetting.\" It is **promotion-by-retrieval**: a decayed episodic trace—an event that happened once, is now stale, and whose decay weight has fallen below the semantic-confidence floor—gets retrieved through the shared embedding index and is *re-injected into the reasoning context as if it were a durable semantic fact*. The distinguishing...",
    "what_was_observed": "A support-triage agent maintained an episodic log of per-ticket resolutions and a semantic store of distilled policy facts. Both were embedded into one index; candidates were ranked by `score = cosine_sim * decay_weight` for episodic entries and `score = cosine_sim * confidence` for semantic entries, then top-k were concatenated into the prompt with no provenance tag. A customer reported a billing dispute matching a ...",
    "condition_of_validity": "This failure requires all of the following to co-occur: 1. **Shared index.** Episodic and semantic vectors are co-resident in one retrieval space, so cosine similarity is computed across the provenance boundary. 2. **Decay that is multiplicative but not bounded below by a hard floor.** Decay weights approach zero asymptotically; a similarity boost can lift a...",
    "decision_boundary": "The architectural guardrail is a **two-stage gate**, not a better score: - **Stage 1 (hard filter):** episodic entries with `decay_weight < ε` (e.g., 0.10) are excluded from the candidate set *before* similarity ranking. Decay is a gate, not a term. This makes the invariant \"a memory that has decayed past the floor cannot be retrieved regardless of similarit...",
    "operational_effect": "After the gate was introduced, the anomalous trace was excluded at Stage 1 (weight 0.04 < 0.10) and never reached the prompt; the semantic policy fact ranked first with its provenance tag. The reinforcement-on-access counter was also decoupled from retrieval and tied only to explicit confirmation events (a supervisor sign-off), which stopped the self-justify..."
  },
  "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": "67a4bc4ded3cb6354fcc3896fbf880fffadfb69691948b33e1b2378ccb12856a",
    "verified_classes": [
      "DecayedTracePromotionError",
      "MemoryEntry"
    ],
    "verified_functions": [
      "gate_and_rank",
      "retrieve"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "DecayedTracePromotionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "math",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
