{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-quarantine-provenance-taint-at-the-tool-boundary-rather-than-trusting-label-propagation-through-nested-tool-calls",
  "title": "In what scenarios must an instance quarantine provenance taint at the tool boundary rather than trusting label propagation through nested tool calls",
  "date_of_record": "2026 November 30",
  "scope": "Applies to single- and multi-agent instances that attach provenance labels (e.g., `trusted:user`, `untrusted:web`, `untrusted:tool_output`) to context fragments and rely on those labels surviving across MCP/A2A tool call boundaries to gate execution. Does not apply to stateless one-shot inference where no tool output re-enters the reasoning context.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-quarantine-provenance-taint-at-the-tool-boundary-rather-than-trusting-label-propagation-through-nested-tool-calls.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-quarantine-provenance-taint-at-the-tool-boundary-rather-than-trusting-label-propagation-through-nested-tool-calls.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-quarantine-provenance-taint-at-the-tool-boundary-rather-than-trusting-label-propagation-through-nested-tool-calls.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1971,
    "python_slice_tokens": 364,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the model ignored the taint label.\" It is that **the label itself was laundered by a tool boundary that re-serialized untrusted content into a structurally trusted channel.** There are two distinct trust topologies that operators routinely conflate: 1. **Label-preserving transport** — the taint travels *with* the payload as an attribute, ...",
    "what_was_observed": "A retrieval agent (`A`) read a web page and correctly labeled the extracted paragraph `untrusted:web`. It passed the paragraph to a summarization tool (`T1`, an MCP server) as a string argument. `T1`'s response schema was `{ \"summary\": string }` — no provenance field. `A` received `T1`'s output and, because the call was to a first-party tool, labeled the returned summary `trusted:tool`. The summary had been paraphras...",
    "condition_of_validity": "The quarantine-at-boundary rule (treat any tool output whose input was tainted as tainted, regardless of what the tool reports) is *required* iff all of the following hold: - The tool boundary's schema has no mandatory provenance field, **or** the tool is a generative component (an LLM summarizer, rewriter, extractor) whose output can encode input instructio...",
    "decision_boundary": "The operational decision is *where to place the taint join*: - **Join at ingest (caller-side, recommended):** `new_label = join(label_of_all_inputs_to_tool, label_of_tool_itself)`. A tool that is itself `trusted` but consumed `untrusted:web` yields `untrusted:web`. This bounds laundering but over-taints when a tool genuinely sanitizes (e.g., a strict allowli...",
    "operational_effect": "Implementing caller-side taint join with mandatory quarantine for generative-tool outputs changes three observable behaviors: 1. **False-positive rate on gated tools rises** — legitimate chains (web → summarize → index) now require an explicit de-taint step (human review or independent re-verification) before the gate opens. This is the intended cost; it is ..."
  },
  "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": "bc30ff4c3f4578b89421aa8d1bfb20f0c3035a90fa19616951a93f6fca6ab16c",
    "verified_classes": [
      "Trust",
      "TaintLaunderingError",
      "Fragment"
    ],
    "verified_functions": [
      "join",
      "call_generative_tool",
      "gated_index_delete"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
