# Settings Pin search evidence

Compared base [c30c775536](https://github.com/pingdotgg/t3code/commit/c30c775536027d7beefa0a90dbdd76a1f08c46d9) with head [30c40ecc10](https://github.com/pingdotgg/t3code/commit/30c40ecc108a7a2815dae6a4a5cb8b3c6ae6cc8d) for [#44595](https://github.com/pingdotgg/t3code/pull/44595).

## Web

Use a disposable checkout of current origin/main, install dependencies with `vp i`, and copy each supplied `.e2e.ts` file into `scripts/scenarios/`. Each file contains one test. Run:

```sh
T3CODE_DEV_SEED=0 vp run scenarios:prove scripts/scenarios/settings-pin-search.e2e.ts --base c30c775536027d7beefa0a90dbdd76a1f08c46d9 --head 30c40ecc108a7a2815dae6a4a5cb8b3c6ae6cc8d --upload-command 'ghdrop upload'
```

Repeat with `settings-pin-search-locales.e2e.ts` for the nine translated locales. The language picker and search field are driven through the real UI. All projects are synthetic and are created through the server API. Search results come from the app's actual catalog. The 1.2–1.5 second pauses only make recordings readable; they do not decide the assertion.

Chromium: Linux, 1280×800, light theme. The English MP4 clips show the project-page searches and omit startup and the final assertion timeout. The complete screenshots also include General with All projects scope and the existing Pin switch. A Korean-capable font is required for readable Korean captures.

## Mobile

The scenario mobile engine could not start recording, so the captures use the real iOS dev client, driven manually and with the supplied `manual-pin-driver.py`. This driver needs Python with Pillow and the `agent-device` CLI. It reads and operates native UI controls; it does not import or replace the settings index. `mobile-locales.json` contains the translated queries entered through the UI.

Use two fresh app servers, one from each exact commit, with independent data directories and `T3CODE_DEV_SEED=0`. Copy the supplied `manual-start-pin.ts` beside the repository's `scripts/scenarios/shell.ts`, then start the server and Metro from the commit checkout with `node <runner-checkout>/scripts/scenarios/manual-start-pin.ts mobile <data-directory> <server-port> <metro-port> <device-reachable-host>`. It is the repository's start-app helper with Metro limited to two workers. Run the two commits sequentially. Seed each through the supplied `manual-pin-seed.ts` (copy beside `scripts/scenarios/t3.ts`):

```sh
T3_SCENARIO_APP_DIR=<commit-checkout> node scripts/scenarios/manual-pin-seed.ts <data-directory> <server-port> <device-reachable-origin>
```

The script creates one `server` project and one Replay thread. Its output contains a private one-time pairing link: use it locally and do not upload it.

Lease an iPhone 17 Pro through the device pool, install with `vp run mobile:install ios --session <session>`, open the dev-client Metro URL, and pair it to the isolated server. Open Settings, tap the native Search button, then run:

```sh
python3 manual-pin-driver.py base <new-capture-directory> --session <session>
python3 manual-pin-driver.py base <another-new-directory> --session <session> --mode mobile-locales.json --end-at fr
python3 manual-pin-driver.py base <next-new-directory> --session <session> --mode mobile-locales.json --start-after fr --end-at pt-BR
python3 manual-pin-driver.py base <last-new-directory> --session <session> --mode mobile-locales.json --start-after pt-BR
```

Repeat with `head` and the head app. Uninstall/reinstall the client between sides to reset preferences, then remove the retained base connection through Settings → Environments (iOS retains it after uninstall). Confirm there is one environment before capturing head. If the first language row shows System default instead of English, select English before starting the translated pass. Each still is retained only after two screenshots at least 500 ms apart are identical. The native English recording clips use 3× playback and cover the same three Pin queries. The mobile positive control is `overview`; `icon` is a web control.

Device: iPhone 17 Pro simulator, iOS 27.2, 402×874 screenshot points, light theme, one synthetic environment/project. The identical native dev-client fingerprint serves each commit's own JavaScript bundle. Close the device session and stop the servers when finished.
