pub fn workflow_query_for_base( base_dir: &Path, workflow_id: &str, name: &str, ) -> Result<Value, String>