Model vs. Harness: What Actually Shipped My Browser City at 3 AM

At 2:36 AM my coding agent hit its five hour limit. Two features were half done, each in its own git worktree. The free LLM quotas for the game had died hours before. And I still wanted a production deploy and five launch videos before morning.

I didn't start over. I opened a different model, pointed it at the worktrees, the tests and the handoff log, and kept supervising. By sunrise it had finished both features, merged them without conflicts, deployed (that was v1.1.1, the game is on v1.7 now) and rendered the last five videos.

That night changed how I think about "which model is best". After building Living City Canvas, a real 3D Nagoya from PLATEAU map data that runs in a browser tab and that you control by typing, this is where I landed:

The model decides how good it can get. The harness decides if it actually works.

And if the harness is solid (worktrees, real tests, contact sheets, guards in code), the model becomes something you can swap.

The model part: a blind test

Anyone who says models are all the same never asked two of them to make a 3D scene look good.

In the game you type into a chat box and the city changes: weather, time, colors, 18 radio stations, shop signs, people, and small voxel objects you can drop on the street. The six built-in objects (drum kit, sofa, bed, house, dog, cat) worked, but they looked like boxes.

So instead of guessing, I ran a blind test. Claude Opus and Codex got the same voxel code, the same six objects and the same two lights (night and golden hour). Neither saw the other one's work. I rendered 12 pairs next to the old version, hid which was which, and picked shot by shot.

  • Opus won 10 of 12.
  • Codex won 2 (drum kit at night, house at night).

Blind test: before, Opus and Codex, cat and drum kit at night

Looking at the code shows why. Opus made choices nobody wrote in the spec: chrome rings and a logo on the bass drum, cymbals on stands, glowing eyes on a chubby shiba and a tabby cat, lit windows and a door lamp on the house, objects turned three quarters to the street, soft shadows in the corners. It even fixed thin parts so the cymbal stands stopped falling apart into floating blocks.

Codex's two wins were real too. Its night contrast looked great on wet streets. But the lesson was clear to me: taste and proportion come from the model. No unit test gives you art direction.

Where models lie: the red car

The same night showed the other side.

I typed drum kit. go!

Before the guards existed, two things happened. First, a weak fallback saw the word "drum", matched a rooftop water drum in the catalog, and dropped a giant black cylinder on the street. Later, the model couldn't find a drum kit, quietly put a red car there instead, and said in the chat: "A drum kit now sits right in front of you."

The real drum kit after the guards

Models are trained to sound helpful, not to check what's actually in your scene. Writing "please don't lie" in the prompt works most of the time. The rest of the time your player is looking at a car while the bot insists it's a drum kit.

The fix wasn't a better prompt. It was moving the truth into code:

  • Changes that don't match what was asked get thrown out before the engine runs them.
  • The reply gets checked against what the engine really placed. No room on the street? It says so.
  • Things the game can't do ("take me to Shibuya", "add multiplayer") get a plain no, instead of the city changing the weather just to look busy.

A reliability floor that costs nothing

Right before launch the free AI tiers ran out under playtesting. And burning an AI call on "make it snow" is silly anyway: it costs quota, adds delay and adds new ways to fail where no thinking is needed.

So I put a fast path in front of the AI. Plain code, zero tokens:

  • About 90% of real prompts never reach an AI. Weather, time, colors, all radio stations, camera, sign renames, undo and the built-in objects resolve in under 5 ms, in English, Japanese and Portuguese.
  • The AI only runs for actual creative stuff: custom moods, new voxel objects, talking to the characters.
  • Talking to a character (@Kenji: hello) can't accidentally change the weather anymore.

It's covered by 65 unit tests, including ones that prove creative prompts still go to the AI, plus 17 live browser tests.

Stuck inside a sofa

The other repeat problem was physical: you spawn an object and your character is suddenly inside it. I fixed it in three layers:

  1. Measure free space from the character's body, not from the camera.
  2. If you're already overlapping, there's always a way to walk out.
  3. Let people fix it themselves: select, move, rotate, delete. Dropping an object into a building or onto yourself turns it red and it snaps back.

| Selected, with the toolbar | Invalid drop, red snap back | |---|---| | Selected drum kit with toolbar | Invalid drop shown in red |

