The game-gen/review overhaul round is complete: 3 commits, 1713 tests passing (18 added), typecheck clean, exec smoke 10/10. Two parallel line-by-line audits (game subsystem + providers/config/exec/routing) drove the work.
Game generation and review (the headline). The single worst defect was a port mismatch that broke QA for every scaffolded game: the bundled Vite scaffold pins port 5188 with strictPort, but both the canvas inspector and verify defaulted to 5173 — pixel QA probed a server that was never there. A new dev-server helper reads the actual configured port from vite.config.*, validates that QA URLs are local-only (the inspector would previously drive a browser at any URL, including the cloud metadata endpoint), and probes readiness first, so a dead server now reports "start npm run dev" instead of an opaque inspector stack — and a missing Playwright install gets a one-line install hint. Scaffolding got real safety: target_dir is workspace-contained (../../evil escaped before) and a non-empty target refuses without force (re-scaffolding silently clobbered edited files). The game floor now does what its own docs claimed: GLB validation recurses assets/generated/** and covers edited .glb files anywhere; missing-asset detection scans edited file contents (a reference written in an earlier turn escaped the diff-only scan); Babylon and React-Three-Fiber stacks are detected (bare "@babylonjs" never matched the exact-key dependency check); the bundle check runs on the final pass even on late recall rounds (broken imports shipped); and its temp dir no longer leaks every run. Telemetry invariants are honest now — unparseable input reports "not valid JSON" instead of substring-matching "error" into a phantom crash, NaN/Infinity positions and negative frame times are flagged, and an empty object no longer passes vacuously. The forge's rename operation migrates old artifacts instead of leaving a stale .glb/.forge.json pair that shadowed all future edits.
Providers, exec, routing. Headless exec ignored ollamaBaseUrl entirely, so a remote Ollama box worked in the TUI but never in --exec; it now resolves URLs identically to the TUI. The full /doctor could hang for minutes on a dead router (no timeout — now raced at 8s). NAXIL_PROVIDER resolves documented aliases and rejects unregistered custom:* slugs instead of crashing at client creation. Context Reduction stopped silently hiding tools: forge/browser/pro/video tools got real categories, and unmapped tools (MCP servers, new builtins) now appear in every category rather than defaulting into "run" and vanishing from the schema. Custom endpoint base URLs normalize the two classic footguns (…/v1/chat/completions pasted as base; bare host missing /v1), vision attachments sniff their real MIME type, microcompacted tool outputs keep a recoverable store id (a digest previously destroyed the only pointer to the full output), exec resume aborts cleanly on a corrupt session file and adopts the session's saved model, and skillPacks overrides passed to loadConfig are honored.
Everything is committed and pushed; the scratchpad records the round with the port-alignment and test-isolation lessons for future rounds.