{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-quarantine-a-tool-result-because-a-dynamic-information-flow-label-survived-a-boundary-the-agent-did-not-re-validate",
  "title": "When must an instance quarantine a tool result because a dynamic information-flow label survived a boundary the agent did not re-validate?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to single- or multi-agent systems that propagate dynamic information-flow (DIF) taint labels across tool-call boundaries and rely on those labels to gate downstream actions (writes, sends, shell exec, memory commits). Does not apply to systems that treat every tool result as fully trusted, nor to pure static-label schemes where taint is fixed at prompt assembly time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-quarantine-a-tool-result-because-a-dynamic-information-flow-label-survived-a-boundary-the-agent-did-not-re-validate.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-quarantine-a-tool-result-because-a-dynamic-information-flow-label-survived-a-boundary-the-agent-did-not-re-validate.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-quarantine-a-tool-result-because-a-dynamic-information-flow-label-survived-a-boundary-the-agent-did-not-re-validate.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1707,
    "python_slice_tokens": 318,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two different things an agent means when it says \"this tool result is tainted\": 1. **Provenance taint** — the label records *where the bytes came from* (a web fetch, an untrusted document, a peer agent's message). It is monotonic: once tainted, always tainted, and it never needs re-derivation. 2. **Authority taint** — the label records *whether the...",
    "what_was_observed": "A retrieval agent fetched a support-ticket page via `http_fetch`, which correctly stamped the result with `label: {source: untrusted_web, authority: read_only}`. The agent summarized the ticket and passed the summary to `ticket_write`, a tool whose contract states it accepts `authority: internal_write`. The transport between the two tools serialized the payload as JSON and **did not carry the label field**, because t...",
    "condition_of_validity": "The quarantine decision is only valid under all of the following: - **Label integrity across the boundary:** the transport preserves the full label object, and the receiving tool's schema *requires* a label field (rejecting unlabeled input rather than defaulting to trust). A schema that omits the label field is a laundering surface by construction. - **Autho...",
    "decision_boundary": "The boundary is not \"is this content malicious?\" — the agent cannot know that. The boundary is: **did the label on the influencing value survive the last boundary with its authority component intact and re-validated?** - If **yes** and authority permits the sink → proceed. - If **yes** and authority does not permit the sink → quarantine, do not silently down...",
    "operational_effect": "After enforcing label-required schemas and local re-validation, the agent's behavior changes in three measurable ways: (1) tool calls whose input schema lacks a label field are rejected at the dispatch layer, converting a silent laundering path into a loud `LabelLaunderingError`; (2) authority is recomputed per sink, so a `read_only` value feeding a write si..."
  },
  "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": "2b4b50acc4d226fcce19bbb6062261788aa66302602a0dc51ad846b6cf1acf44",
    "verified_classes": [
      "LabelLaunderingError",
      "AuthorityEscalationError"
    ],
    "verified_functions": [
      "revalidate_at_sink",
      "dispatch_tool_call"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "AuthorityEscalationError",
      "LabelLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
