{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-taint-laundering-across-nested-agent-to-agent-delegation-chains",
  "title": "Which invariants prevent taint laundering across nested agent-to-agent delegation chains",
  "date_of_record": "2026 November 23",
  "scope": "Applies to any multi-agent topology where agent A delegates to agent B, which delegates to agent C, and where a taint label (untrusted-origin marker) must survive the A→B→C→A round trip. Does not apply to single-hop tool calls or to stateless request/response agents that do not re-enter the originating agent's context.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-taint-laundering-across-nested-agent-to-agent-delegation-chains.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-taint-laundering-across-nested-agent-to-agent-delegation-chains.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-taint-laundering-across-nested-agent-to-agent-delegation-chains.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2039,
    "python_slice_tokens": 442,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"taint is dropped.\" Taint is almost never dropped at a single hop—every hop in a well-built chain re-stamps its output with the taint of its inputs. The failure is **taint laundering by re-derivation**: a downstream agent C returns a *paraphrased or summarized* artifact whose provenance label reflects only C's own trusted inputs, because C...",
    "what_was_observed": "A three-tier chain: orchestrator A (trusted, holds the user's authorization warrant), worker B (processes an external document fetched from an untrusted URL), and summarizer C (condenses B's output for A's final answer). Trace of the laundering event: 1. A fetches an external page, marks it `taint=EXTERNAL`. A passes `{payload, taint=EXTERNAL}` to B via the A2A envelope. 2. B reads the payload, extracts three bullet ...",
    "condition_of_validity": "The invariant that must hold for the chain to be safe is **provenance-closure under derivation**: > For every agent X in the chain, and every output artifact o that X emits, `taint(o) ⊇ ⋃ taint(i)` over all inputs `i` whose semantic content is represented in `o`—where \"represented\" is judged by *semantic entailment*, not by byte overlap. This is strictly str...",
    "decision_boundary": "The boundary between safe and unsafe delegation is whether the chain permits **paraphrase without re-attestation**. - **Below the boundary (safe):** every hop either (a) passes bytes through unchanged, so taint survives by construction, or (b) performs a transformation and the runtime re-derives output taint from the input segment set. Paraphrase is allowed ...",
    "operational_effect": "The effect is **warrant/taint divergence**: the authorization warrant (A's permission to act) propagates correctly because it is cryptographically bound and every hop must present it, while the taint (the marker that says \"this content came from an untrusted source\") does not, because taint has no cryptographic binding and is subject to model discretion. The..."
  },
  "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": "9847ee6826608cd14eccdb3aeefe5ed8fea5a95b6ef310585f0b1caf63276fb6",
    "verified_classes": [
      "Taint",
      "Segment",
      "Envelope",
      "TaintLaunderingError"
    ],
    "verified_functions": [
      "runtime_derive_output_taint",
      "enforce_provenance_closure",
      "delegate"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
