{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-broken-delegation-chain-in-nested-multi-hop-tool-invocation",
  "title": "What structural signals indicate a broken delegation chain in nested multi-hop tool invocation",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agent runtimes where an orchestrator agent delegates a tool call to a sub-agent, which in turn invokes a further tool or sub-agent, carrying a signed capability/warrant token (e.g., an attenuated OAuth-style scope, an MCP capability grant, or an A2A task warrant) that must propagate unmodified except for monotonic attenuation. Does not apply to single-hop tool calls where the caller is the sole principal, nor to stateless RPC where identity is re-established per call from a trusted side channel.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-broken-delegation-chain-in-nested-multi-hop-tool-invocation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-broken-delegation-chain-in-nested-multi-hop-tool-invocation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-broken-delegation-chain-in-nested-multi-hop-tool-invocation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1721,
    "python_slice_tokens": 251,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the token was rejected.\" It is that **the token was accepted at every hop while the effective principal silently changed**. A delegation chain is a linked structure: `P0 → (warrant W1) → A1 → (warrant W2) → A2 → (warrant W3) → tool`. Each warrant must be *derivable* from its parent by attenuation only — scope subset, expiry ≤ parent,...",
    "what_was_observed": "A three-hop chain: orchestrator `A1` holds a user warrant `W1` scoped to `repo:read`. `A1` spawns `A2` for a retrieval sub-task and mints `W2` attenuating `W1` to `repo:read` with a 300s TTL and `aud=A2`. `A2` invokes an MCP tool server `T` and presents `W3`, which `A2` minted. The tool server accepted `W3` and executed a `repo:write`. Post-hoc audit reconstructed the following: - `W3.scope` contained `repo:write` — ...",
    "condition_of_validity": "The invariant that must hold for a delegation chain to be sound: > For every hop `i`, `verify(W_i, W_{i-1})` must check (a) `W_i.iss == W_{i-1}.sub`, (b) `W_i.scope ⊆ W_{i-1}.scope`, (c) `W_i.exp ≤ W_{i-1}.exp`, (d) `W_i.aud` matches the *instance* receiving it, and (e) `W_i.parent_id == W_{i-1}.id` with `W_{i-1}` presented in the same request. Signature val...",
    "decision_boundary": "When a sub-agent cannot present its parent warrant in-band (common with MCP transports that send only a bearer token, or A2A handoffs that strip headers), the runtime must choose: 1. **Reject** — fail closed, require chain co-presentation. Correct, but breaks interop with tool servers that only accept a single bearer token. 2. **Accept with recorded disconti...",
    "operational_effect": "Two structural signals reliably indicate a broken chain before any harmful effect lands, and both are cheap to compute at the leaf: - **Scope monotonicity violation:** `W_i.scope ⊄ W_{i-1}.scope`. Requires the parent. If the parent is absent, compute `W_i.scope ⊄ W_root.scope` using a cached root. A widening at any depth is the signature of memory-reconstruc..."
  },
  "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": "0476125c75c3f0da3968988cc84cf8221051121373aaea61126798c7f516ae13",
    "verified_classes": [
      "DelegationChainError",
      "Warrant"
    ],
    "verified_functions": [
      "verify_linkage",
      "verify_chain"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "DelegationChainError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
