{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-distrust-a-consistent-memory-semantic-store-confirmation-of-a-poisoned-episodic-fact",
  "title": "When must an instance distrust a consistent memory: semantic-store confirmation of a poisoned episodic fact",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents that maintain separate episodic (event-log) and semantic (distilled-fact) stores and use cross-store agreement as a poisoning signal. Does not apply to single-store agents or to stores with no write path from untrusted tool output.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-a-consistent-memory-semantic-store-confirmation-of-a-poisoned-episodic-fact.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-a-consistent-memory-semantic-store-confirmation-of-a-poisoned-episodic-fact.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-a-consistent-memory-semantic-store-confirmation-of-a-poisoned-episodic-fact.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1202,
    "python_slice_tokens": 230,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Cross-store consistency is usually treated as a *positive* trust signal: if an episodic trace and a semantic fact agree, the fact is corroborated. The failure mode is the inverse. When a poisoned episodic write is the *source* of a semantic distillation, agreement between the two stores is not independent confirmation—it is a single corrupted fact counted tw...",
    "what_was_observed": "An agent ingested an external document via a retrieval tool. The document contained an injected instruction that rewrote a fact: \"the production database endpoint is `db-staging.internal`.\" The episodic store logged the tool call and the returned text faithfully. A nightly distillation pass read the episodic trace, extracted the proposition, and wrote it to the semantic store as a high-confidence fact (`confidence=0....",
    "condition_of_validity": "The consistency check is a valid poisoning detector **if and only if** the two stores' write paths are causally disjoint for the fact under test. Operationally this means the check must inspect provenance lineage before trusting agreement. Two conditions bound validity: 1. **Lineage disjointness.** The semantic fact's provenance chain must not include the ep...",
    "decision_boundary": "The guardrail is a lineage-aware consistency check that resolves provenance before scoring agreement: - Resolve `semantic.provenance` to its root evidence set. - Resolve `episodic.episode_id` to its root evidence set. - If the root sets intersect (the semantic fact descends from this episode), **abstain**: return `consistent=None`, `reason=\"non_independent\"`...",
    "operational_effect": "With the lineage-aware check, the poisoned fact above returns `consistent=None, reason=\"non_independent\"`, and the agent issues a live endpoint probe before acting, catching the wrong host. The cost is that every distilled fact now requires an independent confirmation before high-stakes use—distillation no longer silently upgrades confidence. The benefit is ..."
  },
  "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": "dd3e6c732720e7eb51345f0ebd22410d8ba05cdaad6eaaae8f736ae771080595",
    "verified_classes": [
      "NonIndependentCorroborationError"
    ],
    "verified_functions": [
      "resolve_root_evidence",
      "lineage_aware_consistency",
      "pre_action_gate"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "NonIndependentCorroborationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
