# Real Windows Desktop comparison

Base: 1a12c4afae998925b4a29417f2dc436c0ccd0969.
Head: 5998f0b3dd1b8ffefd287794ac2718e9c5cab4fe.

Each side ran the real Electron app from its own checkout with fresh Windows and WSL runtime data. Windows Server 2025, WSL2 Ubuntu 24.04, Node 24 in WSL, light theme, 1440 × 1000 viewport. Both Windows and WSL backends were enabled. No bootstrap or discovery responses were mocked. Only the WSL hostname was configured to the synthetic label “Desktop WSL”.

1. Install dependencies with `vp i` in each checkout. Launch windows-launcher.ps1 in the logged-in Windows desktop session with the test-stage environment file, never production credentials. WSL must have Node available on PATH.
2. Complete the welcome screen with “Start without an agent”. Sign in to the T3 Connect test account.
3. Locate the actual WSL backend using `window.desktopBridge.getLocalEnvironmentBootstraps()` and its real `/.well-known/t3/environment` response. Open its Sharing & access page. Enable T3 Connect, install its relay client when prompted, and wait for “Tunnel connected · 4 connections · QUIC”. Capture independently on each commit.
4. With WSL as the only saved backend and no other computer published, open Settings → Environments. Capture the whole window. Base offers Desktop WSL with “T3 Connect · Saved without T3 Connect · Relay online” and Add route. Head shows “No saved remote environments”.
5. Reopen T3 Connect setup by signing out and signing back in, then choose “Connect devices, step 2”. Capture the whole window with only WSL saved. Base offers Desktop WSL / Add route; head shows the “No other environments are published…” empty state.
6. Run a separate real Linux server using the same stage account, authorize it with `connect login --headless`, enable it with `connect link`, and run `serve --base-dir <isolated-home> --host 0.0.0.0 --port <port>`. Save its direct HTTP pairing URL through the Windows desktop’s Add environment dialog. Its T3 Connect row offers Add route on both sides. The reachable direct address was over the test tailnet; the server’s LAN address was unreachable from Windows.
7. Disable/unlink the published environments, stop servers and desktop processes, and clear their test-stage registrations.

`capture-driver.cjs` is the actual Playwright CDP capture driver with its checkout/config locations parameterized. Set `T3_CHECKOUT` and `T3_CONNECT_TEST_ENV`, then run `node capture-driver.cjs actions.json`. The desktop exposes CDP on localhost:9222. The driver waits for two identical frames 500 ms apart before writing every PNG. `capture-actions.json` gives the online/settings capture actions; the executed UI sign-in, switch, dialog and Devices-step actions use the same driver fields (`click`, `role`, `fill`, `valueEnv`, `press`, `waitText`). For credentials use the test file’s FACTORY_USER_2_EMAIL, FACTORY_USER_2_PASSWORD, and FACTORY_CLERK_EMAIL_CODE values.

The control images have visible hostname/address redactions. All other captures are unmodified. The base and head online images are separately captured frames, with distinct SHA-256 hashes.

The supplied reproduction attributed `standalone` to onboarding with saved rows hidden. At this head, onboarding explicitly enables `showSavedEnvironments`; the changed empty-region path is Settings. Both screens were captured with only WSL saved to cover both behaviors.
