# Native SnapShots proof driver

Run each commit in its own worktree with dependencies installed. Use fresh data: `T3CODE_DEV_SEED=0 T3CODE_DESKTOP_REMOTE_DEBUGGING_PORT=9333 vp run dev:desktop`.
Finish onboarding (Windows: Start without an agent). Set PROOF_ROOT to that checkout. Use `node drive.cjs configure`, then `node drive.cjs reload` so the renderer reads the desktop settings. The configure action enables SnapShots with both Shift keys through the real desktop IPC.
Create an empty synthetic workspace and add it with `node apps/server/src/bin.ts project add <workspace> --title "Typing proof" --base-dir .t3`. Leave the New thread composer open. For matched empty drafts, `node drive.cjs discardall` discards synthetic sidebar drafts through their UI handlers; `node drive.cjs remove` removes any current composer captures. If clearing client storage, do that before enabling SnapShots and wait until the UI settles before configure/reload. Confirm `node drive.cjs state` reports shortcutRegistered=true immediately before recording. Dismiss provider compatibility warnings if present. `node clean.cjs` closes the app's DevTools window.

Start native Google Chrome 158.0.8127.89 with a fresh profile, no first-run/default-browser check, about:blank. Windows window: 1200x800 at 20,30; Mac default 1200x750 at 22,53. Desktop T3 window defaults (1100x780). Theme: light. macOS screen 1440x900, Windows screen 1920x1080.

Record the whole desktop, then run the same platform input driver on each commit. Windows: `powershell -File windows-capture.ps1 <side>` (5fps screenshot sequence), then `powershell -File windows-input.ps1 <side>` in the logged-in desktop session. Encode JPGs using ffmpeg at 5fps. macOS: ffmpeg avfoundation screen input at 10fps, 40 seconds; wait 9 seconds for capture initialization, then `osascript -l JavaScript mac-input.js`. Encode/remux to MP4. Drivers post native key events; they do not mock the SnapShot worker.

Input sequence: focus Chrome and select its address bar; hold left Shift 150ms, tap A, release (control). Repeat three times: focus/select address bar, left Shift down, wait 60ms, A down for 10ms then up, wait 10ms, right Shift down, overlap 120ms, left Shift up, B down for 10ms then up, right Shift up; wait 3 seconds. Finish with both Shift keys held 180ms and no letters as a positive control. Each rolled attempt begins after both Shifts have been fully released. Foreground app queries and videos show the outcome. Mac uses CoreGraphics HID events and System Events to query foreground; Windows uses user32 keybd_event and GetForegroundWindow.

The uploaded scripts parameterize output paths only; interaction logic matches the captured runs. No model turns are needed for this shortcut reproduction.
