# Desktop shortcut proof

Verified Linux Electron desktop, light theme, 1440x900 application window on Xvfb.
Base: 767f194fd9876afb2d2e08c884cf6b92b1bba286
Head: f0f8cda7c958e15e04db109be52f3a7c1360397c

Each checkout was installed with `vp i`, then run using `headless-desktop vp run dev:desktop` with T3CODE_DEV_SEED=0, a distinct T3CODE_DESKTOP_REMOTE_DEBUGGING_PORT, and distinct XDG_CONFIG_HOME. The dev runner used each worktree's own .t3. Existing agent history was deselected during onboarding. No live state was copied.

Scripts take checkout paths, debug ports, DISPLAY, and XAUTHORITY as arguments rather than embedding local paths.

1. Create an empty git repository named demo beside these scripts. Start page.mjs in a retained terminal.
2. Run `node seed.mjs CHECKOUT` for each fresh app. This configures the free replay provider through the real RPC, adds the synthetic project, and completes one replay turn. Retain the returned thread ID.
3. Run `node setup.mjs CHECKOUT DEBUG_PORT THREAD_ID` to finish onboarding without importing history, open the thread by its Electron hash route, and open Browser with Ctrl+Shift+J.
4. Size and position each application window with xdotool to 1440x900 at 0,0. Close its development tools before capture.
5. Run `node privacy-settings.mjs CHECKOUT DEBUG_PORT` on each app. This disables the environment-name item in thread details through the normal desktop settings bridge. It changes no keyboard behavior.
6. Run `node load-page.mjs CHECKOUT DEBUG_PORT` to enter the same local demo page in each Browser tab. Confirm its title is Shortcut demo page.
7. Run `node capture.mjs before BASE_DEBUG_PORT DISPLAY XAUTHORITY`, and the same command with `after` and the head's display and debug port. The driver records native X11 input and display pixels: click the guest field, wait for a stable capture, press Ctrl+W, and capture the result. It requires two identical PNGs 500 ms apart before retaining each still.

The final base run left the browser guest alive and visible. The final head run closed it and returned focus to the thread composer. Screenshots show the guest field's blue focus ring and its focus indicator before the shortcut. The videos include the native click and the same Ctrl+W action; capture.mjs is the exact final recording driver. Both recordings and all four retained screenshots were visually inspected before upload.

No repository code was edited or committed. macOS Cmd+W and Windows Ctrl+W were not run.
