# Voice cleanup proof

Run each revision in its own worktree. Install with `vp i`. Put setup.json in the worktree's `.t3/userdata/settings.json` before startup. Start with `T3CODE_DEV_SEED=0 T3CODE_ENVIRONMENT_LABEL=Evidence T3CODE_ENVIRONMENT_MACHINE_KIND=laptop vp run dev`. This creates a fresh database; no user data is copied. The dev server auto-creates the synthetic server project. Open and pair the web client using the startup token.

Browser: Chromium, 1280x800 CSS pixels at 2x device scale, light theme. Run voice-driver.js in the browser with preview_evaluate. It supplies synthetic microphone audio using an oscillator and a synthetic speech recognition result through an Apple Speech bridge stub. It constructs the production VoiceInputSession with a synthetic draft. It does not replace cleanup, HTTP, error decoding, the controller, or the toast handler. It does not modify application source.

Begin browser recording, then run:

```js
window.evidenceFinished = false;
window.evidenceSession.stop().then(async () => {
  await window.evidenceAudio.close();
  window.evidenceFinished = true;
});
```

The real server calls real OpenCode using opencode/big-pickle. On both revisions OpenCode returns invalid structured output. Base warns only that the original transcript was added; head shows the OpenCode reason before that sentence. The driver's `window.evidenceTranscript` is `um so hello world` after both runs. The synthetic draft is not bound to the visible composer.

The recordings show the unchanged production toast, not a recreated toast. Captures are extracted from the recordings after the toast settles. No physical microphone, actual speech recognition, or UI dictation-button interaction was tested. No unit tests were used as evidence.

The separate driver.py records real HTTP responses, using startup pairing tokens from local server logs. Its output JSON files contain no tokens. Run it with the ports in its side/port list matching the dev servers. Do not upload server logs, which include pairing credentials and local paths.
