pub fn encode_project_path(p: &Path) -> String
Claude Code encodes the project path by replacing path separators and ‘.’ with ‘-’. e.g. /home/g/repo/x -> -home-g-repo-x, C:\Users\g\app -> C–Users-g-app