Desktop updater proof driver

Prerequisites: two worktrees at the stated commits, dependencies installed with vp i, headless-desktop, Openbox, GNOME polkit authentication agent, ffmpeg, ImageMagick, xdotool, Python GTK3.

Build each worktree independently:
T3CODE_DEV_SEED=0 vp run dist:desktop:artifact --platform linux --target deb --arch x64 --build-version 0.1.12-nightly.20261123.5124 --output-dir OUTPUT --keep-stage

Put the official T3-Code-0.1.12-nightly.20261123.5138-amd64.deb next to these scripts as update.deb.
Generate client-seed.json with node seed.mjs CHECKOUT. This seeds only synthetic client preferences and skips importing real history; every run creates a fresh server database.
Run bash setup.sh BUILD.deb before each side or mode. It configures the package marker and loopback feed omitted by builds without publishing configured.
For native cancellation, do not install the delayed-approval rule.
headless-desktop node driver.cjs CHECKOUT before cancel
headless-desktop node driver.cjs CHECKOUT after cancel
The driver presses Escape in GNOME's real authentication dialog (native Cancel, exit 126), checks for a second prompt, and retries from the same cached download.
For successful installs, temporarily install delayed-approval.rules into /etc/polkit-1/rules.d, then use mode allow. The rule permits only a command referring to this fixture's cached .deb after eight seconds; dpkg is real.
Modes close and kill act after dpkg-query reports a transaction in progress. close sends Alt+F4; kill sends SIGKILL only to the app PID captured at launch. Both record the actual final dpkg state.
Remove the temporary polkit rule afterwards.

App window: 1440x900, light theme, top-left of a 1920x1080 Xvfb display. An external GTK panel below the app displays live package status and driver milestones. Recordings are cropped to 1440x1080. Native auth command/path text is masked for privacy; controls and the app are otherwise unchanged.

The driver uses Playwright's Electron launch and locators for setup. The Settings interaction during installation is a real X11 pointer click through xdotool. Its main-process probe is Electron evaluation from the external driver. Captures, not tests, are the evidence.

Supplemental GNOME runs set PROOF_GNOME=1. The driver exits GNOME's startup overview before starting. Mode force is used on base: it asks to close the blocked app, captures GNOME's real not-responding dialog, and selects its observed Force Quit button while dpkg is half-installed. It is not a way to synthesize unresponsiveness on head.
