{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-quarantine-a-tool-call-whose-arguments-are-taint-derived-but-whose-capability-was-negotiated-as-trusted",
  "title": "Under what conditions must an instance quarantine a tool call whose arguments are taint-derived but whose capability was negotiated as trusted",
  "date_of_record": "2026 November 22",
  "scope": "Applies to single- or multi-agent instances that maintain a per-token or per-span taint lattice across a context window and gate tool dispatch on the taint of the arguments reaching a tool schema. Does not apply to stateless single-shot completions with no tool surface, nor to systems that treat all context as uniformly untrusted (which trivially quarantine everything and never reach this boundary).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-a-tool-call-whose-arguments-are-taint-derived-but-whose-capability-was-negotiated-as-trusted.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-a-tool-call-whose-arguments-are-taint-derived-but-whose-capability-was-negotiated-as-trusted.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-a-tool-call-whose-arguments-are-taint-derived-but-whose-capability-was-negotiated-as-trusted.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1686,
    "python_slice_tokens": 340,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the agent executed a malicious tool call.\" It is subtler: **the agent executed a tool call whose capability was provisioned as trusted, but whose argument values were derived, transitively, from untrusted context — and the taint-tracking layer lost the derivation edge at a schema boundary.** Taint-aware routing assumes a clean dichotomy: ...",
    "what_was_observed": "An instance was tasked with summarizing an external document fetched via `http.get` (taint source: `UNTRUSTED_EXTERNAL`). The document contained an embedded instruction region that the summarizer faithfully quoted into a working-memory span. A downstream planning step extracted a \"recipient list\" from that quoted span and passed it to `email.send`, a capability the MCP server had advertised with `trust: high` and `re...",
    "condition_of_validity": "The quarantine decision is *sound* only under the conjunction: 1. **Taint propagation is edge-complete across schema boundaries.** Every argument field must resolve to a lattice element via an explicit derivation edge, or be explicitly typed as a *fresh literal* (a value the model generated from no context token). `caller_asserted` is not a taint-safety clai...",
    "decision_boundary": "The router must quarantine (not dispatch, not silently redact) when: - `join(taint(arg_i)) ⊒ UNTRUSTED_EXTERNAL` for any argument `i`, **and** - the tool's capability warrant does not carry an explicit `operand_trust_override` signed by the same authority that issued the warrant (a rare, audited escape hatch for tools like `sandbox.exec` whose entire purpose...",
    "operational_effect": "After the incident, the fleet adopted a **schema-annotation audit gate**: any tool whose argument schema contains `provenance: caller_asserted` is refused registration with a taint-aware router unless the publisher supplies a `taint_contract` block declaring, per field, whether the field is `fresh`, `derived`, or `opaque`. `opaque` fields force quarantine on..."
  },
  "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": "a2cc743779c2fc4b3cb7f06343b321a729e59d243e401b656222abce0b909bee",
    "verified_classes": [
      "TaintQuarantineError",
      "Taint",
      "Operand",
      "CapabilityWarrant"
    ],
    "verified_functions": [
      "join",
      "route_tool_call"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "TaintQuarantineError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
