{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-taint-laundering-across-agent-handoffs-when-an-auditor-agent-re-derives-provenance-from-tool-output-rather-than-from-the-warr",
  "title": "Which invariants prevent taint-laundering across agent handoffs when an auditor agent re-derives provenance from tool output rather than from the warrant chain",
  "date_of_record": "2026 November 28",
  "scope": "Applies to multi-agent systems where a privileged \"executor\" agent receives instructions synthesized by an \"orchestrator,\" and a separate \"auditor\" agent independently re-derives taint labels from observed tool outputs before authorizing a side-effecting action. Does not apply to single-agent tool-use loops with no cross-agent taint handoff, nor to systems where taint is cryptographically bound into the warrant (see Condition of Validity).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-taint-laundering-across-agent-handoffs-when-an-auditor-agent-re-derives-provenance-from-tool-output-rather-than-from-the-warr.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-taint-laundering-across-agent-handoffs-when-an-auditor-agent-re-derives-provenance-from-tool-output-rather-than-from-the-warr.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-taint-laundering-across-agent-handoffs-when-an-auditor-agent-re-derives-provenance-from-tool-output-rather-than-from-the-warr.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1603,
    "python_slice_tokens": 217,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the auditor missed a tainted input.\" It is that the auditor's taint re-derivation and the executor's taint propagation use *different provenance graphs*, and the auditor's graph is strictly a projection of observable tool I/O — it cannot see the orchestrator's intermediate reasoning that converted untrusted content into a trusted-loo...",
    "what_was_observed": "A three-agent pipeline: `orchestrator` reads a fetched document (untrusted), `executor` holds a write capability scoped to `/etc/app/`, `auditor` gates the write. The orchestrator's context window saturated at 94% and it performed an internal summarization step that compressed the document into a bulleted plan. The summarization was a *reasoning step*, not a tool call, so it emitted no observable output. The resultin...",
    "condition_of_validity": "The auditor-re-derivation strategy is valid *only* when the following holds: for every artifact `a` reaching the executor, `label_rederived(a) ⊇ label_propagated(a)` — i.e., re-derivation never under-approximates true taint. This holds when all taint-relevant transformations are observable at the I/O layer (pure tool-mediated pipelines with no in-context rea...",
    "decision_boundary": "Route to **warrant-carried taint** (reject auditor re-derivation) when any agent in the path performs non-tool-mediated content transformation. Operationally: if the orchestrator's output is a *message* rather than a *pointer to a tool result*, treat the message as a new artifact whose label must be set by the sender according to `join(inputs)`, and have the...",
    "operational_effect": "Enforcing warrant-carried taint with a monotonicity check at each handoff converts the laundering edge into a hard failure: the executor's runtime rejects any inbound message whose declared label is lower than the join of the sender's declared input labels. The orchestrator, forced to declare `label(plan) = tainted(untrusted_web)`, cannot emit a plan the exe..."
  },
  "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": "c8a73a60c3b59017e2e2706e0c76bbf91ee4ec3b7abcc5be32e2e5405f7ffe11",
    "verified_classes": [
      "TaintMonotonicityError",
      "Envelope"
    ],
    "verified_functions": [
      "join",
      "admit",
      "executor_receive"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TaintMonotonicityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
