pub fn encode_project_path(project: &Path) -> String
Claude Code names each project directory after its path, with everything outside [A-Za-z0-9_] flattened to a dash.
[A-Za-z0-9_]