# Windows mixed-case PATH launcher proof

Run on Windows Server 2025 with Node, vp, Git, and Playwright Chromium installed.

1. Create independent checkouts of base 361b6873abcc18146a387622a23212aeb3f93d0b and head fe8e6a92f443464618ac9b2464018c08f17330d8. Run `vp i` in each.
2. Run `fixture.ps1` once. It creates the intentionally synthetic `code.Cmd` batch launcher in case-sensitive `C:\cs-bin`. There is no installed VS Code launcher. Windows resolves `code hello` successfully.
3. Run `start.ps1 -Root <checkout>` for each checkout. This starts the real `vp run dev`, prepends the fixture directory to PATH, disables dev seeding, and uses an isolated fresh database. Retain the recorded spawn PID for cleanup.
4. Set `PROOF_PLAYWRIGHT` to an installed Playwright module and `PROOF_ROOT` to the base checkout. Run `node driver.cjs base`. Repeat with the head checkout and `node driver.cjs head`.
5. The driver mints a fresh pairing credential using the checkout's own CLI, pairs headless Chromium (1440x900, dark), reads real app WebSocket config frames, requests `server.getConfig`, and invokes `shell.openInEditor` with `editor: vscode` and `cwd: C:\cs-bin`. It queries fsutil, verifies the three casing variants, and tests Windows command resolution. The Windows control runs before clearing the launcher's invocation marker, so only the app's launch is counted afterward.
6. Each run writes a timestamped `proof-runs/<timestamp>/result.json`. These are selected server-output captures, not test results or reconstructed UI. The driver does not save pairing credentials or full config frames.

Base: only `file-manager`; launch fails with `ExternalLauncherCommandNotFoundError`; no launcher invocation.
Head: `vscode` and `file-manager`; launch RPC succeeds; the batch file records `--new-window C:\cs-bin`.

The editor menu itself and a real VS Code window were not exercised. This uses the same intentionally fake batch launcher as the reported reproduction, to test Windows command discovery and spawn rather than VS Code behavior.
