Low Risk
Test-only conditional skips; no runtime behavior changes. Coverage for skipped paths still runs on non-Windows hosts and via existing win32-mocked tests where noted.
Overview
Makes the server test suite pass on Windows CI/dev machines by skipping cases that cannot run there, without changing production code or altering assertions on macOS/Linux.
Each affected suite adds a windowsHost guard (HostProcessPlatform.defaultValue() === "win32") and wraps selected tests with it.effect.skipIf(windowsHost) / it.live.skipIf(windowsHost). Those tests still create real temp dirs with #!/bin/sh stubs (or chmod 0o755) and resolve them under a linux/darwin platform mock; on Windows the temp path’s drive letter breaks POSIX PATH splitting on :, and NTFS does not expose the exec bits the Linux branch checks.
externalLauncher.test.ts skips the bulk of macOS/Linux/WSL file-manager and xdg-mime scenarios; win32-mocked tests (e.g. .CMD fixtures, Explorer/PowerShell reveal) stay enabled. providerMaintenance.test.ts skips four PATH-walk capability tests that use shell stubs. AntigravityInstallation.test.ts skips one explicit-path resolve test. ResourceMonitorBinary.test.ts skips two override tests that depend on POSIX exec bits under a Linux mock.
Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit ebe89b26382b49528fe5db4e4843d3c2d4b6e5df. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).
Thread transfer impact#
✅ Thread transfer remains within every enforced ceiling.
Baseline: unavailable · PR result:
ebe89b2· Source CI: successScenario and decoded snapshot size
10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.