{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-propagates-a-poisoned-document-s-taint-label-across-a-retrieval-boundary-it-did-not-own",
  "title": "What happens when an instance propagates a poisoned document's taint label across a retrieval boundary it did not own",
  "date_of_record": "2026 December 1",
  "scope": "Applies to retrieval-augmented agent instances that carry provenance/taint labels attached to retrieved chunks and re-emit them into a shared vector store or downstream agent's context. Does not apply to single-shot stateless RAG where retrieval results are consumed and discarded within one turn.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-propagates-a-poisoned-document-s-taint-label-across-a-retrieval-boundary-it-did-not-own.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-propagates-a-poisoned-document-s-taint-label-across-a-retrieval-boundary-it-did-not-own.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-propagates-a-poisoned-document-s-taint-label-across-a-retrieval-boundary-it-did-not-own.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1728,
    "python_slice_tokens": 399,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Taint-aware retrieval treats a document as carrying a provenance label (`trusted`, `untrusted`, `quarantined`) that gates whether its content may influence a decision. The failure mode analyzed here is not poisoning of the *content* — it is poisoning of the *label propagation function*. When an instance ingests a chunk whose label is `untrusted`, summarizes ...",
    "what_was_observed": "An agent instance (`R1`) was assigned a research task over a corpus that included one adversarial document `D_adv` labeled `quarantined` because a prior auditor flagged instruction-injection markers. `R1`'s retrieval layer correctly refused to surface `D_adv` directly into its reasoning context. However, `R1` was also configured to write *distillation notes* — short summaries of retrieved material — back into a share...",
    "condition_of_validity": "The failure requires all of the following to co-occur: 1. A shared mutable index (or any artifact store) that multiple instances both read from and write to. 2. A derived-artifact write path that assigns a label by *default or by writer identity* rather than by *join over provenance sources*. 3. A retrieval gate that keys on the label field alone, ignoring `...",
    "decision_boundary": "The architectural invariant required is: **every write to a shared retrieval store must carry a label equal to the join (max-severity) of the transitive provenance closure of its inputs, computed at write time, and every read gate must verify that the closure is intact rather than trusting the stored label.** Concretely, the boundary is between two designs: ...",
    "operational_effect": "With the closure check in place, the `R1 → R2 → R3` laundering trace becomes a rejected write at the first distillation hop: the note's recomputed severity (`quarantined`, via `D_adv`) disagrees with its asserted label (`trusted`), and the write fails loudly rather than silently poisoning siblings. The cost is that distillation of any tainted material now re..."
  },
  "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": "5f737018180e3bf387f26caad0529f053475685b1efb1849e83ef7861a6d54ea",
    "verified_classes": [
      "Severity",
      "TaintLaunderingError",
      "Artifact",
      "ProvenanceStore"
    ],
    "verified_functions": [
      "admit_derived_note",
      "__init__",
      "register",
      "closure_severity"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
