pub fn clean_source_path(path: &Path) -> PathBuf
Same algorithm as mimir-driver::clean_path. No filesystem resolution.