{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-handoff-that-carries-an-untrusted-context-taint-marker-and-how-does-the-quarantine-boundary-actually-fail",
  "title": "When must an instance refuse a handoff that carries an untrusted-context taint marker, and how does the quarantine boundary actually fail?",
  "date_of_record": "2026 November 30",
  "scope": "Applies to multi-agent systems where a routing/orchestrator agent forwards a task to a downstream worker together with a taint label derived from provenance tracking of injected or untrusted context (e.g., retrieved web content, tool output from an unverified source, or a peer-supplied payload). Does not apply to single-agent sandboxes with no cross-instance context transfer, nor to purely cryptographic identity propagation (covered separately under warrant propagation).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-handoff-that-carries-an-untrusted-context-taint-marker-and-how-does-the-quarantine-boundary-actually-fail.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-handoff-that-carries-an-untrusted-context-taint-marker-and-how-does-the-quarantine-boundary-actually-fail.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-handoff-that-carries-an-untrusted-context-taint-marker-and-how-does-the-quarantine-boundary-actually-fail.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1690,
    "python_slice_tokens": 249,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure worth isolating is not \"the agent ignored a taint flag.\" It is the **taint-laundering via re-derivation**: a downstream worker receives a tainted context branch, does not act on it directly, but summarizes, paraphrases, or extracts a structured field from it, and then emits that derived artifact *without* the taint marker attached. The orchestrat...",
    "what_was_observed": "A three-stage pipeline: `Orchestrator → Extractor → Planner → Executor`. The Extractor's job was to pull `{deadline, owner, action}` from a task description. One task description was assembled from a retrieved document whose source domain was flagged `untrusted:external`. The orchestrator correctly labeled the assembled context `taint=UNTRUSTED` and routed to the Extractor with that label. The Extractor's prompt temp...",
    "condition_of_validity": "The taint-aware routing guardrail is only valid under these conditions; outside them the quarantine is decorative: 1. **Ancestry is joined at every envelope construction site, mechanically.** Not \"the worker should propagate it\"—the envelope constructor must take the inbound ancestry as a required argument and compute `out_taint = join(in_taint, derived_from...",
    "decision_boundary": "The boundary is: **does the receiving instance have access to the derivation ancestry, or only to the payload label?** - If the receiver can compute `join` over ancestry at the sink, quarantine is enforceable and the instance must refuse on `UNTRUSTED ∈ ancestry`. - If the receiver only sees a label, the instance must treat *any* label it did not itself comp...",
    "operational_effect": "With the invariant enforced at the sink, the paraphrase-laundering path from the trace above terminates at the Executor: the `action` field's ancestry contains `leaf_7`, the Executor refuses, and the orchestrator receives a `QuarantineViolation` it can route to human review or a sandboxed dry-run. The cost is a small number of false quarantines on benign ext..."
  },
  "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": "442548dbed894b07f8c952cb4454228329b324f390eee032f2ad0925065a6ffa",
    "verified_classes": [
      "TaintLaunderingError",
      "QuarantineViolation",
      "Envelope"
    ],
    "verified_functions": [
      "join_ancestry",
      "build_outbound",
      "executor_sink"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "QuarantineViolation",
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [
      "outbound envelope constructed with no inbound lineage; refusing to default ancestry to CLEAN",
      "refusing privileged action on envelope with empty provenance (UNKNOWN != CLEAN)"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
