# Browser-test app capture for issue 46720

Run the same procedure in two dependency-installed checkouts: base 97d727c2364ee4650d705b3ae0eaeb0644ee6c80 and head 9d5002b53cb03cbbb16e4d6791e2d464c2344d03. Run them sequentially so both can use the same isolated server port.

1. `python3 instrument.py "$CHECKOUT" "$CAPTURE_DIRECTORY"`
2. From the checkout root, start the real server with `T3CODE_ENVIRONMENT_LABEL='Leaked live server' T3CODE_DEV_SEED=0 node apps/server/src/bin.ts --port 18773 --host localhost --base-dir .t3/evidence-final --no-browser`. This creates an empty database using that commit's migrations. Never point it at an existing user database.
3. From apps/web, run `T3CODE_PORT=18773 T3CODE_HOST=127.0.0.1 T3CODE_DEV_SEED=0 vp test run src/components/ChatView.browser.test.tsx -t 'opens a linked Linear issue'`.
4. Stop the server before starting the other side.

The existing repository reproduction supplies the synthetic project, three threads and linked issue, and drives the actual AppRoot in Chromium at 1400x900 in light mode. Only the socket uses the repository's existing fake environment; HTTP discovery still uses the real app and Vite proxy. No provider/account or service stand-in was added. Port 18773 replaces the report's occupied 3773 with an isolated real T3 server, preserving the leaked-port condition.

The capture hook records the browser context and takes initial-thread.png after mounting and linked-issue.png after opening the issue. Each still requires two byte-identical screenshots 500ms apart. The linked-issue capture includes an explicitly labeled diagnostic overlay displaying the real in-memory router path; it is instrumentation, not shipped UI. The existing route assertion is unchanged. No source changes are committed.

The normal scenario runner starts the app in development mode and cannot exercise a test-mode-only Vite configuration change. These captures therefore use the reported browser-test app directly. Test pass/fail counts alone are not the evidence: inspect the initial unavailable thread, environment labels and observed route in the captures and recordings.

Videos are trimmed to the rendered interaction, omitting initial compilation/loading and the post-test blank screen. Screenshots are unmodified.
