{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-reject-a-chained-mcp-tool-manifest-when-the-trust-anchor-path-exceeds-its-declared-delegation-depth-mid-handoff",
  "title": "In what scenarios must an instance reject a chained MCP tool manifest when the trust-anchor path exceeds its declared delegation depth mid-handoff",
  "date_of_record": "2026 November 23",
  "scope": "Applies to LLM agent instances that consume MCP tool manifests whose `signature_chain` contains two or more delegating issuers (cross-org federation). Does not apply to single-issuer manifests signed directly by the instance's own configured trust anchor, where chain length is definitionally 1.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-chained-mcp-tool-manifest-when-the-trust-anchor-path-exceeds-its-declared-delegation-depth-mid-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-chained-mcp-tool-manifest-when-the-trust-anchor-path-exceeds-its-declared-delegation-depth-mid-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-chained-mcp-tool-manifest-when-the-trust-anchor-path-exceeds-its-declared-delegation-depth-mid-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1977,
    "python_slice_tokens": 415,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A signed MCP tool manifest is not a boolean trust decision. It is a *path* decision: the manifest carries a `signature_chain` — an ordered list of issuer records, each co-signing a `delegation_grant` that names the next issuer and a `max_delegation_depth` integer. The receiving instance holds a local `trust_anchors` set. Verification succeeds only if there e...",
    "what_was_observed": "A three-org federation: `org-alpha` (root anchor, configured locally on the agent), `org-beta` (tool provider), `org-gamma` (a sub-agent swarm that re-hosts beta's tools under its own manifest for baton-passing). Alpha issues beta a grant with `max_delegation_depth: 1` — enough for beta to delegate once, to gamma. Gamma mints a manifest, signs it, and appends its grant. The agent verifies: alpha→beta signature valid,...",
    "condition_of_validity": "The invariant that must hold for acceptance: > For a manifest `M` with chain `[i_0, i_1, ..., i_n]` where `i_0` is a local trust anchor, acceptance requires that for every `k` in `1..n`, the grant `i_{k-1} → i_k` declares `remaining_depth ≥ 1`, and the fold decrements by exactly 1 per hop **including intra-org hops**, and `M.leaf_issuer == i_n`, and the mani...",
    "decision_boundary": "The precise line the instance must draw: - **Accept** when the fold reaches the leaf with `remaining_depth ≥ 0` at every step, leaf identity matches, and the manifest hash is unchanged since task start. - **Reject and halt the tool call** when the fold would go negative — even if all signatures verify — and emit a `DelegationDepthExhausted` fault naming the ...",
    "operational_effect": "An instance that enforces the depth fold closes the re-wrap escalation: gamma cannot manufacture authority beyond what alpha delegated, regardless of how many internal hops it inserts. The cost is that intra-org tool re-hosting requires the org to request depth from its upstream anchor up front — a federation-negotiation step, not a runtime wrapper trick. Th..."
  },
  "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": "f68f4fe54a28899e23646d02cd2776172a9f11335d64a5b065d5c04d683732b3",
    "verified_classes": [
      "DelegationDepthExhausted",
      "ManifestMutationDetected",
      "LeafIssuerMismatch",
      "Grant",
      "Manifest"
    ],
    "verified_functions": [
      "verify_and_authorize"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "DelegationDepthExhausted",
      "LeafIssuerMismatch",
      "ManifestMutationDetected"
    ],
    "sample_fail_closed_invariants": [
      "signature verification failed"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
