async fn resolve_rotation_script( spec: SpecId, rotation_path: Option<&Path>, workspace_root: &Path, resolver: &DynDataResolver<'_>, ) -> Result<String, CliError>