It might make sense to port this logic to CLAide /c @alloy