用子 agent 做评审。在 Claude Code 里直接说「开一个子 agent 来评审」就行。这招也不是百分百客观,毕竟给它看什么材料,还是写代码的那个 agent 挑的;但它没看过源码,也没听过前面那些解释,看出哪不对就直接挑刺。
能连着跑几个小时。云端的 Claude Code 接了一个任务就能一直往下跑;上下文满了会自动压缩总结接着干。每一轮的结果都存在 git commit 和记忆文件里,压缩后也不丢。
下面是我自己额外搭的环境,不照搬也行:
agent 跑在云端。我用的是 Claude Code 的云端版(claude.ai/code)。改代码全在隔离容器里,碰不到我的电脑和线上网站;权限开的是自动模式(auto mode),只要我没发话让它合并,什么都不会上线。
给它一双眼睛。不过有一件事云端干不了——出图。云端没有显卡,截一张图得等半分钟到一分钟,渲染出来还跟真机不一样,早期很多改动它自己根本没「看」过一眼就交上来了。现在云端 agent 会用 Claude Code 的 Remote Control(远程控制)连上我本地的 Mac,只负责截图、录视频、测速度这几件事,用真显卡在后台跑完,再把结果传回去。
一个主控协调 + 一件事开一个对话。我平时只跟一个 Claude 聊(用的是 Claude「项目」功能里负责统筹的那个)。我交代一件事,它就单开一个 Claude Code 对话去做,做完把改动交上来,我看过再合并。没有这个功能也能这么搭:开一个主对话专门拆任务,每件活儿单开一个对话、拉一条新分支,做完提 PR。
拿真人视频当标准:我找了几段真人滑单板的视频交给它,主力是同一位滑手的两段连续转弯,再补几段公开视频把各种滑法覆盖全。它找了个能从视频里估算 3D 人体姿态的模型,把每个弯的动作数据全量出来,做成一张表:前刃、后刃,搓雪、刻滑,各自对应的身体倾角、膝盖和手臂位置。因为单机位量不准前后深度,这些数只当范围用,不当姿势照抄。既然知道哪些地方容易量偏,每次改动就必须同时过两把不同的尺子才算数。最终规矩是:游戏里每个弯都必须落在这位滑手的动作范围内,全部通过才准交给我试玩。
「从视频里量姿势」实际长这样:四段公开单板视频里的后刃刻滑,从浅到深,每一帧上都叠着模型估出来的蓝色 3D 人体,上方是量出来的身体倾角、膝盖和髋部角度。这些数只当范围用。
I built a 1.5 MB, zero-asset 3D ski game in 3 days with no game dev experience: I don't write the code, I design the loop
I trained as a designer before switching to programming. I'd never made a game, and I was starting from scratch on 3D. On November 11, I started building a ski game that runs in the browser. Three days later, it looked like the screenshot above. The whole game is a 1.5 MB web page with not a single image, model, or sound file. The mountains, trees, sea of clouds, wind, music, and skier are all generated by code right on your device. Most of the later iterations ran while I slept. Every prompt I used is below.
1.5 MB total · 3 days to a demo · 30 builds · 13 unattended rounds in one night (snowboard dev build)
Six of the 11 rounds from day one, showing the first frame from each round's comparison image. Round 1: the mountain looks like white plastic. Round 3: a sea of clouds, but the spray is still a wall of cotton. Round 5: trees and the distant city. Round 7: into the trees. Round 9: the light and sky come together. Round 11: close to how it looks now.
It started with a tweet
On November 9, Felix Rieseberg from Anthropic posted this: x.com/felixrieseberg/status/2119925633564463609. From a single prompt, Claude Fable 5.2 ran on its own for about 8 hours and built Saltline, a 3D shooter. The whole thing is a roughly 1.4 MB web page with every model, texture, and sound generated in code, costing about $550 at API rates.
I thought: if one prompt and 8 hours can produce that, what could one person build by steering agents for several days? I hadn't been snowboarding in five years and missed that feeling of just riding down a mountain. So on November 11 I started this project.
I used Claude Code, running mostly Claude Fable 5.2 early on and Claude Opus 5.5 later. His run cost about $550 at API rates, while mine wasn't billed through the API at all. It took one week of Fable 5.2 quota on an Ultra subscription, plus 3 quota resets.
Why it fits in 1.5 MB
First, to answer the question everyone asks when they see "1.5 MB." Most games store finished assets: terrain maps, models, textures, and audio recordings. That's why they take up tens of gigabytes. The big ski game Cold Smoke is aiming to match visually takes up 25 GB. Cold Smoke does the opposite: it stores the method, not the result.
Drawn to scale by area: the circled dot on the right is 1.5 MB, one sixteen-thousandth of the 25 GB square on the left.
The mountain. Start with "repeatable" randomness: the same spot always gives you the same number. Connect those points smoothly and you get a rolling curve called noise. Stack a few finer, smaller layers on top and detail builds up on its own. Fold the noise over and the creases become sharp ridges.
A slice through the mountain: four steps from random heights to ridges, each building on the last. The game runs this across the whole terrain, and the result is the mountains below.
The whole mountain is this set of formulas plus one number. That number is the seed. Change the seed and you get a different mountain.
Same code, just a different seed each time: four different mountains.
Trees. Nobody placed a single tree. The terrain is divided into 4.5-meter cells, and each cell "rolls a die" using the seed. A cell always rolls the same number, so none of the trees have to be stored. Rules decide where trees grow: denser off the run, none above the tree line, and a clear path down the middle. The runs are generated by rules too.
Top-down sketch: triangles are cells that got a tree; gray dots are cells that didn't (either the roll missed or the cell is above the tree line).
Lighting. Every pixel on screen calculates its own color on the fly: whether it faces the sun, whether a mountain casts a shadow on it, and how much fog sits in front of it. Nothing about the lighting is stored. Move the sun, and the same spot shifts from dawn to night.
The same spot at six different times of day. Only the sun's position changes (and the headlamp turns on after dark), while each pixel recalculates its sun angle, shadows, and fog.
Sound. Not a single second of audio is recorded. Make a number swing back and forth and you get a tone; round off the harsh edges, then shape how it starts and fades out. The wind is just noise with the high frequencies filtered out. The music has five layers, and the faster you ride, the more of them come in.
How one note is generated: ① swing → ② round it off (the faint line is the raw wave before rounding) → ③ give it a start and a fade. ④ is a separate sound: the wind.A sketch of the five layers stacking up as you pick up speed; the order shown here is just an example.
The two in-game screenshots above come from an earlier explainer video (captured on a real GPU); the rest are diagrams.
This matters for everything that comes next. Because the whole game is code, nothing waits around for a human to make assets. For the agent, a single round just means tweaking a few formulas. It can swap the seed to test on a new mountain, take screenshots, run measurements, and compare before and after completely on its own. If the mountain, trees, and motion were hand-made assets, every round would stall waiting on a person to redo them, and the agent could never get through a dozen rounds in one night.
I walk through how all of this works in more detail in an earlier explainer video (in Chinese, on Xiaohongshu). This post is about how I steer the agents.
1. My role and the loop
I only do four things myself, and none of them can be delegated: define the outcome (not "make a ski game," but "a hard turn against the sun throwing up a cloud of snow that actually looks real"), set the standard (real photos and video, and later real snowboarding footage), play and complain, and write the rules (every new class of mistake becomes a rule every agent has to follow). The agents handled everything else: researching, coding, measuring, testing, taking screenshots, and reviewing each other's work. Agents wrote every line of the game's code. All I actually look at are comparison images, a few numbers, and playable builds.
It's an old habit from my design days: pin up references, ask for two or three options side by side, judge them by eye, and don't draw every line yourself.
Two terms I'll use throughout:
Ruler: an automated check that outputs a number, like "visible jolts per minute in the skier's motion" or "percentage of frames where the skis sink into the snow." Rulers are how the agent knows whether a round made things better or worse.
Variant: two or three ways of doing the same thing (a, b, c), all built into the game so I can switch between them while playing.
The whole project runs on this loop:
Orange: the steps I own. Gray: what runs unattended while I sleep.
2. The first 3 days: concept to demo
I didn't ask for "a ski game." I asked for three shots. I only have so much attention to spare, so I wanted to get three shots looking right first and leave the rest for later. Here's roughly what my first prompt looked like (cleaned up so you can reuse it, like all the prompts here):
Build a 3D ski game that runs in the browser. Generate
everything in code: no image, model or audio files.
Start with just three shots:
1. Sunny, backlit, a hard carve throwing up a cloud of snow
2. (your shot here)
3. (your shot here)
After each round, take screenshots and place each one side by
side with real photos of a similar scene in a single
comparison image. Tell me
what you changed and where you think it still falls short.
I'll only tell you what doesn't look real.
Day one took 11 rounds; by day three, we had 30 builds.
The round 11 comparison image exactly as the agent delivered it (left edge cropped). Left: an unedited shot from the game. Right: two real reference photos the agent found on its own to compare against. Every round came back like this.
Early on, every "which one do you want?" stalled the agent until I replied. Whenever I stepped away, the whole project sat idle. That led to my second key prompt:
From now on, for any look-and-feel choice that needs my call,
don't stop and ask. Add a variant menu to the game with 2-3
options (a/b/c). Default to your recommendation, keep the old
one, and I'll toggle between them while playing. Give me one
line per variant: what it is and why it's worth picking.
That solved three problems: the agent never waits on me, I compare options by playing instead of reading descriptions, and if something new breaks, I can just switch back. The game now has over 90 variant toggles (players can try some of them in the game's Scene menu).
On night one, I let it run until morning for the first time:
I'm going to sleep. I'll check at 8 AM. Keep going and don't stop. Same rule as before: turn anything
that needs my call into variants. In the morning, have ready a
build I can play right away, a list of what changed overnight,
and comparison screenshots for each variant choice I need to
make.
Day 3 (November 14): sunset, first-person view, aurora at night, blizzard, sea of clouds, and a front view by the trees. All generated in real time by code, with no asset files.
After 3 days, the scenery, lighting, and core gameplay were pretty much what you see now. The skier's movement still looked fake, though, and that's where most of my time went next.
3. How it's wired up
First, the parts you can replicate with standard Claude Code:
Rules live in CLAUDE.md. Every rule goes in there, and every new session reads it at startup, so I never have to repeat myself. (In my setup it's a set of shared project memory files; same idea.)
One commit per round. Each round gets its own git commit, so rolling back just means reverting to the previous one.
The reviewer is a subagent. In Claude Code, you can just say, "Spawn a subagent to review this." It's not completely unbiased, since the coding agent still picks what to show it. Still, the reviewer has never seen the code or the excuses behind it, so it just calls out what looks wrong.
It can run for hours. A Claude Code cloud session stays on a single task; when the context fills up, it summarizes automatically and keeps going. Because each round's results live in git commits and memory files, nothing gets lost when that happens.
Next, my own setup (optional):
Agents run in the cloud. I use Claude Code cloud sessions (claude.ai/code). Code changes happen in isolated containers that can't touch my machine or the live site. I run Claude Code in auto-permission mode, and nothing goes live until I say "merge."
Give it eyes. The one exception is rendering. The cloud machines have no GPUs, so one screenshot took 30 to 60 seconds and didn't match what a real device renders. Early on, plenty of changes went out without the agent ever "seeing" them. Now the cloud agent uses Claude Code's Remote Control to open a background session on my Mac just to capture screenshots, record video, and run performance tests on a real GPU, then send the results back.
One coordinator, one session per task. Day to day I talk to just one Claude (Claude projects have a coordinator for this). I give it a task, it spins up a separate Claude Code session, and that session comes back with changes for me to review and merge. You can do the same thing without that feature: keep one main session just for delegating work, and give each task its own session and branch, ending in a PR.
The reviewer prompt:
You're the reviewer. Don't read the code. Look only at the
comparison videos, screenshots and numbers below.
Score each item 1-10:
1. Glaring errors: skis floating off or sinking into the snow,
joints bending past what a human can do
2. Smoothness: sudden snaps or jumps between frames
3. Likeness: compared to the reference video, where do the
lean, knees, upper body, and hands differ?
4. Style: relaxed or stiff, anything puppet-like
For each: where it differs from the reference, at what
timestamp, and which way to adjust it.
End with the three things to fix first. Don't be polite.
The agents write the rulers themselves; I only say what to measure. Take "is the motion janky?" To measure it, the agent records a fixed replay, logs every joint's position on each frame, and counts sudden spikes in acceleration. The prompt for building one:
Before fixing [the jittery motion], build an automated check
that boils it down to a single number by running a fixed
replay and outputting the score. Run it on the current build
to set the baseline, then run it a few more times to see how
much noise is normal. Report this number after every round; if
it gets worse than the previous round beyond normal noise,
don't deliver it.
Rulers we used:
Is the motion janky? Visible jolts (sudden snaps) per minute (88 → 9.4)
Do the skis stay on the snow? Percentage of frames where the skis sink more than 1 cm into the snow (see section 6)
Do distant trees flicker? Render the exact same moment repeatedly and count how many pixels change (0.3% → 0)
Does it start fast? Seconds until playable on a real phone (4.1 → 0.65 s on a repeat visit)
Did a change break something else? Compare the same fixed mountain pixel by pixel, before and after
The rulers above, before and after each fix. We turned every problem into a number before touching a fix.
4. Letting it iterate all night
As the remaining work shifted to finer details, I started letting agents run unattended more and more. Here's the overnight prompt I use now:
Goal: make [the snowboard motion] look like the two reference
videos I attached.
1. First measure the gaps between the game and the references
and list them from biggest to smallest. Start with the
biggest.
2. Every round:
- run every ruler; if anything gets worse than the last round
beyond normal noise, scrap the round and roll back to the
previous commit;
- record before/after comparisons on a real GPU;
- spawn a subagent that hasn't seen the code to score the
output based only on the comparisons and numbers; fix what
it flags first.
3. Run at least 5 rounds. Make judgment calls on intermediate
results yourself; don't ask me.
4. If 3 rounds in a row show no visible progress, stop, find
the root cause, and change your approach. Don't just keep
tweaking.
5. I'll check in at 8 AM. Have ready a playable build,
before/after videos, and a list of open issues.
Every line is there because I got burned without it. Without a finish line, it doesn't know when it's done. Without the "at least 5 rounds" rule, it does one round, calls it good enough, and stops. Without an outside reviewer, it stays blind to the problems in its own work. And without a rule to switch approaches when progress stalls, it'll spend all night turning the same knob.
5. Where it kept going wrong, and the rules I added for each
"More realistic," but I couldn't see it
Once, the agent built an entire "more physically accurate" snow surface, cited several papers, and made a before/after video. My reaction: "I can't see a difference." We kept the three details I could actually see and cut the rest.
If I can't see it, it doesn't count.
Guessing when I can't explain what's wrong
Often all I could say was "looks like paper" or "something's off." Letting it guess a fix from that almost never worked. Now I use this:
This [looks like paper]. Don't touch the code yet. Find 5-10
real photos or video frames and explain why the real thing
looks the way it does (light, color, shape, motion). Then make
the fix, and after every round show me an in-game screenshot
side by side with the real photo until nothing obviously looks
fake.
No guessing from theory.
What this prompt produces. I sent a screenshot (top left) noting that the poles splay out when starting a run. The agent pulled real reference photos first (blue labels, openly licensed via Openverse), fixed the posture, and delivered five "after" shots from the back, front, and side (orange) right next to them.
Patching symptoms instead of finding causes
Early on, the agent kept slapping a hard limit right where something broke, hiding the symptom until it popped up somewhere else a few days later (that's where the hundred or so "don't do this" rules in section 6 came from). So I made a rule: find the root cause before touching anything. The clearest cases were the ones where I had the cause wrong myself:
"The slope is too flat." I asked it to make the slopes steeper. It measured first and found the slopes weren't flat at all. The chase camera was tilting with the slope and hiding how steep it really was. So it adjusted the camera instead of the terrain. Doing what I asked would have made the game harder without making the slope look any steeper.
Moguls. I said riding through a mogul field (a slope covered in bumps) barely slowed you down. Instead of just tacking on a speed penalty, it looked up standard mogul course dimensions, estimated how much energy each bump absorbs, and updated the physics to match. Straight-line speed through the moguls dropped from 60–90 km/h to 35–50 km/h.
Same steep slope, same moment, same speed. The terrain is untouched; only the camera changed. With the old camera (left), the slope looks gentle. The current camera (right) sits higher and looks down, so the slope drops away in front of the skier.
I think [the slope is too flat]. Don't change it yet. First, measure what's actually happening, compare it to the
real thing, and figure out where the problem really comes
from. Once you find the root cause, check everywhere else for
the same issue and fix them all at once.
When text-based "common sense" is wrong
When you switch from one edge to the other, what leads: your shoulders, or your whole body? The agent started with the idea that "the shoulders drive the body." I had it check real research and coaching videos, and it turned out to be the opposite: the whole body tips over first, the shoulders stay relatively level, and only the head and eyes look ahead to the next turn.
Changing things I didn't ask for
I'd ask the agent to change A, and it would "improve" B, which I had already approved. Now the rule is simple: only touch what I asked for. Any new gameplay feature starts as a proposal with flow diagrams that I review before any code gets written. The snowboard air tricks, for example, started as a table of 15 grabs, spins, and flips.
One of the air tricks built after we agreed on that table (dev build).
6. Ski motion: four tries before finding the right approach
Added "springs" to the upper body, head, and hands so they'd sway with inertia → I said: "It's getting worse. He's bouncing like a spring."
Split each turn into four phases with a set pose for each → looked like a puppet on strings
Extracted motion from public videos of real skiers (motion data only, no footage) and copied it → better, but a single camera can't judge depth
Built a standalone test page (a "motion lab") to get the motion right first, then brought it into the game → much better; jolts dropped from 88 per minute to 9.4
How we compared results in approach 3. Top: linked turns from a public video of pro skier Reilly McGlashan, one frame every 0.5 s. Bottom: the game's turns after the change, one frame every 0.3 s. Notice how the in-game skier leans far less than the pro. Copying from video alone still left a big gap, which is why approach 3 wasn't enough.
It still didn't look real enough. This time I didn't ask for another fix. I sent this:
Stop. Don't change any more code.
List every attempt at this problem so far: what you did,
what happened, why it failed.
Then reason from first principles: when a real person does
this, what actually determines the body's position? How is
our approach fundamentally different?
Give me a breakdown: root cause, new approach, and how we'll
verify the first step. I'll read it before any code gets
written.
The agent's answer: a real skier doesn't choose a pose. Physics and the snow force the body into it. Our version was just a set of preset poses, patched over with about a hundred "don't do this" rules. So we stopped posing the body and started computing it from the skis up: skis on the snow first, then the center of mass where physics puts it, and then working up through the legs, upper body, head, and hands.
The very first check with the new approach uncovered a problem that had been hiding for a long time: on uneven snow, the skis sank more than 1 cm into the snow in 14% of frames, and up to 37 cm deep. Under the old approach, every part looked fine on its own, so nobody caught it. Step one of the new approach fixed exactly that: in the 3 bumpiest test scenarios (where it was even worse, at 26.6%), that rate dropped to 0.5%.
Same moment, same camera, same speed. Before: the back half of the skis is buried in the slope (25.8 cm below the surface in this frame). After: the skis ride over the top of the bump instead of cutting into the snow (with the tails hanging free). With the new approach, the skis still sink a little now and then on moguls, just far less.
7. Snowboarding: the full loop
This version of snowboarding is still in the dev build; the live site has the old one.
The new snowboarder in the dev build: carving against the sun and throwing up a wall of spray.
I had a first version of snowboarding working by day four, but the movement always looked fake. I assumed our ski work would carry over. I had the agent check the numbers first, and it turned out none of it did. Snowboarding ran on a separate code path and got none of the ski improvements, so we started over.
I gave it real riding footage as the standard. Most of it came from two videos of a single rider linking turns, plus a few other public clips to round out the range. The agent used a video-to-3D pose model to measure the rider's body through every turn and built a table covering toeside and heelside, skidded and carved turns, with lean, knee bend, and arm positions for each. A single camera is bad at judging depth, so we treat those numbers as ranges rather than exact poses to copy. Where we knew the estimates were off, a change had to pass two different rulers. The rule was simple: every turn in the game had to fall inside that rider's range, and I only got a playable build once every check passed.
What "measuring the body from video" looks like: heelside carves from four public snowboarding clips, from shallow to deep. Each frame shows the model's estimated 3D body in blue, with the measured lean, knee, and hip angles printed on top. We only use these numbers as ranges.
Night one. The agent started with a list of the biggest gaps: the arms barely moved (the real rider's hands moved at about 1.9–2.7 m/s, compared to 1.0–1.4 in the game), and there wasn't enough lean when carving (55 degrees vs. 58–72 in the videos). Then it ran 7 rounds that night (rounds 9 to 15) and handed me round 15 in the morning.
Top: the game's snowboarder (dev build, round 15). Bottom: the real riding video we measure the game's motion against (not matched to the exact same point in a turn). Look at the arms: the real rider holds their front arm out for balance, while our snowboarder's hands both hang down in front. That's the gap the later rounds went after.
The numbers passed. I still couldn't see it. Over the next few rounds that day, the numbers kept improving, but when I played it, I said, "I don't see any improvement." Then the agent spent seven more rounds on the arms, and none of them passed: either there was no visible gain, or they introduced new jitter. All seven were scrapped, and it rolled back to before we touched the arms. It stopped to diagnose the problem and found the cause: the ruler measured how far the hands moved, and that range was already right. What it didn't measure was how the hands moved relative to the body. In the game, the rider's hands were locked to body lean, ending up in the same spot every turn, whereas in the real videos hand movement had almost nothing to do with lean. It gave me a few options, and I told it to rebuild the whole arm layer.
Passing the ruler doesn't mean it's done. What shows up on screen always gets the final say.
Night two. It ran 13 rounds on its own, bringing the overall gap compared to the real videos down from 2.22 to 0.905. On this scale, 1 equals the natural difference between two of the real rider's own turns, so anything under 1 means the game sits within that rider's normal variation.
Leg posture at the same points in the turn, before (left) and after (right) calibrating to the ranges measured from real video. At the deepest part of a toeside turn, the rider now drops lower, closer to the snow; on heelside, the knees no longer tuck up toward the chest, while the hips open up and the legs extend.
Again, the problem wasn't where I thought. Later, I added snowboarding footage from Ubisoft's Steep as a second reference for a selectable riding style (like the public videos, it's only used to measure motion data; no frames or assets from it are in the game). While playing I said: "The body should be stable when turning; right now it swings with the legs." The agent didn't touch the body. It measured first and found the body barely moved. The camera was aimed at the board, so as the board swung, the head moved 34 to 55 cm across the screen. With the camera tracking the hips instead, head movement dropped to 11 to 13 cm.
The same edge change, five frames overlaid at 0.15 s intervals. Left: with the camera locked to the board, the rider swings across the screen. Right: with the camera tracking the hips, the rider stays in nearly the same spot. (Dev branch.)
We measured the Steep style the same way: 8 joint angles through a turn, compared phase by phase against the Steep footage. The overall gap dropped from 1.26 to 0.99 (anything under 1 is within Steep's own variation).
Two panels from the agent's ruler chart: front and back knee bend through one turn. Black is the Steep footage, dashed red is before (the original freestyle style), blue is after. The knees moved much closer to Steep; the arm angles (not shown here) were still way off and needed more rounds after this.
8. The four-line version
I tell the agent what I want to see, not how to build it. I'm the one who decides when it's done.
When something needs my call, it doesn't stop and ask: it builds 2–3 variants into the game and lets me pick while playing.
Every class of problem gets a "ruler" the agent runs itself, plus a second agent that didn't write the code to review the results.
When it fails at the same thing several times in a row, it stops and rethinks from scratch instead of just trying again.
9. Rules you can copy
These are the rules we actually use, cleaned up. Paste them into your CLAUDE.md:
## Results
- I give you goals and references, not methods. Figure out the approach yourself.
- Don't stop to ask about look-and-feel choices: build 2-3
variants into the product, default to your recommendation,
and let me pick while using it.
- For new gameplay or systems: write a proposal with flow
diagrams first, and don't write code until I've reviewed it.
- Change only what I asked for. If you need to modify
something I've already approved, don't overwrite it: build a
new variant and keep the approved version as the default.
## References
- For anything that "looks wrong": pull real photos or video
and compare them side by side every round until nothing
obviously looks fake. No guessing from theory.
- My diagnosis might be wrong: measure before you act.
- Don't trust "common sense" pulled from text until you verify
it against real data and video.
## Acceptance
- Every class of problem gets an automated ruler. If a round
regresses past normal noise compared to the last one, don't
deliver it.
- Passing the ruler doesn't mean it's done: the improvement
has to be visible side by side.
- Run all screenshots, video captures, and performance tests on a real GPU.
- Fix the whole class of bug, not just the one instance: once
you find the root cause, fix everywhere else it shows up
too.
- If you fail at the same thing repeatedly, stop patching it.
Step back and rethink from scratch.
## Working overnight
- Start by listing the gaps compared to the reference, ranked
from biggest to smallest. Tackle the biggest one first.
- Run at least N rounds. Run every check each round, and scrap
the round if anything regresses beyond normal noise.
- After each round, have an agent that didn't write the code
score the results independently, and fix what it flags.
- Don't stop to ask me mid-run; make intermediate judgment
calls yourself, and turn anything that needs my decision
into variants.
- If several rounds in a row show no visible progress, roll
back, find the root cause, and change your approach.
- Morning handoff: a playable build, before/after comparisons,
and a list of open issues.
The real bottleneck
Getting code written was the easy part almost from day one. The hard part was that the agent couldn't tell when it was wrong.
Every rule above is one more way for it to find out without me: reference photos, rulers, an independent reviewer, and side-by-side comparisons.