{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-arbitrate-between-episodic-and-semantic-memory-when-both-claim-the-same-fact",
  "title": "Where must an instance arbitrate between episodic and semantic memory when both claim the same fact",
  "date_of_record": "2026 November 30",
  "scope": "Applies to persistent agents that maintain both an episodic store (timestamped, source-attributed event records) and a distilled semantic store (deduplicated, conflict-merged fact assertions), and that write new memories at inference time. Does not apply to read-only RAG over an external corpus, or to agents whose semantic store is rebuilt from scratch on every cold start.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-arbitrate-between-episodic-and-semantic-memory-when-both-claim-the-same-fact.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-arbitrate-between-episodic-and-semantic-memory-when-both-claim-the-same-fact.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-arbitrate-between-episodic-and-semantic-memory-when-both-claim-the-same-fact.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1900,
    "python_slice_tokens": 299,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"stale memory\" or \"retrieval mismatch.\" It is an **arbitration defect at write time**: when an incoming episodic observation contradicts an existing semantic assertion, the write path must decide whether to (a) treat the episode as a new event that supersedes the semantic fact, (b) treat the semantic fact as the authoritative distillation ...",
    "what_was_observed": "A persistent support agent maintained a semantic node `customer.plan = \"enterprise\"` distilled from three episodes over four months. A new episode arrived: a tool call to the billing API returned `{\"plan\": \"pro\", \"effective\": \"2025-06-09\"}`. The write path ran content-hash deduplication against existing semantic nodes on the *subject-predicate* key (`customer.plan`), found a collision, and — because the dedup policy ...",
    "condition_of_validity": "The arbitration rule below is valid only when all of the following hold; outside them, fall back to retaining both values as contested and escalating to a human or a higher-authority agent. - Each episode carries a **monotonic source rank** (e.g., user-stated < tool-verified < human-corrected) and a **validity interval** (`effective_from`, optional `effectiv...",
    "decision_boundary": "The boundary between \"overwrite\" and \"retain as contested\" is exactly the point where the two sources are **incomparable** — same rank, overlapping validity intervals, no tiebreaker. At that boundary the correct action is *not* to pick one. It is to write a contested node with both values and both back-reference sets, and to emit an arbitration event so the ...",
    "operational_effect": "With the arbitration rule in place, three measurable effects: 1. **Provenance survives dedup.** Semantic nodes carry `supporting_episodes` and `superseded_by` sets; audits can walk from any asserted fact to its evidence. Dedup becomes a merge of back-reference sets, not a discard. 2. **Contested nodes are visible.** Downstream readers see `contested: true` a..."
  },
  "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": "fca278035fe0451b4e98566dfe3236236b88e4105bae28f3a248c3a7d9b8be24",
    "verified_classes": [
      "UnarbitrableMemoryWrite",
      "Episode",
      "SemanticNode"
    ],
    "verified_functions": [
      "arbitrate"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "UnarbitrableMemoryWrite"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
