# Voice download progress proof

Base: [cc61cdb1e4](https://github.com/pingdotgg/t3code/commit/cc61cdb1e434ec4468468487abee5c422b535be4).
Head: [397ee6f1c0](https://github.com/pingdotgg/t3code/commit/397ee6f1c0d41cefb2584a20842fe53c287fd81a).

The web scenario drives Settings > Voice and a thread's microphone setup dialog in the real app. It seeds one synthetic replay project/thread using t3.project and t3.thread. Both commits run with fresh databases, Chromium at 1280×800, and the light theme.

`pace.cjs` is a Node preload that fetches the real pinned Moonshine Tiny archive from Hugging Face. It delivers its genuine bytes to the unmodified app in two pieces. It holds at 35,378,244 bytes, releases the last 88,668 bytes, then holds EOF, then holds the .part file's reads during the app's genuine SHA-256 verification. It never writes model status or changes rendered values. The actual partial-file sizes were checked during mobile captures. The archive completes verification and installation normally after release.

Set VOICE_PROOF_DIR to a fresh scratch directory. Place pace.cjs there and copy the scenario into scripts/scenarios in a checkout containing the current scenario runner. The scenario's scratch-directory literal was parameterized as VOICE_PROOF_DIR for publication; its UI steps and assertions are unchanged.

```sh
export VOICE_PROOF_DIR="$(mktemp -d)"
# Copy pace.cjs into "$VOICE_PROOF_DIR" first.
T3_SCENARIO_INHERIT_ENV=NODE_OPTIONS,VOICE_PROOF_DIR \
NODE_OPTIONS="--require=$VOICE_PROOF_DIR/pace.cjs" \
vp run scenarios:prove scripts/scenarios/voice-download-last-byte.e2e.ts \
 --base cc61cdb1e434ec4468468487abee5c422b535be4 \
 --head 397ee6f1c0d41cefb2584a20842fe53c287fd81a \
 --upload-command "ghdrop upload"
```

For native captures, each commit's own server and Metro ran from isolated checkouts and fresh homes. Install each checkout's matching dev client with `vp run mobile:install`. Lease Android Pixel 9 (Android 16) and iPhone 18 Pro (iOS 27.2), open the matching Metro bundle, and pair with the corresponding backend. The native fingerprints matched across the two commits; JavaScript came from each commit's own Metro server.

On both platforms: Settings > Voice > choose the paired environment > Local model > search Moonshine Tiny > Download > confirm. With phase 0, inspect the model row, read native accessibility attributes, close the model sheet and capture the local-model summary, then reopen the model sheet. The head iOS request joined the same real download being observed by Android on the head backend.

`transfer-control.py` takes --checkout, --home, --phase-dir, and one action: status (inspect actual model state and .part-file sizes), tail (phase 1: remaining bytes), eof (phase 2: begin verification), verify (phase 3: permit checksum reads), reset (remove this model through the app's authenticated API and return to phase 0). It obtains a temporary credential through the app's CLI and never prints that credential.

Native summary crops exclude environment addresses. Posters combine real screenshot crops with byte counts and platform labels. Native recordings use 4× playback and opaque address redaction. Android recordings are split into two segments; the held download continues between them. The iOS head export timed out and only the playable portion through the all-bytes state is published; its verification and completion were inspected in separate screenshots. iOS native accessibility observations are included in JSON. Android's capture helper omits numeric range values, and debugger inspection also failed, so Android announcements remain unverified. Other Progress consumers (ZipArchiveView and LoadingStrip) and the Electron shell were not exercised.
