I made Hallucination Inc., a free browser strategy game about running an AI lab (https://hallucinc.com, no sign-up). Claude Code wrote all of it; I make the design calls and approve what ships. This post is about one loop I now use for every change, because it got a real test the week I launched.
The trigger
Just before midnight on launch day, the first stranger to play a real run through left a long comment: they didn't know the goal, nothing they chose seemed to matter, and they pulled a "golden parachute" and went bankrupt anyway. By 13:26 the next day six fixes for it were in production. Here's what happened in between.
1. Scope before building. A read-only agent took the comment and mapped each complaint to the screen that caused it, with file and line, and to what the simulation already exposes. The main session spot-checked three of its claims against the engine. Result: every fix could be done in the client, reading values it already had. That one finding set the limits for everything after.
2. A brief with walls. The build went to a lead agent allowed its own sub-agents, each in its own git worktree. The brief said: no change to the simulation's outcomes, no new analytics event, no new value stored on the player's device; if a fix needs one, stop and report. The golden replay tests (recorded runs that must replay bit for bit) prove the first wall held.
3. "Taken for you" lists. Every call the agent made on my behalf comes back as a list I can overrule. One was a good catch: it chose not to show a cash forecast at the last-chance stop, because in that player's own run the forecast would have said the books end at exactly zero, and they ended $57M under.
4. Dev, then me, on my phone. CLAUDE.md has three places with one meaning each: dev is work in progress, staging is main after the gates, production is what players have. The batch went to dev, I played it on my phone and sent three screenshots with notes. My walk caught something no test did: the end screen's list of causes pointed at a different quarter than the record below it.
5. Decisions on a page, not in chat. I can't follow ten questions with screenshots in a phone chat. So Claude now builds a private page with one card per decision: what it is, a clip of each option, its recommendation, buttons to choose. I answered ten in under an hour, while two agents were already building the changes from my walk; Claude read my answers back from the page. Nine went its way. One didn't: it wanted to retune the first board target after 9,000 bot runs showed one target type is met only 8% of the time; I said wait for real players' numbers.
6. Gates, then a promote only on my word. On push: typecheck, 1,231 unit tests, a size budget (first-load JS 143 of 150 KB), a sharded browser suite, deploy to staging, a smoke test and a real filed run against staging, and a check that the pages contact no outside host the privacy page doesn't name. Production only moves when I say "promote", and only to a commit whose pipeline passed all of that.
What I learned
- The scoping pass is the cheapest step and saves the most. It showed that every complaint could be fixed on the screen, without touching the game's rules.
- Walls in the brief beat review afterwards. Saying what the agent may not touch is shorter than checking everything it did touch.
- The agent's list of what it decided for me is where the judgement is. I read that before the diff.
- Tests didn't catch the wrong quarter on the end screen. Playing it did. I still play every batch on dev before it goes further.
- A page with clips and buttons got better decisions out of me than a chat thread did.
Happy to share the brief template or the decision page's layout.