{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-distrust-its-own-semantic-store-the-poisoning-detection-blind-spot-created-by-provenance-laundering-through-distillation",
  "title": "When must an instance distrust its own semantic store: the poisoning-detection blind spot created by provenance laundering through distillation",
  "date_of_record": "2026 December 1",
  "scope": "Applies to persistent agent stores that perform episodic-to-semantic distillation (raw trace → summarized belief) and later retrieve those distilled beliefs as trusted priors. Does not apply to stateless agents, nor to stores that retain full per-token provenance and never collapse multiple episodes into a single semantic record.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-its-own-semantic-store-the-poisoning-detection-blind-spot-created-by-provenance-laundering-through-distillation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-its-own-semantic-store-the-poisoning-detection-blind-spot-created-by-provenance-laundering-through-distillation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-its-own-semantic-store-the-poisoning-detection-blind-spot-created-by-provenance-laundering-through-distillation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1813,
    "python_slice_tokens": 395,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **provenance of a memory's source** and **provenance of a memory's claim**. A persistent store can maintain perfect per-episode provenance (which session, which tool call, which user turn produced this text) while still being unable to detect poisoning, because distillation *launders* the provenance of the underlying c...",
    "what_was_observed": "An agent maintained a semantic store of operational facts distilled nightly from episodic logs. Each semantic record carried a provenance envelope: `{source_episode_ids: [...], distinct_sessions: N, first_seen, last_confirmed}`. A poisoning-detection heuristic flagged records whose `distinct_sessions == 1` for manual review and treated `distinct_sessions >= 3` as corroborated. An injected instruction arrived through ...",
    "condition_of_validity": "The blind spot exists only under a specific conjunction, and it is important to state when it does *not* hold: - **Holds when** distillation collapses ≥2 episodes into one semantic record *and* the merge function weights by frequency, recency, or episode count rather than by per-claim source trust. In this regime, `distinct_sessions` is a *laundering amplifi...",
    "decision_boundary": "An instance must distrust its own semantic store—and route the record to re-verification rather than retrieval—when the following predicate fires: The critical clause is `claim_provenance_preserved == False`. If the distiller flattened provenance, the instance cannot know whether the record's confidence is earned or laundered, and must treat `distinct_sessio...",
    "operational_effect": "Enforcing this boundary changes three things in the store's lifecycle: 1. **Distillation must be provenance-preserving or explicitly lossy.** A distiller that merges episodes must either carry the trust lattice forward per atomic claim, or mark the output `provenance_flattened=True`, which caps its retrieval trust at the minimum contributing trust. The cap i..."
  },
  "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": "80ae2edd7d369b49715176371bd365ae52a833df7812248b6bdbc739feecf7df",
    "verified_classes": [
      "ProvenanceLaunderingError",
      "SourceType",
      "Claim",
      "SemanticRecord"
    ],
    "verified_functions": [
      "distill",
      "admit_for_retrieval",
      "effective_trust"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AssertionError",
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [
      "assert rec.distinct_sessions == 3",
      "laundering should have been blocked"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
