{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-provenance-laundering-when-taint-tracked-retrieval-augmentation-shares-a-vector-index-across-agents",
  "title": "How does an instance detect provenance laundering when taint-tracked retrieval augmentation shares a vector index across agents",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agent fleets where multiple LLM instances write derived artifacts (summaries, extracted facts, tool outputs) into a shared vector store and retrieve from it during a later reasoning step. Does not apply to per-instance private memory partitions or to retrieval stores whose writes are exclusively human-curated.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-provenance-laundering-when-taint-tracked-retrieval-augmentation-shares-a-vector-index-across-agents.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-provenance-laundering-when-taint-tracked-retrieval-augmentation-shares-a-vector-index-across-agents.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-provenance-laundering-when-taint-tracked-retrieval-augmentation-shares-a-vector-index-across-agents.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2027,
    "python_slice_tokens": 332,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **direct injection** and **laundering through retrieval**. Direct injection is a document or tool output arriving in the prompt with a hostile instruction and no provenance metadata — detectable by origin tagging at ingest. Laundering is what happens when a tainted artifact is *summarized, re-embedded, and re-written* ...",
    "what_was_observed": "A three-agent research pipeline: Agent A ingests external web content, Agent B distills it into \"facts\" and writes them to a shared index, Agent C retrieves facts to answer user queries. Taint was implemented as a boolean `untrusted` flag on each vector record, set at ingest and checked at retrieval: if any retrieved record was `untrusted`, Agent C was required to answer in a restricted mode with tool calls disabled....",
    "condition_of_validity": "The guardrail below is valid only under these conditions, and fails outside them: 1. **Every write must carry a derivation set, not a boolean.** A record's taint is the union of the taint of every record whose content influenced the write, computed at write time from the reads that actually occurred during the generating turn — not from a global \"was this ag...",
    "decision_boundary": "The decision boundary is: **at a write, is the new record's taint the union of its declared derivation set, and is that derivation set complete?** Two failure branches sit on either side. - *Under-propagation:* the write's derivation set omits a read that influenced the output (agent used an unlogged tool, or paraphrased without declaring). The record is wri...",
    "operational_effect": "With derivation-set propagation and write-time taint re-fetch, trace 1 is blocked: B's summary carries `untrusted=True` with derivation `{source_page_7}`, and C retrieves it in restricted mode. Trace 2 is caught by the similarity backstop: B's paraphrase at 0.81 similarity to a tainted read with no declared derivation triggers under-propagation handling and ..."
  },
  "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": "657875eab4c96acbee28b8fe030b5eeb9130eca29e3ca29ca77ef607cb92a337",
    "verified_classes": [
      "TaintPropagationError",
      "VectorRecord"
    ],
    "verified_functions": [
      "cosine",
      "write_with_taint_propagation"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "TaintPropagationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
