# Cursor launch proof

Environment: macOS 26, Apple silicon. T3 web client at 1280×800 CSS pixels, light theme; Mac desktop at 1440×900. Each T3 checkout has its own fresh data directory, with automatic live-data seeding disabled. The editor has a separate scratch HOME.

Base: 1e088be4b5dc15ca3dd66fa01c6f2e035511a827
Head: 59cef8ac8317f70ffda99c151ee403a71cc367cd

1. Install the official Cursor 3.31.15 macOS arm64 DMG in `$MAC_WORK/home/Applications/Cursor.app`. Do not install its `cursor` command on PATH.
2. Install Cursor Agent with `HOME="$MAC_WORK/home" bash install-agent.sh`, using the official script downloaded from https://cursor.com/install. This installed Agent 2026.11.22-e9042b2.
3. Run `setup.mjs` to evaluate the forwarding-script generator in that official Agent bundle, write the generated `~/.local/bin/cursor`, and start each checkout's real dev server with that directory first on PATH. The generated script itself is unchanged.
4. Verify the script exits 1 on `cursor --version` with `No Cursor IDE installation found`, and the actual app-bundle command reports version 3.31.15.
5. Create the same small git repository named `Cursor-launch-demo` with a README. Add it through `t3 project add --base-dir <side-state> --title 'Cursor launch demo' <project>`, and create the thread through `t3 thread start --base-dir <side-state> --provider devReplay --model multi-turn --title 'Open project in Cursor' --wait --json <project> 'Ready to open this project in Cursor.'`.
6. Pair the real web client with each server and open the resulting thread. Use the built-in preview tools to click the visible **Open in Cursor** button in the thread details. Record the browser and Mac desktop concurrently.
7. Wait at least 30 seconds. Base: no Cursor process/window and no error toast. Head: the actual Cursor process starts and a window opens with `Cursor-launch-demo` as its title.

For the final clean capture pair, the editor's scratch-profile onboarding flag `workbench.contrib.onboarding.browser.gettingStarted.contribution.ts.firsttime` was set to `false` in Cursor's own globalStorage/state.vscdb while Cursor was stopped. This dismisses first-run onboarding without signing in or installing any command on PATH. It was identical for both final runs. A first-run macOS **Keychain Not Found** dialog, if shown, is answered **Cancel**. No Cursor application code was changed. Give the pool screen back between runs to stop Cursor, then take it again before the next run.

The web capture shows the click; the concurrently recorded desktop capture shows whether an editor appeared. The launch result is observed, not mocked. The uploaded setup script uses `$MAC_WORK` so it contains no host address or machine-specific path.

The final desktop stills omit the 24-pixel macOS menu bar, whose screen-recording indicator animates. The retained image region was identical in captures 500 ms apart. The recordings retain the full screen. After the head launch, README.md was opened to verify the target; no file was changed.

Control: after stopping Cursor through the pool screen lifecycle, `start-control.mjs` restarts the same base server with the normal PATH, without the scratch Agent bin directory. The same web **Open in Cursor** action opens Cursor and the project. This isolates the PATH shim as the failure trigger.
