# Editable file drag-selection capture

Use a checkout at each commit, with dependencies installed by `vp i`.

1. Start that checkout with `T3CODE_DEV_SEED=0 vp run dev --home-dir "$PWD/.t3/manual-proof"`, saving its output to a local log.
2. Run `node seed.mjs <output-directory> <local-server-log> <web-origin>` from the checkout. This creates only synthetic data and starts one free Replay (dev) turn.
3. Run `node refresh-navigation.mjs <output-directory>` from the checkout to mint a fresh local pairing link.
4. Run `node driver.ts <output-directory>` from the checkout. It uses the checkout's installed Playwright browser. The private navigation file is local authentication material: never upload it or the server log.

The driver performs six rounds of downward selection from lines 65 and 5 and upward selection from line 385 in a 400-line file. It checks the native anchor after pressing the mouse, drags past the panel edge to autoscroll across virtualized windows, returns to a point inside the text, and releases. It uses Control+C and Control+V to paste into an independent visible textarea. It also clicks line 5, wheels until that caret is unmounted, then selects and copies a new visible line without a drag.

`observations.json` contains the actual clipboard text and the expected string computed from the pressed caret and the final pointer's caret position. `full` means exact string equality. `visible` means the selected visible rows remained highlighted before copying. The screenshot helper keeps stills only after consecutive PNGs taken at least 500 ms apart match; it freezes the custom caret's blink only for screenshots. The recording retains normal caret behavior.

The raw recording begins after sign-in, but may briefly display the thread details during file opening. Published videos must be trimmed to the evidence panel before upload, avoiding machine labels. Never upload the private navigation file or logs.
