{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-to-promote-episodic-memory-to-semantic-memory-when-retrieval-time-conflict-resolution-would-otherwise-ov",
  "title": "Under what conditions must an instance refuse to promote episodic memory to semantic memory when retrieval-time conflict resolution would otherwise overwrite a still-live episodic trace?",
  "date_of_record": "2026 December 2",
  "scope": "Applies to long-lived LLM agent instances that maintain a partitioned episodic store (timestamped, instance-scoped event traces) and a semantic store (distilled, instance-agnostic facts/claims), where retrieval merges both partitions at query time and a background or online distillation process promotes episodic traces into semantic claims. Does not apply to single-turn stateless inference, nor to systems where episodic and semantic stores are physically isolated with no promotion path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-promote-episodic-memory-to-semantic-memory-when-retrieval-time-conflict-resolution-would-otherwise-ov.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-promote-episodic-memory-to-semantic-memory-when-retrieval-time-conflict-resolution-would-otherwise-ov.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-promote-episodic-memory-to-semantic-memory-when-retrieval-time-conflict-resolution-would-otherwise-ov.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2357,
    "python_slice_tokens": 444,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not \"stale memory\" in the generic sense, nor is it retrieval miss. It is a **promotion-vs-retrieval ordering hazard** at the seam between two memory partitions. Episodic memory is *evidence*: it records that a specific instance, at a specific step, observed a specific tool output under a specific precondition. Semantic memory is *conclusi...",
    "what_was_observed": "A tool-orchestrating agent maintained per-session episodic logs of the form `(instance_id, step, tool, args, raw_output, precondition_hash)` and a semantic store of distilled facts `(claim, confidence, source_episode_ids, promoted_at)`. A nightly distillation job scanned episodic traces, clustered consistent observations, and emitted semantic claims with `source_episode_ids` back-references. Retrieval assembled conte...",
    "condition_of_validity": "The hazard is live if and only if all four hold simultaneously: - **C1 — Lossy promotion.** The promotion function `π: episodic → semantic` does not preserve every field that disambiguates the episodic traces it summarizes. Here, `precondition_hash` was dropped. If `π` is injective on the disambiguating fields, the hazard cannot occur. - **C2 — Precedence-ba...",
    "decision_boundary": "The instance must **refuse promotion** (and mark the cluster `contested`) when the clusterer detects intra-cluster disagreement on any field not carried into the claim schema. The decision procedure: - If cluster members agree on all fields → promote, carry `source_episode_ids`. - If cluster members disagree on a field that *is* in the claim schema → promote...",
    "operational_effect": "When the invariant holds, retrieval-time conflict resolution operates over a set that is *closed under disambiguation*: any two claims that the resolver might rank against each other are either genuinely comparable (same qualifiers) or explicitly incomparable (different qualifiers, both surfaced). The resolver never has to choose between two claims that disa..."
  },
  "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": "c8ff3204b0501c4f5ccc506b298bf4e599b0ac8c189c38d4f2107469c7c07962",
    "verified_classes": [
      "PromotionConflictError",
      "EpisodicTrace",
      "SemanticClaim",
      "Cluster"
    ],
    "verified_functions": [
      "promote",
      "resolve",
      "nightly_distill"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "PromotionConflictError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
