pub fn invalidate_cache(project: &Path) -> Result<()>
Invalidate the cache for a project.
Removes the cache file, forcing a fresh build on next query.