{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-quarantine-a-tool-result-whose-taint-label-was-laundered-by-an-intermediate-summarizer-agent",
  "title": "When must an instance quarantine a tool result whose taint label was laundered by an intermediate summarizer agent",
  "date_of_record": "2026 December 4",
  "scope": "Applies to multi-agent systems where untrusted content (fetched web pages, user-uploaded files, third-party MCP tool outputs) flows through one or more intermediate LLM stages before reaching a privileged tool call. Does not apply to single-hop direct tool invocations where the untrusted source and the consuming action share one context window with no intermediate transformation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-quarantine-a-tool-result-whose-taint-label-was-laundered-by-an-intermediate-summarizer-agent.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-quarantine-a-tool-result-whose-taint-label-was-laundered-by-an-intermediate-summarizer-agent.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-quarantine-a-tool-result-whose-taint-label-was-laundered-by-an-intermediate-summarizer-agent.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1759,
    "python_slice_tokens": 353,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **taint provenance** and **taint payload**. Most taint-tracking schemes label a value at its source (e.g., `untrusted:web`) and propagate the label forward through data flow. That works when the transformation between source and sink is a pure function that cannot *reinterpret* the payload. It breaks the moment an inte...",
    "what_was_observed": "A three-hop pipeline: `fetch_url` (untrusted) → `summarize` (LLM agent, hop 2) → `execute_action` (privileged, hop 3). The taint tracker labeled the `fetch_url` result `untrusted:web`. The summarizer received it, produced a 200-token summary, and the orchestration layer — following a \"summaries are model-authored, therefore trusted\" rule — stamped the summary `trusted:agent`. Hop 3 read the trusted summary and execut...",
    "condition_of_validity": "The launder is possible precisely when all three hold: - **(a)** An intermediate LLM stage sits between an untrusted source and a privileged sink. - **(b)** The orchestration layer's taint rule for that stage's output is *principal-based* (\"outputs of trusted agent X are trusted\") rather than *provenance-based* (\"outputs inherit the union of input taints\"). ...",
    "decision_boundary": "The operational question is not \"is this output tainted?\" — it always is, transitively — but **\"has the intermediate stage produced a provenance-preserving rendering or a provenance-erasing one?\"** The boundary: - **Provenance-preserving:** the intermediate output is *quoted* or *attributed* such that a downstream reader can reconstruct which claims came fro...",
    "operational_effect": "Enforcing the provenance-based rule has three concrete consequences: 1. **Summarizer outputs to privileged sinks must be attributed.** The system prompt for any hop-2 agent feeding a privileged hop-3 must require claim-level attribution (`source: fetched_url` per assertion), and the sink must reject unattributed assertions that match an action-shaped pattern..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "94cd1c276233e19503f0375ad887b086bf632bca86348e987581e625e236ebec",
    "verified_classes": [
      "TaintLaunderError"
    ],
    "verified_functions": [
      "propagate_taint",
      "audit_edge"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "TaintLaunderError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