That part shipped with 33 browser tests: desktop drag, grid snap, the camera holding still while you drag, two finger rotate and walking with the left thumb on mobile.

The split

| | Model | Harness | |---|---|---| | 3D look | Shapes, details, angles (Opus 10 of 12) | Automatic captures, blind pick page, contact sheets | | Chat | New objects, moods, character talk | Zero token fast path, 65 + 17 tests, honesty checks | | Physics and UX | Feels right on desktop and phone | Spawn clearance, escape path, red snap back, 33 tests | | Shipping | Debugging, clean diffs | Separate worktrees, release build, security check | | Videos | Framing and timing | Mandatory audio and frame checks |

Exit code 0 lies

Early on I had everything in one long agent conversation, and when the context gets compacted, that's exactly where small bugs slip through. Moving work into separate git worktrees (one per feature) let two agents build the fast path and the object editing side by side and merge without conflicts.

The other lesson: don't trust logs for anything visual.

The first take of a launch video finished with exit code 0 and no errors. Then the contact sheet and the audio check showed four problems at once: two seconds of black at the start, no sound, legs gliding without walking, and a camera staring into a wall. Another take hid the sign rename behind a storefront.

Once checking the frames and the audio was mandatory, bad takes got reshot automatically, and six clean videos came out that night.

| Emotional whiplash, reshot | World hack, reshot | |---|---| | Contact sheet for the emotional whiplash video | Contact sheet for the world hack video |

The 2:36 AM handoff

How the night actually went:

  1. Evening: Antigravity (Gemini) ran the build until it hit a cooldown.
  2. Late night: Claude Opus took over, won the voxel test, tuned the pixel look and shipped v1.1.0.
  3. 2:36 AM: Claude hit its limit with two features in flight.
  4. 2:37 AM to sunrise: Antigravity came back, read the worktrees and the handoff log, finished both features, deployed v1.1.1 and rendered the last five videos.

No fancy multi agent framework. Just branches, worktrees, tests you can rerun, and contact sheets on disk. When the truth lives in the repo instead of in one model's memory, a rate limit at 2:36 AM is a one minute shift change.

What I'd tell any builder

  1. Put plain code in front of the AI for the predictable stuff. Save the AI for the creative part.
  2. Check honesty in code, not in the prompt. Never let the UI say something happened when it didn't.
  3. When looks matter, compare blind, side by side, same constraints.
  4. One feature per worktree. It also makes switching models painless.
  5. Look at the output. Frames, audio, screenshots. Exit code 0 doesn't see any of that.

Pick the best model you can for the ceiling. Then spend your real engineering time on the harness, because at 2:36 AM the harness is what ships.

Try it in your browser, no login, no download: living-city-canvas.pages.dev

The real harness in action: type anything into the live city and every change is validated in code before the reply prints.
v0.1 · Chapter 01
Nagoya in 16-Bit: Click a Link and Relax

Real PLATEAU Sakae & Shin-Sakae city blocks, wet neon asphalt, rain/snow/sakura, lo-fi radio, zero logins, zero paywalls.

v1.1–v1.7 · Chapter 02
Talk to the City & The 3 AM Harness

Type "drum kit" or "flying pigs" and watch the city obey, plus the blind Opus vs Codex voxel shootout and why guards live in code.

v1.9 · Chapter 03
Kyoto Living Ink: One Engine, Two Souls

Yasaka-dori uphill PLATEAU slope, Hokan-ji Pagoda, four live Japanese art mediums (Sumi-e, Ukiyo-e, Nihonga, Byōbu gold-leaf), and sculpted koi pond.

v1.9.2 · Chapter 04
My Room in ink and 16-bit neon

I wanted the camera to keep the shape of my room and lose the tangle of cables on my desk.

NEXT CHAPTER · PART 03 OF 04

Kyoto Living Ink: One Engine, Two Souls

How we pushed the exact same engine from 16-bit Nagoya to continuous Sumi-e × Ukiyo-e × Nihonga × Byōbu brushwork on Yasaka-dori.

Model vs. Harness: What Actually Shipped My Browser City at 3 AM | BALDAIA Technologies