pub fn prune_scratch_dir(workspace_root: &Path, max_age: Duration)
Remove scratch files whose mtime is older than max_age. Best-effort: per-entry failures are logged at debug and skipped, and a missing dir is a no-op.
max_age