PR 31999 stale optimizer cache reproduction

Environment: Linux x86_64; Node 26.13.1; local vite-plus 1.4.0;
Vite 8.3.5; Vitest 5.0.5; Playwright Chromium headless (Google Chrome for Testing 156.0.8078.4).
No T3 server, database, user account, or model is involved in this runner defect.
Each commit was installed in its own fresh worktree using vp i.

Usage: python3 reproduce.py <checkout> <new-output-directory>
Start with no apps/web/node_modules/.vite directory.
The driver temporarily renames storage.browser.test.ts and
TypographySettings.browser.test.tsx to .held, runs the seven files named in
triage, records optimizer metadata, restores the files, runs all nine with
the existing cache, and runs all nine again as a warm-cache control.
Both source files are restored in a finally block.

The brief says eight files, but names seven initial files plus two restored
files; all nine named files were used. Current commits run 118 tests when
all nine load successfully.

Initial observed results:
Base 418e1ace0fc6edeb729cb094efb939603b958049: prime exit 0;
restored exit 1, optimizer reload, dynamic import and invalid hook failures;
warm control exit 0 (9 files, 118 tests).
Head 98466dfdef08bbe4de640f4e547069e87adec0c0: all three exit 0;
all three target imports present after priming; no mid-run optimizer reload.

Images and MP4s are faithful renderings/replays of captured command output,
not screenshots or recordings of T3's application UI. render.py wraps lines,
redacts checkout/home paths, and caps idle pauses at two seconds. Full event
timings, per-command logs, exit codes and metadata are included here.

Clean-cache repeat: base again reloaded and exited 1 (four failed suites,
including dynamic-import failures); its warm control passed 118 tests.
Head repeated priming and restored-file run without reload; restored run
passed all nine files and 118 tests.
