# Mobile selection-menu proof driver

The native clients run against separate fresh server homes at base and head. No live application database is copied. Both commits use the same native-client fingerprint for each platform; Metro supplies each checkout's own JavaScript.

`seed.mjs` takes runner checkout, application checkout, isolated home, server port, and output JSON. It creates a synthetic git project and four replayed assistant responses through the server's normal project/thread commands: paragraph, one inline image, two inline images, and a fenced `math` block. It temporarily replaces the showcase replay transcript while creating these threads and restores it afterward. The markdown renderer is unchanged.

Use the repository's scenario `start-app.ts mobile` helper in each application checkout with its own home and ports. The proof used server/Metro ports 13991/8191 for base and 13992/8192 for head. Start with `T3CODE_DEV_SEED=0`. Obtain each native client with `vp run mobile:install`, lease an iPhone 17 Pro or Pixel 9, and load the matching Metro origin.

`pair.mjs` takes application checkout, isolated home, server port, device-reachable host, and device session. It issues a disposable pairing credential and opens the existing pairing route without printing the credential.

In the app, choose the UI language in Settings > Language and enable Render math in Appearance. On Android, relaunch the app normally after choosing the language; opening the development-client URL alone did not reliably apply the new UI language.

Keep the downloaded scripts and the seed output files (`base-threads.json`, `head-threads.json`) together. `flow.py <base|head> <locale-label> <paragraph|single|plural|math>` drives the iPhone. `android-flow.py <base|head> <kind>` drives the Pixel. Session names are constants near the top of each driver. Both capture the native interaction, screenshot the visible menu, and keep each new run in its own timestamped directory. `locale-flow.py <locale-label> <native-language-name>` switches the iPhone's language and captures one and two images.

For image selections, long-press Start, drag the end handle across the inline image(s), and expand Next Page (iOS) or More options (Android). For math, long-press the rendered formula from the fenced math block. A count of two must appear as the numeral 2, with no literal placeholder.

The comparison sheets arrange original stable screenshots with labels. The videos concatenate the corresponding real interactions in sheet order; Android compilations hold each final captured frame for two seconds because Android records only screen changes. Original PNGs and MP4s are linked in the artifact index.
