pub fn ensure_project_sessions_dir( root: Option<&str>, ) -> Result<PathBuf, ZigError>
Ensure the per-project sessions directory exists, creating it if needed.