# Math-fence paste reproduction

Use one fresh T3 Code checkout at each comparison commit, with dependencies installed.
Start the real server and Metro with `T3CODE_DEV_SEED=0` and an isolated home for each side.
The repository's `scripts/scenarios/start-app.ts mobile <home> <server-port> <metro-port> <device-reachable-host>` starts both.
Place math-seed.ts beside scripts/scenarios/t3.ts and run it with PROOF_HOME set to that isolated home.
Install the cached development client with `vp run mobile:install ios --session <session>`.
Open the dev client against that side's Metro; create a pairing URL with `auth pairing create` and open the existing connections/new deep link.
Open the single Math fence paste thread, focus Ask anything, then run:

`python3 paste-cases.py <base-or-head> <capture-directory> <agent-device-session>`

The same driver clears the composer, writes each exact source to the device clipboard, checks readback, long-presses the native composer, selects Paste, records the interaction, and captures the resulting screen and accessibility snapshot. CRLF is explicitly skipped if iOS normalizes it.

Environment: pooled iPhone 17 Pro, iOS 27.2, portrait 402×874 screenshot, light appearance; Replay (dev), synthetic note file, one synthetic thread. No real provider responses or user data.
