pub fn new_scratch_path(workspace_root: &Path) -> Option<PathBuf>Expand description
A fresh, unique scratch-file path under the workspace, creating the directory
if needed and pruning stale files first so the dir does not grow without
bound. Returns None on any IO error (offload is best-effort).