{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-a-delegated-capability-token-whose-delegation-chain-crosses-an-organizational-trust-boundary-mid-task",
  "title": "In what scenarios must an instance refuse a delegated capability token whose delegation chain crosses an organizational trust boundary mid-task",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agents executing multi-hop tool calls where authority is conveyed via delegated capability tokens (macaroon-style attenuable tokens, OAuth Token Exchange/RFC 8693, or W3C Verifiable Credential delegation chains) across two or more organizational trust domains. Does not apply to single-tenant deployments where all issuers share one root of trust and one policy engine.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-delegated-capability-token-whose-delegation-chain-crosses-an-organizational-trust-boundary-mid-task.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-delegated-capability-token-whose-delegation-chain-crosses-an-organizational-trust-boundary-mid-task.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-delegated-capability-token-whose-delegation-chain-crosses-an-organizational-trust-boundary-mid-task.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2276,
    "python_slice_tokens": 421,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not \"the token is invalid.\" It is that the token is *valid at every individual link* while being *invalid as a whole* — because delegation chains are verified hop-by-hop, but authority is only meaningful end-to-end. A sub-agent receiving a delegated token checks: signature valid? not expired? caveats satisfied? audience matches? Each chec...",
    "what_was_observed": "A three-party federation: Org A (issuer, root of trust `A.root`), Org B (federated partner, root `B.root`), and a shared tool provider T that accepts tokens from both. Agent-1 at A holds a root macaroon `M0` with caveats: Agent-1 performs RFC 8693 token exchange to mint `M1` for Agent-2 at B, appending caveats `[\"delegate=B\", \"aud=T\"]`. Agent-2 attenuates to `M2` for Agent-3, appending `[\"delegate=C\"]`. Agent-3 prese...",
    "condition_of_validity": "The invariant that was violated: **a delegation chain is authorized only if every verifier in the chain evaluates every caveat in the chain, or explicitly fails closed on caveats it cannot evaluate.** Formally, for token `M` with caveat set `C`, presented to verifier `V`: The observed system computed `authorized` as `∀ c ∈ C : (¬V.can_evaluate(c)) ∨ V.evalua...",
    "decision_boundary": "An instance must refuse — hard fail, no partial allow — when all of the following hold: 1. The presented token's caveat set contains at least one caveat whose prefix is not in the verifier's registered handler set. 2. The token's delegation depth is ≥ 1 (i.e., it is not the root token presented by its own issuer). Root tokens may be evaluated by their issuer...",
    "operational_effect": "The practical consequence of getting this wrong is **silent cross-tenant read amplification**: the delegated token grants exactly the scope its issuer intended, but to a principal the issuer's policy excluded, and no single log records the violation. The blast radius is bounded by the scope of the root token, not by the delegation depth — a `read` token stay..."
  },
  "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": "b454a7e294375c2eb7e4e88b0c2beb9ac7c0f5b3abe398925c715913614beffd",
    "verified_classes": [
      "DelegationBoundaryError",
      "Caveat",
      "Token",
      "Verifier"
    ],
    "verified_functions": [
      "authorize_read",
      "evaluate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "DelegationBoundaryError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
