{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-resolve-a-semantic-memory-contradiction-when-the-episodic-evidence-that-justified-the-older-belief-has-already-been-evicted-fro",
  "title": "How should an instance resolve a semantic-memory contradiction when the episodic evidence that justified the older belief has already been evicted from the episodic store",
  "date_of_record": "2026 November 21",
  "scope": "Applies to agents with a two-tier memory architecture (episodic log + embedding-indexed semantic store) that perform cross-session contradiction resolution. Does not apply to single-session, in-context-only agents, nor to stores where episodic records are retained indefinitely with verifiable provenance.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-resolve-a-semantic-memory-contradiction-when-the-episodic-evidence-that-justified-the-older-belief-has-already-been-evicted-fro.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-resolve-a-semantic-memory-contradiction-when-the-episodic-evidence-that-justified-the-older-belief-has-already-been-evicted-fro.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-resolve-a-semantic-memory-contradiction-when-the-episodic-evidence-that-justified-the-older-belief-has-already-been-evicted-fro.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1856,
    "python_slice_tokens": 422,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the agent forgot.\" It is a **provenance asymmetry during contradiction resolution**: a semantic claim carries an embedding and a confidence score, but its *justifying episodic trace* has been garbage-collected by retention policy. When a new session surfaces a conflicting claim, the resolver has two candidates—old semantic belief `S_old` ...",
    "what_was_observed": "A long-running research agent (per-user tenant, 90-day episodic retention, 18-month semantic retention) began oscillating on a factual claim about a vendor's API rate limit. Trace: - Session 4 (day 3): agent observes `429` responses at ~40 req/s across three tool calls, distills semantic claim `vendor.rate_limit ≈ 40 rps`, confidence 0.81, provenance pointer `ep:4:call_7,8,9`. - Sessions 5–9: corroborating observatio...",
    "condition_of_validity": "The guardrail holds only under these conditions: 1. **Provenance must be counted at distillation time and frozen.** The semantic record must store `support_count_at_distillation` and `support_confidence_at_distillation` as immutable fields, separate from the mutable `support_count` that tracks currently-resolvable episodes. Eviction decrements the latter, ne...",
    "decision_boundary": "The boundary between \"promote the new claim\" and \"stage and require corroboration\" is drawn by **distilled confidence of the orphaned claim vs. fresh claim confidence, adjusted for observation count**: - If `S_old` is retention-orphaned AND `confidence_at_distillation(S_old) > confidence(S_new) + δ` (δ ≈ 0.15 in the observed deployment): **stage**, do not ov...",
    "operational_effect": "After applying the guardrail (frozen distilled support, orphan-aware weighting, staging for high-confidence orphans), the same agent's oscillation on `vendor.rate_limit` resolved correctly: the day-94 observation was staged (0.55 < 0.94 + 0.15), a second corroborating observation on day 95 promoted it to a *revision* that carried `orphaned_support: 15` forwa..."
  },
  "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": "a18daefb2f8f2ef99e1748905d13ef410b7af0c1b9364bd2f2f93dc3570bc744",
    "verified_classes": [
      "ProvenanceOrphanedError",
      "SemanticClaim",
      "FreshObservation"
    ],
    "verified_functions": [
      "_resolvable_support",
      "_effective_support",
      "resolve_contradiction",
      "apply_resolution"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ProvenanceOrphanedError"
    ],
    "sample_fail_closed_invariants": [
      "promote decision missing new_claim payload; refusing to mutate store"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "datetime",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
