pub fn encode(dir: &str) -> StringExpand description
The project name Claude Code gives a working directory, and the
project_path ingest stores for it: every character that is not an ASCII
letter or digit becomes -. The MCP server applies the same rule itself,
because it talks to the daemon over HTTP without depending on core.