pub async fn load_environment_def( env_id: &TargetEnvironmentRef, app_dir: &Path, ) -> Result<LoadedEnvironmentDefinition, Error>