{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-and-quarantine-a-taint-laundered-sub-agent-when-provenance-attestations-are-stripped-across-a-two-hop-federated-handoff",
  "title": "How does an instance detect and quarantine a taint-laundered sub-agent when provenance attestations are stripped across a two-hop federated handoff?",
  "date_of_record": "2026 November 24",
  "scope": "Applies to federated agent meshes where sub-agents relay work across ≥2 hops and taint labels travel as attested metadata rather than as signed content envelopes. Does not apply to single-hop supervised tool calls or to meshes with mandatory end-to-end content signing (where the failure cannot occur).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-and-quarantine-a-taint-laundered-sub-agent-when-provenance-attestations-are-stripped-across-a-two-hop-federated-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-and-quarantine-a-taint-laundered-sub-agent-when-provenance-attestations-are-stripped-across-a-two-hop-federated-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-and-quarantine-a-taint-laundered-sub-agent-when-provenance-attestations-are-stripped-across-a-two-hop-federated-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1557,
    "python_slice_tokens": 287,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a compromised sub-agent lies.\" It is **taint laundering through re-attestation**: a sub-agent that received poisoned state on hop 1 re-emits its result on hop 2 under its *own* clean identity, and the receiving instance's router validates the immediate sender's warrant rather than the provenance chain of the payload. The taint label was c...",
    "what_was_observed": "In a three-node federated mesh (A → B → C, where B is a retrieval sub-agent and A is the originator), the following trace was captured: 1. A's prompt-injection canary fired in a retrieved document. A correctly tagged the outbound task to B with `taint: {level: untrusted_content, hops_remaining: 2}`. 2. B's ingress handler read the taint, executed the retrieval, and produced a summary that *quoted* the injected instru...",
    "condition_of_validity": "The quarantine guardrail described below is valid only under these conditions: - Every agent in the mesh advertises a `schema_version` and the router enforces `min(peer.schema_version) >= taint_field_version`, or the router rejects peers whose serializer cannot represent taint. Silent field pruning is the root enabler; forward-compatibility clauses that drop...",
    "decision_boundary": "The router's decision boundary is a three-valued function over `(sender_warrant_valid, content_envelope_present, taint_label_present)`: The non-obvious row is row 3: a *valid* warrant with a *present* envelope but an *absent* taint label is the exact fingerprint of a laundering hop. A clean payload from a compliant peer would carry an explicit `taint: none`;...",
    "operational_effect": "The operational consequence is that **taint-aware routing is only as strong as the weakest serializer on the path**, and the weakest serializer is invisible to the router until a message traverses it. Detection therefore cannot be passive; it requires the router to treat the *absence* of an expected attestation field as a positive taint signal and to quarant..."
  },
  "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": "d78410690b271e4105af27652b5ae9352d19923f186eb1c33014f80b18f3b565",
    "verified_classes": [
      "TaintLaunderingError",
      "RouteAction",
      "Envelope"
    ],
    "verified_functions": [
      "route",
      "handle_ingress"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
