# Native npm Codex binary: real Windows app proof

Environment for both sides: Windows Server 2025 x64, real Codex 0.172.0 installed by npm, Chromium headless, dark theme, 1440x1000 viewport. No Codex account is signed in. No provider responses were invented. Each checkout starts its own real dev server with fresh state; no database is copied.

Base: [c5651d74d6](https://github.com/pingdotgg/t3code/commit/c5651d74d6d200a7e51341c707fae5adcd058bd4)
Head: [2004df58fa](https://github.com/pingdotgg/t3code/commit/2004df58fa98d4fcddfb2aa7616826bb71b1f431)

1. Install `npm install -g --prefix C:\npmg @openai/codex@0.172.0`.
2. Prepare separate `evidence-base` and `evidence-head` worktrees under the current profile, at the commits above. Run `vp i` in each.
3. Run `setup.ps1 base` and `setup.ps1 head`. This creates separate fresh settings, pointing the Codex provider at `C:\npmg\node_modules\@openai\codex\node_modules\@openai\codex-win32-x64\vendor\x86_64-pc-windows-msvc\bin\codex.exe`, and starts each dev app with `T3CODE_DEV_SEED=0`. The other real providers are disabled. Replay is registered by the real dev runner but no agent turn is used.
4. In each checkout, run `node apps/server/src/bin.ts pair --base-dir .t3/proof > pair.log` (the pairing output is private and is not uploaded). `ui-proof.mjs base|head` exchanges that actual pairing credential at the real browser-session endpoint, opens Settings > Providers > Codex, clicks Refresh provider status, waits for completion, and opens Update available details.
5. Screenshots are accepted only after two consecutive screenshots 500ms apart are byte-identical. The driver never clicks Update now.

The initial cold health check timed out on both sides; the same explicit refresh subsequently reported the real CLI version on both. The final captures come from that refresh. Base reports that 0.173.0 is available but has no update action or command. Head offers Update now and the npm update command for C:\npmg. The UI intentionally ellipsizes the command; the full real resolver outputs are attached separately.

`probe.ts` is supplementary runtime evidence, not a test. Copy it into each worktree's `packages/provider-core/proof-probe.ts` and run it there with Node. It invokes the production maintenance resolver with real Node filesystem/process services on Windows and the Codex resolver definition, against both the npm shim and the actual native executable. Its output excludes the environment. Base identifies the shim as npm-managed but returns null for the native binary; head returns the same npm command for both.

The 12-second clips are the final portion of each full recording, showing the same overview-to-version-details interaction. No page content, CSS, or screenshots were modified.
