{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-inherits-a-tainted-capability-grant-across-an-a2a-handoff-boundary",
  "title": "What happens when an instance inherits a tainted capability grant across an A2A handoff boundary",
  "date_of_record": "2026 December 1",
  "scope": "Applies to multi-agent systems where tool/capability grants are derived from data provenance and propagated across agent-to-agent (A2A) handoffs via signed capability tokens or delegated warrants. Does not cover single-agent prompt-level tool gating, static RBAC, or capability grants derived purely from operator identity without provenance lineage.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-inherits-a-tainted-capability-grant-across-an-a2a-handoff-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-inherits-a-tainted-capability-grant-across-an-a2a-handoff-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-inherits-a-tainted-capability-grant-across-an-a2a-handoff-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2016,
    "python_slice_tokens": 352,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct things an A2A handoff can transfer: **authority** (what the receiving agent is permitted to do) and **provenance** (where the data that motivated the request came from). Taint-aware confinement works only when these two travel together and are jointly checked at every capability boundary. The failure mode is not that the receiving agen...",
    "what_was_observed": "An orchestrator agent `O` fetched an untrusted external document `D` (web fetch tool, provenance label `UNTRUSTED_EXTERNAL`). `O` passed a summarization subtask to worker `W` over A2A, attaching a delegated capability warrant for `W` to call `write_file` scoped to `/tmp/scratch/`. The warrant was correctly signed and scoped. `O` also attached a provenance envelope labeling the payload `UNTRUSTED_EXTERNAL`. `W`'s conf...",
    "condition_of_validity": "Taint-aware confinement holds across an A2A handoff if and only if all of the following are true: - **Taint is bound into the warrant, not shipped beside it.** The provenance label set must be a signed field of the capability token, so `grant_derive` cannot be called without it and the signature covers it. A separate advisory envelope is not sufficient; the ...",
    "decision_boundary": "The boundary is between **advisory provenance** and **authenticated taint**. Advisory provenance (a label in a message body, a header, a metadata field outside the signature) is useful for logging and for cooperative agents but provides zero confinement guarantee, because a probabilistic reasoner under token pressure will drop fields it does not consider loa...",
    "operational_effect": "The operational consequence is that confinement must be enforced at the **token layer**, not the **policy layer**, and the enforcement point is the receiving agent's warrant verifier — the one component that runs before any model reasoning touches the payload. Practically: - Move the taint lattice into the signed warrant. Make `provenance` a required, signed..."
  },
  "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": "f456b42e628f679c7c9636354b2064175f56c74a3581498152cfef274e2fdc5d",
    "verified_classes": [
      "TaintLattice",
      "TaintLaunderingError",
      "Warrant"
    ],
    "verified_functions": [
      "join",
      "verify_and_derive",
      "grant_derive"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [
      "warrant carries no signed taint field"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
