1995207470
macOS reports editor workspaces as /var/... while sessions are stored under /private/var/... (same for /tmp vs /private/tmp), so the lexical normpath comparison in _normalize_cwd_for_compare treated them as different directories and ACP history filters silently dropped a workspace's own sessions. Canonicalize with os.path.realpath; nonexistent paths (e.g. WSL-translated Windows drives on a Linux host) keep the previous lexical behavior since realpath(strict=False) is lexical for them.