fn compare_refs( root: &Path, main_ref: &str, no_mcp_ref: &str, skip_if_missing_refs: bool, ) -> Result<()>