encodeSessionCwd function
The per-project directory slug used under the sessions root
(/work → --work--). Public so sibling stores (e.g. the messaging
fabric root) colocate with the project's sessions.
Implementation
String encodeSessionCwd(String cwd) => _encodeCwd(cwd);