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