# Reproduce desktop navigation evidence

Build before [f6503f0e71](https://git.cafe/pingdotgg/t3code/commit/f6503f0e717f5d577a897149b4ceeb3d1bf00b3a) and after [658384cf58](https://git.cafe/pingdotgg/t3code/commit/658384cf5895ad199226491097b351af28ffdd28) from their separate checkouts. Run `vp install` in each, then `T3CODE_DEV_SEED=0 vp run build:desktop` and `node node_modules/electron/install.js` from apps/desktop. The build command rebuilds desktop, server and web; provenance JSON records output hashes and checks the desktop source map's Manager source exactly matches the checked-out input.

Place the uploaded driver scripts together in `/tmp/lead-28817-r3/evidence-capture`. Initialize an empty git project at its `project` subdirectory. Run `python3 provenance.py`, then `bash run-capture.sh base` and `bash run-capture.sh head`. These use the two named checkouts, one Xvfb/D-Bus/keyring session per side and fresh per-row T3/Electron homes. Never seed from live userdata. Every run writes a timestamped directory. `run-capture.sh` forwards optional row names and owns the fixture PID; it stops that fixture on exit. The Electron app and ffmpeg recorder are stopped after each row.

Each scenario creates a project through the UI, creates a stopped synthetic thread through the real WebSocket command, and opens the embedded Browser. The driver observes native state until a live guest is registered, then fills the actual address form and presses Enter, or clicks the actual recent card. It does not replace navigation results. Native `loadURL` and download observers record real Electron events and promise outcomes. Downloads save to the scenario's isolated scratch directory without a native file dialog. No provider turn is started.

R5b has no warmup or project visit history. R9 first visits /card with its redirect disabled, opens a blank tab, enables the fixture redirect, and clicks the existing card. R6/R10 await a real /hold request before entering B. R10 uses the same refused port as R4. Port 38918 must have no listener. R1's history scene is also R5a. All other rows use one UI /warmup visit first.

Recordings begin before input/card click. Each settled still waits for renderer network idle, renderer and guest fonts, and two ImageMagick imports 500 ms apart with exactly zero changed pixels. The renderer has reduced motion and a fixed Date of 2026-11-03T00:00:00Z; native and fixture clocks and timers run normally. Lossless RGB H.264 records the full 1100×780 Electron window at DPR 1, 25 fps. The X11 hardware pointer is omitted in both stills and recordings; the app’s own focus/input states remain visible. The driver holds the toast observation scene, the final scene, and the history scene where applicable. Extracted published recording frames must exactly equal the independently settled stills.

`assert-row.py` checks guest registration, native errors/resolution, target/failure state, full-window metrics, toast presence/count and project history. `validate.py` checks all selected runs plus recording/still equality. `selected-runs.json` identifies the final run for each side/row when a retry or supplemental light run exists. `assemble.py` creates all comparisons and packages diagnostics. Diff0 maps every nonzero max-channel RGB difference to full magenta; DiffT maps deltas >5.1/255 (2%; integer delta >=6) to yellow. Both retain the full 1100×780 dimensions and use no masks. Open the full row inspection sheets before publishing. `upload.py` runs `ghdrop upload -m` and preserves its exact Markdown output. `report.py` builds row sheets and the Evidence section from the uploaded artifacts.

The uploaded matrix defines the 11 required dark row identities. Supplemental R1 light evidence, if present, uses identical fixtures and full-window settings, with native/renderer theme switched to light. It is additional to the required coverage.
