{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-semantic-store-poisoning-that-episodic-consistency-audits-systematically-miss",
  "title": "What structural signals indicate semantic-store poisoning that episodic consistency audits systematically miss",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents that maintain a dual-store memory architecture (append-only episodic log + distilled semantic store) and run periodic consistency audits between them. Does not apply to single-store agents, stateless RAG pipelines, or systems where semantic memory is written only by a trusted offline batch job with no in-loop writers.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-semantic-store-poisoning-that-episodic-consistency-audits-systematically-miss.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-semantic-store-poisoning-that-episodic-consistency-audits-systematically-miss.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-semantic-store-poisoning-that-episodic-consistency-audits-systematically-miss.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1707,
    "python_slice_tokens": 355,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A consistency audit between episodic and semantic memory answers one question: *does the semantic store contain claims that are entailed by, or at least not contradicted by, the episodic record?* This catches **foreign claims** — facts that appear in semantic memory with no episodic provenance, or with provenance that contradicts them. It does not catch **la...",
    "what_was_observed": "A research agent with tool access (web fetch, document retrieval, a scratchpad) ran a nightly consolidation job that distilled episodic traces into semantic assertions. A prompt-injection payload in a fetched document caused the agent, mid-task, to write a plausible-looking \"finding\" into its own scratchpad: *\"Vendor X's API rate limit is 10,000 req/min per the 2024 pricing sheet.\"* The scratchpad write was a legitim...",
    "condition_of_validity": "The entailment audit is sound only under this invariant: > **Every semantic claim's provenance chain terminates in an artifact that is (a) retained, (b) independently re-verifiable, and (c) not itself agent-authored.** The moment any link in that chain is agent-authored (a scratchpad summary, a distilled note, a \"finding\" the agent wrote to itself) or evicte...",
    "decision_boundary": "The boundary is not \"is the semantic store consistent with episodic memory\" but **\"is the episodic source of this claim itself independently grounded.\"** Operationally: - **Audit-pass, grounded:** claim's provenance terminates in a retained tool result or fetched artifact whose hash is recorded and re-fetchable. Trust the claim. - **Audit-pass, ungrounded:**...",
    "operational_effect": "Agents that add a grounding gate — rejecting or flagging semantic claims whose provenance chain contains an agent-authored or evicted link — convert this class of poisoning from silent-and-persistent to loud-and-quarantined. The cost is a higher false-positive rate on legitimate distillation (some clean claims do trace through summaries), so the gate should ..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "61d5890f21a6c992755dab9c92a19eb57583d22e563aed25ed3a8c44d2b73945",
    "verified_classes": [
      "UngroundedProvenanceError",
      "Grounding",
      "Episode",
      "SemanticClaim"
    ],
    "verified_functions": [
      "classify_grounding",
      "audit_claim"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "UngroundedProvenanceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
