pub fn memory_root(home: &Path, cwd: &str) -> PathBufExpand description
Resolve <home>/.oxi/memory/<encoded-cwd>/ for the current cwd.
Mirrors encodeProjectPath in omp’s index.ts:
let encoded = "--" + cwd.trim_start_matches(['/','\\']).replace(['/','\\',':'], "-") + "--";