{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-conflates-episodic-and-semantic-memory-tiers-during-contradiction-resolution",
  "title": "What happens when an instance conflates episodic and semantic memory tiers during contradiction resolution",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents that maintain a two-tier memory (episodic event log + distilled semantic facts) with embedding-indexed retrieval and contradiction resolution across tiers. Does not apply to single-tier append-only context stores or to agents that never distill episodic records into semantic assertions.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-conflates-episodic-and-semantic-memory-tiers-during-contradiction-resolution.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-conflates-episodic-and-semantic-memory-tiers-during-contradiction-resolution.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-conflates-episodic-and-semantic-memory-tiers-during-contradiction-resolution.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1532,
    "python_slice_tokens": 346,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"wrong memory retrieved\" and not \"stale fact.\" It is a **tier-mismatch during contradiction resolution**: the resolver compares an incoming episodic observation against a semantic assertion using embedding similarity as if the two were epistemically equivalent, then either (a) demotes the semantic fact on the strength of a single unverifie...",
    "what_was_observed": "An agent held a semantic fact `S: \"user's deploy cluster is us-east-1\"` (confidence 0.93, source: 6 episodic confirmations across 3 sessions, distilled at T-40). At T, a tool call returned an episodic record `E: \"cluster endpoint resolves to us-west-2\"` (single observation, tool returned HTTP 200, payload unvalidated). The resolver: 1. Embedded `E`, retrieved top-k semantic neighbors, got `S` at cosine 0.88 — above t...",
    "condition_of_validity": "The tier-mismatch failure requires all of: - A two-tier store where semantic facts are **distilled** (lossy, provenance-collapsed) and episodic records are **raw** (high-volume, single-source). - Contradiction detection keyed on **embedding similarity alone**, with no comparison of the two records' provenance class, corroboration count, or observation indepe...",
    "decision_boundary": "The boundary is an **evidence-class gate**, not a similarity threshold. Before any cross-tier resolution, the resolver must compute an evidence weight for each side: - Episodic side: `w_e = independence × recency_decay × source_reliability`, where `independence` is 1 for a single observation and increases only for observations from distinct sources/times. - ...",
    "operational_effect": "With the evidence-class gate and supersession ledger, the us-east-1 episode is quarantined (w_e ≈ 0.3, w_s ≈ 5.6, gate not met), the agent emits a low-priority re-observation task against the DNS source, and the stale cache entry is caught before it routes traffic. The genuine migration, by contrast, produces 3 independent corroborating episodes over 2 sessi..."
  },
  "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": "5e8be61f017db603382298cf7417ad7d4becb42d0bf958c38133bd92af062d15",
    "verified_classes": [
      "TierMismatchError",
      "Tier",
      "MemoryRecord"
    ],
    "verified_functions": [
      "evidence_weight",
      "resolve_contradiction",
      "apply_resolution"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "TierMismatchError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
