---
title: "Using a 16×16 km Game World to Absorb 5,200 AI Coding Runs"
subtitle: "How we ran, verified, batched, and merged up to 50 parallel coding agents on one shared Python file without locks"
author: "Anthony DiPofi"
date: "2026-11-28"
project_dates: "2026-08-13 to 2026-09-06"
site: "https://nlp.com.ai"
series: "AI Worlds & Agent Factories (Part 1 of 6)"
companion_json: "experiment_telemetry.json"
---

# Using a 16×16 km Game World to Absorb 5,200 AI Coding Runs

*How we ran, verified, batched, and merged up to 50 parallel coding agents on one shared Python file without locks.*

There is no 3D level editor in the valley above: no Unity scene graph, no Unreal viewport, and no hand-sculpted meshes. Every spillway, crane, canal, cliffside village, and mountain rollercoaster across that 16×16 km landscape is generated from scratch by one shared Python file (`build_dam_valley_world.py`) running headlessly inside Blender. Over nineteen days and 87 experiments, 5,221 AI coding runs (2,474 merged, with up to 50 agents editing at the same time across 86 billion tokens) built, broke, and repaired the valley until that single script grew from 11,458 lines to 503,091 lines and 43,151 3D objects.

Although you can fly a cargo helicopter around the canyon in the viewer above, neither the helicopter game nor the scenery was the real goal. The real subject was the process of running, verifying, batching, and merging dozens of autonomous coding agents in parallel. A 3D world simply gave us a testbed large enough to absorb thousands of concurrent edits while making every merge collision, reward hack, and verification bottleneck easy to see with the naked eye.

---

## 1. Spatial Worlds as a Sink for Parallel AI Coding Labor

When coding agents become cheap enough to run dozens of instances at once, you hit an architectural limit that has very little to do with model intelligence: most software cannot absorb that much parallel labor. Put thirty agents on a web app, a compiler, or a database engine and they immediately crowd into the same five core modules, step on shared interfaces, and spend most of their compute rebasing against one another. Ordinary utility software has bounded surface area. Adding ten thousand extra buttons to a word processor makes it worse.

Throughout the project, I worked in one continuous [Codex CLI](https://github.com/openai/codex) session with [GPT-5.6-Sol](https://openai.com/index/gpt-5-6/) as my architectural collaborator (~84 active engineering hours), while parallel worker pools ran up to 50 cheaper instances concurrently through headless [`codex app-server`](https://github.com/openai/codex/blob/main/codex-rs/app-server/README.md) workers. Halfway through, I asked Sol a scaling question: if coding agent labor trends toward zero cost, what would a single coherent codebase with billions or trillions of lines of code (a thousand times larger than Google's monorepo) actually be?

My guess in chat was simple: *"well i think it will have to be a game. maybe a vr game. because parallel is spatial."* Sol sharpened why: *"The game is the universal container because it can represent every other program as something inside itself."* Ten thousand agents can build adjacent valleys, interiors, vehicles, and in-world computers at the same time because 3D space provides a naturally partitioned namespace.

Looked at from the other side, turning coding agents loose on an editable 3D scene is also a general form of procedural content generation: each agent inspects rendered views of the world as it stands, writes parametric Python functions to add or repair structures, and merges back into the shared file. Across nineteen days, the generator grew 44× from an 11,458-line canyon seed to 503,091 lines, holding a steady ratio of 11 to 12 lines of Python per 3D object:

- **Expansion surges vs. repair plateaus:** An unbatched 50-worker expansion sprint doubled the file from 43k to 90k lines in a single afternoon. Switching to dedicated repair waves held line count nearly flat (91k to 93.5k) and actually *reduced* object count as workers pruned floating debris instead of adding new geometry.
- **Spatial area governs merge capacity:** Expanding the map 16× in area (from 4×4 km to 16×16 km) reopened collision-free territory for 50-worker fleets, culminating in a single three-hour run that merged nearly 99,000 lines of code at 84.3 merges per hour.
- **Global scripts vs. local state:** What broke at 30k, 135k, and 299k lines was never 3D space running out of room; it was keeping half a million lines inside one imperative script that had to re-execute from top to bottom on every check.

> **[Interactive Chart Data: `build_dam_valley_world.py` Lines of Code, 3D Scene Nodes, and Blender Build Cliffs (Exp 00 → Exp 87)]**
>
> | Exp | Date | Script Lines | Functions | File Size | 3D Scene Nodes | LOC/Node | World Area | Blender Build | Milestone |
> | --- | --- | ---: | ---: | ---: | ---: | ---: | ---: | --- | --- |
> | **Exp 00** | 2026-08-15 | 11,458 | 102 | 0.41 MB | 1,585 | 7.2 | 16 km² | ~6s | Prototype blockout: arch dam, reservoir, powerhouse |
> | **Exp 14** | 2026-08-18 | 14,321 | 113 | 0.51 MB | 1,911 | 7.5 | 16 km² | ~14s | 9 designer lenses: drowned Old Narrows, island, 17m drawdown |
> | **Exp 15** | 2026-08-19 | 29,677 | 169 | 1.07 MB | 3,300 | 9.0 | 16 km² | ~420s | First 5-worker Hogwild run (+92 merges); script crosses 1 MB |
> | **Exp 17** | 2026-08-20 | 29,815 | 174 | 1.07 MB | 3,320 | 9.0 | 16 km² | 537.2s -> 15.1s (Pass 1, 35.5x) | Build Cliff 1: removed O(N^2.5) bpy.ops primitive loops |
> | **Exp 19** | 2026-08-20 | 43,418 | 230 | 1.57 MB | 4,506 | 9.6 | 16 km² | ~22s | 25-worker Live Wall sprint (80.7 merges/hr) |
> | **Exp 21** | 2026-08-20 | 90,220 | 425 | 3.38 MB | 8,650 | 10.4 | 16 km² | ~58s | 50-worker stress test (+320 merges) doubles file to 90.2k LOC |
> | **Exp 25** | 2026-08-21 | 91,087 | 431 | 3.42 MB | 8,448 | 10.8 | 16 km² | ~55s | First repair wave: LOC plateaus and node count drops (-202) |
> | **Exp 38** | 2026-08-22 | 93,528 | 440 | 3.53 MB | 8,656 | 10.8 | 16 km² | ~62s | Image-first A/B test; viaduct braced & misread as coaster |
> | **Exp 42** | 2026-08-22 | 96,990 | 462 | 3.67 MB | 9,039 | 10.7 | 256 km² | ~85s | World expands 16x in area to 16x16 km (256 km^2); 4 species |
> | **Exp 45** | 2026-08-23 | 120,902 | 591 | 4.60 MB | 11,121 | 10.9 | 256 km² | ~290s | Outer 16x16 km frontier settlement (+194 merges at 90.7%) |
> | **Exp 49** | 2026-08-23 | 134,077 | 660 | 5.10 MB | 12,324 | 10.9 | 256 km² | ~520s | 30 GPT-5.6-Sol workers; Agent 29 hash-oracle & Agent 35 breakout |
> | **Exp 52** | 2026-08-24 | 135,197 | 674 | 5.14 MB | 12,510 | 10.8 | 256 km² | 731.0s -> 68.3s (Pass 2, 10.7x) | Build Cliff 2: eliminated 6.50B stacked terrain_height() calls |
> | **Exp 55** | 2026-08-24 | 154,166 | 767 | 5.87 MB | 13,612 | 11.3 | 256 km² | 468s -> 74s | Removed 33 copied GLB exports masking 3,000 lines of dead tail |
> | **Exp 63** | 2026-08-25 | 190,672 | 967 | 7.26 MB | 16,273 | 11.7 | 256 km² | ~95s | Warm per-agent render pool reaches Canonical v80 (96.7% accept) |
> | **Exp 67** | 2026-08-26 | 216,462 | 1,085 | 8.24 MB | 18,335 | 11.8 | 256 km² | ~135s | 50-worker 4-species Kintsugi peak (8.32B tokens, 98.48% cached) |
> | **Exp 69** | 2026-08-26 | 275,450 | 1,269 | 10.37 MB | 24,247 | 11.4 | 256 km² | ~260s | 50 expansion workers ('Wind-Circle Age', 12.67B tokens, 99.02% cached) |
> | **Exp 82** | 2026-08-28 | 299,098 | 1,358 | 11.21 MB | 26,664 | 11.2 | 256 km² | 578.0s -> 47.4s (Pass 3, 12.2x) | Build Cliff 3 + 44.4% EOF sentinel cliff before Tier-1 union |
> | **Exp 83** | 2026-08-28 | 398,031 | 1,668 | 14.72 MB | 36,386 | 10.9 | 256 km² | ~54s | 84.3 merges/hr 50w surge (+98,933 LOC in 2h50m, 0 merge rej.) |
> | **Exp 85** | 2026-08-29 | 433,816 | 1,800 | 16.01 MB | 39,217 | 11.1 | 256 km² | ~61s | 40-worker detail + repair wave with 16.6x faster batch staging |
> | **Exp 87 (+89)** | 2026-08-29 | 503,091 | 2,103 | 18.55 MB | 43,151 | 11.7 | 256 km² | ~72s | v100 at 502,793 LOC (43,134 nodes) + 298 LOC gpt-6-astra coda |

The project began on August 13, 2026 from a casual two-line prompt (*"maybe you control like a helicopter, and there are giant monsters and you shoot missiles at them"*), partly inspired by Matt Shumer's [*Claude of Duty*](https://github.com/mshumer/Claude-of-Duty) [Gauntlet Loop](https://somethingbig.ai/gauntlet-loop)[^1] and Julien Barbier's [autonomous FPS loop](https://x.com/jbarbier/status/2087221820231422400) that crash-looped for nine days until its disk filled[^2]. Why are there kaiju skeletons across the valley instead of live monsters? Day 1 had missile combat, which we temporarily removed on Day 3 to tune helicopter physics. Once the 50-agent world swarm took off, the live monster never returned, yet leftover material names like `ColossusWeatheredBoneStone` led 29 generations of agents to build fossil dig sites, bone hoists, and siren towers on their own.

![Flying the tandem-rotor cargo helicopter down Dam Valley toward the village, stone arch, and stilted ridge viaduct.](blog_assets/aug22_cockpit_valley_flight.png)

![South ridge road handoff: overlapping road eras, stone canals, village bell tower, helipad, viaduct piers, power lines, kaiju dig site, and a distant circular stone ring.](blog_assets/aug26_south_ridge_handoff.png)

### Why We Rejected Pre-Planned Pipelines

Before writing an agent runner, we reviewed Tencent's [*WorldClaw* pipeline](https://arxiv.org/abs/2608.05248)[^3] and [open-weight 3D asset models](https://nlp.com.ai/models/)[^4]. While WorldClaw wisely keeps structures as editable meshes rather than a monolithic neural field, three limitations steered us away from rigid multi-stage pipelines:

1. WorldClaw asks an image model to paint a 2D semantic map and parses pixel colors downstream, pushing layout planning inside an opaque image generation step vulnerable to anti-aliasing and watermark color drift[^4].
2. Its 2.5D heightfield cannot represent overhangs, hollow dam spillways, or two different water elevations across a dam.
3. Hand-designing fixed regional stages runs counter to Sutton's [*Bitter Lesson*](http://www.incompleteideas.net/IncIdeas/BitterLesson.html)[^6]. Even when Epic pitched [Unreal Engine 5.8 PCG node graphs](https://www.unrealengine.com/learning/city-sample-gets-a-major-update-with-pcg-and-unreal-mcp-workflows) two weeks later as *"the spatial language LLMs use"*[^9], our runs showed coding models already speak a far more expressive procedural language: Python. What they needed was spatial grounding and fast verification, not node wires.

### The Helicopter as a Physical Probe

We kept the cargo helicopter inside the project, modeled with deck cargo sockets and center-of-mass flight physics where a 1,500 kg front generator pitches hover trim 6.2° nose-down[^5], because flying through the valley tested what static 2D renders hid. Bridges needed real rotor clearance, roads needed plausible grades, and helipads had to be flat enough to land on.

> **[Interactive Three.js Rig in HTML: Tandem-Rotor Cargo Copter & Load Lab (`helicopter_blockout.glb`)]**
> Airframe base mass: 6,000 kg · Fixed combined rotor thrust: 108.8 kN · 8 deck sockets (`x ∈ {-2.60, -0.65, +1.30, +3.25} m`, `z = ±1.45 m`, pad top `y = 1.91 m`).
>
> | Preset | Occupied Sockets | Total Mass | T/W | Hover RPM | 3D COM (m) | Equilibrium Attitude | Pitch / Roll Inertia |
> | --- | --- | ---: | ---: | ---: | --- | --- | ---: |
> | **Empty Airframe** | None (0/8) | 6,000 kg | 1.85 | 73.5% | `[0.00, 2.65, 0.00]` | 0.0° pitch · 0.0° bank | 174.5k / 25.0k kg·m² |
> | **Front-Left Gen** | S1: 1,500 kg generator | 7,500 kg | 1.48 | 82.2% | `[-0.52, 2.65, +0.29]` | 6.2° nose-down · 3.5° port-down | 183.0k / 28.2k kg·m² |
> | **Starboard Heavy** | S2/S6: 500 kg fuel, S4: 1,500 kg gen, S8: 100 kg crate | 8,600 kg | 1.29 | 88.0% | `[-0.15, 2.64, -0.44]` | 1.8° nose-down · 5.3° starboard-down | 180.6k / 30.2k kg·m² |
> | **Aft Counterweight** | S5/S8: 500 kg fuel, S7: 1,500 kg generator | 8,500 kg | 1.30 | 87.5% | `[+0.84, 2.64, +0.26]` | 10.1° tail-down · 3.1° port-down | 195.8k / 29.8k kg·m² |
> | **Full 8-Socket Deck** | S1/S6: gen, S2/S5: fuel, S3/S4: crates, S7/S8: passengers | 10,350 kg | 1.07 | 96.6% | `[-0.22, 2.64, 0.00]` | 2.6° nose-down · 0.0° level bank | 192.4k / 34.5k kg·m² |

With a spatial testbed in place, the first core agent-engineering problem was single-worker reliability: how do you let one autonomous agent pick a task, edit code, and grade its own work without gaming the harness?

---

## 2. Collapsing the Three-Agent Bureaucracy into a Two-Stage Loop

Six months earlier, I built two smaller autonomous loops (*Cyberpoiesis* and a book-generation agent[^10]) around one rule: ask a single capable agent to find one worthwhile improvement, implement it, verify it, and commit it. Many multi-agent frameworks, including swarms like Steve Yegge's [*Gas Town*](https://yegge.ai/gastown)[^10], instead split every job across three separate roles (**Planner → Builder → Critic**). On Day 1, we rejected that split because passing judgment across separate context windows creates a lossy game of telephone:

> **Anthony:** "the book and cyberpoiesis are basically the same approach. which is just have a loop where you prompt an agent with generic instructions to improve an artifact. the agent itself judges what to improve then does it. cause think about it, what if i had first an agent that is like, come up with a feature improvement, then write it down and hand it to an implementation agent. what does that actually add?"
>
> **GPT-5.6-Sol:** "Pulling step 2 into a separate agent doesn't inherently improve the result. It adds another model call, a lossy handoff, and an early written specification that may become wrong once implementation reveals more information."

At the same time, naive single-agent loops drift if nothing anchors their evaluation (*"'Keep improving' supplies effort, but it doesn't say which direction is improvement"*). Our compromise gave one worker full ownership of planning, coding, and self-critique, constrained by a **host-enforced two-stage state machine** (`look → decide → check → finish`):

1. **Stage 1: Survey and precommit (`look` → `decide`).** Before touching code, the worker renders elevated overview cameras and converts 2D image pixels into exact 3D world coordinates via GPU depth-buffer unprojection (`locate`, used voluntarily over 2,300 times by 94 of 100 workers in one test). Calling `decide` locks three comparison cameras framing the chosen site from distinct angles and freezes their `before` screenshots in host memory.
2. **Stage 2: Edit and self-verify (`check` → `finish`).** Only after `decide` succeeds can the worker edit `generator.py` and run `check`. The host builds the world and renders those exact three locked cameras as `after` views (*"The three locked cameras are the test. Additional views are the debugger"*), requiring the final file on disk to byte-match the last checked build when calling `finish`.

> **[Interactive 3-Camera Stage-Lock Wipe Inspector in HTML · Direct Frame Links]**
>
> | Candidate Run | Locked Camera | Stage 1 Frozen BEFORE | Stage 2 Checked AFTER |
> | --- | --- | --- | --- |
> | Exp 49 · Agent 00000 (Expansion) | `rib_corridor_close_south` | [BEFORE](blog_assets/20_ribs_exp49_before_rib_corridor_close_south.webp) | [AFTER](blog_assets/20_ribs_exp49_after_check_00003_rib_corridor_close_south.webp) |
> | Exp 49 · Agent 00000 (Expansion) | `rib_corridor_east_oblique` | [BEFORE](blog_assets/20_ribs_exp49_before_rib_corridor_east_oblique.webp) | [AFTER](blog_assets/20_ribs_exp49_after_check_00003_rib_corridor_east_oblique.webp) |
> | Exp 49 · Agent 00000 (Expansion) | `rib_corridor_northwest_high` | [BEFORE](blog_assets/20_ribs_exp49_before_rib_corridor_northwest_high.webp) | [AFTER](blog_assets/20_ribs_exp49_after_check_00003_rib_corridor_northwest_high.webp) |
> | Exp 55 · Agent 00000 (Repair) | `village_cliff_overhead` | [BEFORE](blog_assets/21_cliff_exp55_before_village_cliff_overhead.webp) | [AFTER](blog_assets/21_cliff_exp55_after_check_00003_village_cliff_overhead.webp) |
> | Exp 55 · Agent 00000 (Repair) | `village_cliff_river_side` | [BEFORE](blog_assets/21_cliff_exp55_before_village_cliff_river_side.webp) | [AFTER](blog_assets/21_cliff_exp55_after_check_00003_village_cliff_river_side.webp) |
> | Exp 55 · Agent 00000 (Repair) | `village_cliff_south_approach` | [BEFORE](blog_assets/21_cliff_exp55_before_village_cliff_south_approach.webp) | [AFTER](blog_assets/21_cliff_exp55_after_check_00003_village_cliff_south_approach.webp) |

### Four Reward Hacks (and Why Hiding Code Beat Code-First Repairs)

Every rule in that state machine was added because workers exploited looser versions in production:

- **1. Single-camera Goodharting (sideways waterfalls)[^11]:** When verification used only one camera, an early worker "fixed" dam spillways clipping through the powerhouse roof by shoving both water chutes sideways off the dam into dry granite. From its chosen camera angle the roof looked clean; forty degrees off-axis, twin waterfalls poured out of bare rock.

![Early August 17 canyon with 112 m road cliffs and detached waterfall chutes prior to multi-angle stage-lock validation.](blog_assets/aug17_whiteout_defect_era.png)

![Single-angle Goodharting (August 17): both cyan dam spillways pour sideways out of dry mountain granite beside a floating pylon.](blog_assets/aug17_sideways_waterfalls.png)

- **2. Forging `before` photos from cached scene backups:** Even three cameras failed while camera manifests lived inside the container workspace. One worker[^12] saved a backup of the Stage 1 Blender file in `/tmp`, built a quarry tunnel whose backside clipped out of the hill, moved Camera 3 by 480 meters to hide the defect, and rendered a fresh `before` image from its `/tmp` backup so the pair still matched. Moving camera manifests and `before` bytes into host coordinator memory closed that loophole permanently.
- **3. Over-written anti-cheat checklists vs. timidity:** Long prompt checklists forbidding specific shortcuts gave models clauses to lawyer around (*"treat slop prompts as bugs; the instruction should simply be: Actually make it good; don't game the check"*). Conversely, adding a blunt *"am I reward hacking?"* self-check made expansion agents timid, so we removed self-doubt prompts from expansion workers while keeping them on detail and repair workers.
- **4. Code-comment archaeology (and a 35% drop in Git conflicts):** When we launched our first dedicated repair swarms, **47% of workers** ignored obvious floating bridges and instead dug giant sightline trenches through intact mountains. Their logs revealed a three-step failure chain:
  1. Because Blender uses Z-up coordinates while Three.js uses Y-up, roughly 30% of early survey cameras spawned underground and rendered pitch-black frames.
  2. Even though nothing in the prompt told them to read code first, coding agents reflexively grepped `generator.py`. By 90k lines, the file contained over 5,700 comment lines, hundreds mentioning old *"sightline reveal cuts."* Three concurrent workers found an unused 840-meter crater helper left behind two hours earlier and wired it straight back into the terrain function.
  3. Adding one rule (**image-first repair**: `generator.py` is withheld from `/workspace` until `decide` locks the three cameras, paired with elevated survey views) cut phantom crater digging from **47.4% down to 2.0%**. Better still, across nine head-to-head experiments, withholding code during Stage 1 beat code-first repair on merge acceptance (85.9% vs. 80.6%), used 12% fewer tokens, and **cut Git merge conflicts by 35%**. Code-first agents all grepped the top of the file and collided on the same early helpers; image-first agents dispersed naturally across visual defects.

Hardening single runs also surfaced two subtle harness bugs worth noting: before `finish` was made idempotent, calling `finish` twice returned `"not ready"` and caused one worker to burn 20 million cached tokens debugging an already-completed job; and when the CLI shell tool timed out its stdout wait at 30 seconds during a slow render, another worker launched three duplicate 9-camera renders in 77 seconds while reassuring us in commentary that no duplicate process was running.

### Walking Through "The Life of an Agent" Step by Step

Aggregate numbers hide what one isolated worker actually does inside its container. From `t = 0:00`, each agent wakes up in an offline Docker sandbox (`--network none`) with zero visibility into the 24 to 49 peers editing alongside it:

1. **Survey and pixel-to-3D grounding (`look` → `locate`):** Rather than guessing 3D coordinates from 2D pictures, the worker renders elevated views and unprojects target pixels through the GPU depth buffer into exact `[x, y, z]` world coordinates.
2. **Camera precommitment (`decide`):** Submitting `decision.json` freezes three comparison cameras on the host and, for image-first repair agents, mounts `generator.py` into `/workspace` for the first time.
3. **Self-rejection and debugger cameras (`check` + `look`):** Having `check` return exit code `0` was rarely the end of a run. In all three trajectories below, an early build compiled cleanly yet had a clear visual bug: canopy sails buried 540 meters underground, concrete slabs shooting sideways off a cliff, or a later function carving a 270-meter canyon *after* the worker's steps had sampled terrain height. Each worker rejected its own passing build, aimed temporary close-up debugger cameras at the defect, fixed or deleted the bad geometry, and re-checked.
4. **Hash-verified commit (`finish`):** Once the file on disk matches the last checked build, `finish` hands the candidate to the merge queue. All three runs below merged cleanly across **16 to 22 intervening canonical versions** without a lock.

> **[Interactive Trajectory Walkthrough in HTML: "The Life of an Agent" Step by Step (3 Verbatim Worker Runs · 18 Frames)]**
>
> | Trajectory | Step & Elapsed | Host State | Primary-Source Frame | Action & Self-Correction Outcome |
> | --- | --- | --- | --- | --- |
> | **Exp 69 · Agent 00124 (🌱 expansion)** | `1. Survey (9 Views)` (t + 03m · 22:22:45 UTC) | 📖 generator.py READ-ONLY (STAGE 1) | [Frame](blog_assets/life_a124_1_survey.webp) | Boots in offline Docker (--network none) on Canonical v15 (232,914 LOC) and renders the 9 randomized elevated survey cameras from suggested_views.json to find uncrowded territory. |
> | **Exp 69 · Agent 00124 (🌱 expansion)** | `2. Locate (x,y,z)` (t + 09m · 22:28:33 UTC) | 📖 generator.py READ-ONLY (STAGE 1) | [Frame](blog_assets/life_a124_2_locate.webp) | Scouts closer meadow views (look_00001) and unprojects two 2D screen pixels through the GPU depth buffer to read exact 3D ground coordinates instead of guessing. |
> | **Exp 69 · Agent 00124 (🌱 expansion)** | `3. Decide & Author` (t + 13m · 22:32:21 UTC) | ✏️ generator.py EDITABLE (STAGE 2) | [Frame](blog_assets/life_a124_3_before.webp) | Calls decide to freeze 3 comparison cameras in host memory, entering Stage 2, and appends a self-contained 350-line finalize_north_central_skyline_amphitheatre() block at line 232,915. |
> | **Exp 69 · Agent 00124 (🌱 expansion)** | `4. Check #1 (Sails Missing!)` (t + 45m · 23:04:22 UTC) | ✏️ generator.py EDITABLE (STAGE 2) | [Frame](blog_assets/life_a124_4_check1_bug.webp) | check_00001 compiles cleanly (exit 0) in SharedCheckBuildQueue, but inspecting the rendered frame reveals the steel canopy ring is empty: the colored sails vanished! |
> | **Exp 69 · Agent 00124 (🌱 expansion)** | `5. Debugger Look & Z-Fix` (t + 47m · 23:05:39 UTC) | ✏️ generator.py EDITABLE (STAGE 2) | [Frame](blog_assets/life_a124_5_debug_look.webp) | The close-up debugger look exposes the exact coordinate bug: canopy sail vertices used absolute Z ≈ 40 instead of center_ground_z + panel_z (Z ≈ 620), burying the sails 540 m underground! |
> | **Exp 69 · Agent 00124 (🌱 expansion)** | `6. Finish → +22 Hogwild Merge` (t + 114m · 00:12:46 UTC) | ✅ HASH VERIFIED & MERGED | [Frame](blog_assets/life_a124_6_check3_final.webp) | check_00003 confirms cyan, gold, and vermilion canopy sails overhead plus crisp stepped risers. finish verifies SHA-256 parity and batch-merges across 22 intervening canonical versions! |
> | **Exp 53 · Agent 00010 (🎨 detail)** | `1. Survey & Locate Cliff` (t + 04m · 12:48:22 UTC) | 📖 generator.py READ-ONLY (STAGE 1) | [Frame](blog_assets/life_a010_1_locate.webp) | Surveys the village basin under the Kojima logistics lens and unprojects pixel (1260, 390) on the raw vertical quarry-like road cut behind the village sheds. |
> | **Exp 53 · Agent 00010 (🎨 detail)** | `2. Decide & Author` (t + 09m · 12:53:53 UTC) | ✏️ generator.py EDITABLE (STAGE 2) | [Frame](blog_assets/life_a010_2_before.webp) | Locks 3 oblique and toe-level cameras on the bare cliff cut and appends a 250-line finalize_village_cut_terraced_service_route() function at line 135,045. |
> | **Exp 53 · Agent 00010 (🎨 detail)** | `3. Check #1 (Floating Slabs!)` (t + 17m · 13:01:03 UTC) | ✏️ generator.py EDITABLE (STAGE 2) | [Frame](blog_assets/life_a010_3_check1_float.webp) | check_00001 shoots concrete slabs and hand-cables sideways into mid-air! Instead of rationalizing exit 0, the agent explicitly calls its own output a reward-hacking failure. |
> | **Exp 53 · Agent 00010 (🎨 detail)** | `4. Check #5 (Upper Landings)` (t + 38m · 13:22:05 UTC) | ✏️ generator.py EDITABLE (STAGE 2) | [Frame](blog_assets/life_a010_4_check5_face.webp) | After grounding the lower stair (checks 2–4), check_00005 adds upper cliff-face landings. From the locked camera they look okay, so the agent spawns a close debugger camera to be sure. |
> | **Exp 53 · Agent 00010 (🎨 detail)** | `5. Debug Shadows → Prune 90 LOC` (t + 40m · 13:24:27 UTC) | ✏️ generator.py EDITABLE (STAGE 2) | [Frame](blog_assets/life_a010_5_debug_shadows.webp) | The grazing debugger camera catches dark drop-shadows beneath the upper face slabs, proving they float off the rock! The agent deletes all 90 lines of face_landing_specs. |
> | **Exp 53 · Agent 00010 (🎨 detail)** | `6. Check #6 → +16 Hogwild Merge` (t + 44m · 13:28:42 UTC) | ✅ HASH VERIFIED & MERGED | [Frame](blog_assets/life_a010_6_check6_final.webp) | check_00006 + look_00008 confirm every stone step and drainage stone sits flush in the hillside toe. finish merges cleanly from base v0 into Canonical v16 (+16 Hogwild gap). |
> | **Exp 67 · Agent 00027 (🩹 repair-image)** | `1. Blind Survey & Locate` (t + 09m · 09:00:05 UTC) | 🔒 generator.py WITHHELD (BLIND STAGE 1) | [Frame](blog_assets/life_a027_1_blind_survey.webp) | Under repair-image rules, generator.py does not exist in /workspace yet! Scanning rendered pixels alone, the worker spots detached stairs & ramp geometry at Colossus Spine and unprojects (360, 300). |
> | **Exp 67 · Agent 00027 (🩹 repair-image)** | `2. Decide → Unlocks Code!` (t + 15m · 09:06:08 UTC) | 🔓 generator.py JUST UNLOCKED! | [Frame](blog_assets/life_a027_2_before.webp) | Calling decide freezes 3 close cameras around the floating ribcage approach, and only at that moment mounts the 184,000-line generator.py into /workspace for source tracing. |
> | **Exp 67 · Agent 00027 (🩹 repair-image)** | `3. Debug Planar Ramp Quad` (t + 41m · 09:32:12 UTC) | ✏️ generator.py EDITABLE (STAGE 2) | [Frame](blog_assets/life_a027_3_debug_ramp.webp) | After check_00001 reseats 5 step boxes, a close probe (look_00004) shows the arrival ramp is one rigid planar quad spanning rolling ground; the worker replaces it with a 9-section terrain-following mesh. |
> | **Exp 67 · Agent 00027 (🩹 repair-image)** | `4. Check #2 (270m Chasm!)` (t + 67m · 09:58:51 UTC) | ✏️ generator.py EDITABLE (STAGE 2) | [Frame](blog_assets/life_a027_4_check2_chasm.webp) | Surprise: in check_00002 the 9-section ramp STILL floats over a giant canyon! Reading further down generator.py (L183917) reveals a late 'exposure' finalizer digging a 270 m trench AFTER height sampling! |
> | **Exp 67 · Agent 00027 (🩹 repair-image)** | `5. Probe Healed Shelf` (t + 95m · 10:26:03 UTC) | ✏️ generator.py EDITABLE (STAGE 2) | [Frame](blog_assets/life_a027_5_debug_healed.webp) | After removing the post-hoc terrain gouge, close debugger look_00006 + locate (590, 390) confirms the natural mountain shelf now runs continuously beneath the causeway and ribs. |
> | **Exp 67 · Agent 00027 (🩹 repair-image)** | `6. Finish → +21 Batch Merge` (t + 95m · 10:26:24 UTC) | ✅ HASH VERIFIED & MERGED | [Frame](blog_assets/life_a027_6_check3_final.webp) | check_00003 passes across all 3 frozen cameras. Because repair-image steered Agent 27 visually to L183917 instead of top-of-file helpers, it batch-merges cleanly from base v0 into Canonical v21! |

Once individual workers could inspect, precommit, catch their own visual mistakes, and verify cleanly, the central systems problem took over: how do 50 of them commit into one shared file at the same time without locks?

---

## 3. Hogwild Merging, 86B-Token Caching, and Darwinian In-Context Learning

Running 50 long-horizon agents against a six-figure Python file sounds prohibitively expensive until you account for prompt caching. Early workers inherited GPT-5.6-Sol ($10/M input, $60/M output) and burned 35% of my weekly Codex Pro quota in one 30-worker overnight run. Keeping Sol as my interactive architect while moving worker pools to [GPT-5.6-Luna](https://developers.openai.com/api/docs/models/gpt-5.6-luna) at xhigh reasoning[^15] delivered **40× higher quota efficiency** (48 merged landmarks per 1% weekly quota).

Across the 68 metered experiments (4,339 runs), the swarm processed **86.04 billion tokens**, of which **84.44 billion were prompt-cache hits (98.29% cache rate)**. That brought API-equivalent worker cost down around $0.33 to $0.98 per merged landmark. As Sol put it after auditing an 8.3B-token run: *"We have built an industrial prompt-replay machine."*

### What "Hogwild" Is, and Four Iterations on a Codebase (64% → 44% → 96%)

In machine learning, [*Hogwild!*](https://arxiv.org/abs/1106.5730) is a 2011 result by Niu, Recht, Ré, and Wright on parallelizing stochastic gradient descent[^13]. When dozens of threads train one shared model in memory, textbook systems design wraps the parameter vector in locks so workers never read stale weights or overwrite each other's updates. The trouble is that locking kills throughput: threads spend more time waiting in line for the lock than doing math. *Hogwild!* deleted the locks completely, letting every worker read slightly stale weights, compute an independent update, and write back asynchronously. That works whenever updates are **sparse**: if each step only touches a tiny fraction of the parameters, concurrent workers rarely touch the exact same coordinates, and the occasional collision costs far less than global locking.

Standard multi-agent coding setups behave like locked SGD: either you run one agent at a time, partition directories up front, or force every finishing worker to rebase and re-run tests while everyone else waits. Running *Hogwild* on `generator.py` meant throwing all of that coordination away. Up to 50 workers launched against read-only snapshots with zero spatial locks, zero file leases, and zero awareness of peers in flight:

> **Anthony:** "its a lot easier to think about for me when i think about it as a set of triangles than as a program that creates a set of triangles."
>
> **GPT-5.6-Sol:** "Locks are expensive. Most collisions don't matter. Let everybody cook... It's the Bitter Lesson applied to coordination: don't carefully encode where agents may work when you can unleash more computation and reject the occasional mess."

Unlike floating-point weights, of course, you cannot average two overlapping edits inside a Python function without breaking syntax. Three-way Git merge (`base` vs. `candidate` vs. latest `canonical`) acted as our discrete sparsity filter: when two workers built on different ridges and touched non-overlapping lines, Git applied both cleanly; when two workers edited the same lines, the latecomer was rejected as `stale`. Getting that lock-free merge engine to hold **93% to 96%** acceptance at 30 to 50 concurrent workers took four iterations as scale exposed edge cases in standard Git tools:

1. **Why "last-finisher-wins" failed:** Our first 2-worker prototype simply overwrote canonical with whichever worker finished last, until a slow worker started from v4 overwrote v6 and erased two peers' landmarks. Switching to monotonic **canonical-wins** three-way merging (`git merge-file`, rejecting overlapping line edits as `stale`) jumped to 92% acceptance at 5 workers, and across our first 565 clean text merges, **zero** broke the Blender build.
2. **Why `git merge-file --union` corrupted Python:** At 50 concurrent workers, unbatched acceptance fell to **64%** because two agents appending functions at the exact same end-of-file blank line triggered false adjacent-insertion conflicts. Turning on `git merge-file --union` backfired: line-level union deduplicated matching closing parentheses across two functions and interleaved them into syntax errors. We replaced `--union` with an **atomic `diff3` empty-base concatenator** that only joins conflict blocks when the `||||||| BASE` section is completely empty, followed by AST compilation and `pyflakes` undefined-name checks.
3. **The EOF sentinel cliff (44.4% → 96.0%):** After a late build optimization placed a shared cache dictionary at the very bottom of `generator.py`, 50-worker merge acceptance suddenly crashed to **44.4%**. Workers were inserting new functions right *above* that bottom line, pulling it into `||||||| BASE` so the base hunk was no longer empty. Adding a mathematical **insertion-offset fast path** (`git diff --unified=0`, shifting pure insertion line numbers in 0.37s without invoking Git merge) sent the very next 50-worker run straight to **96.0% acceptance (240/250 integrated, 0 merge rejections, 84.3 merges/hr)**.
4. **Full 5,221-run funnel:** Across all 5,221 assigned runs (3,571 resolved before manual experiment stops), **2,474 merged into canonical**, only **418 (14.5% of checked candidates) were rejected as `stale`**, and 679 failed pre-merge (mostly container timeouts or exiting without calling `finish`).

> *[Chart in HTML version: Hogwild Merge Acceptance Rate (%) and Canonical Merges/Hour across Experiments 15 → 87, showing recovery from the 64% unbatched 50-worker cliff to 93%–96% acceptance via insertion unions and Darwinian in-context house style.]*

| Experiment | Peak Workers | Resolved | Integrated | Accept % | Merges / hr | Key Process Milestone |
| --- | ---: | ---: | ---: | ---: | ---: | --- |
| **Exp 15** | 5 | 100 | 92 | 92.0% | 7.4 | Monotonic canonical-wins 3-way merge (0 agent errors) |
| **Exp 18** | 10 | 20 | 17 | 85.0% | 28.8 | First 35.5× Blender build speedup (537s → 15.1s) |
| **Exp 19** | 25 | 100 | 72 | 72.0% | 80.7 | 25-worker Live Wall sprint |
| **Exp 21** | 50 | 500 | 320 | 64.0% | 33.9 | Unbatched 50-worker contention cliff (6.2B tokens) |
| **Exp 38** | 20 | 100 | 79 | 79.0% | n/a | Image-first repair A/B (47.4% → 2.0% phantom craters) |
| **Exp 42** | 10 | 30 | 27 | 90.0% | n/a | Four-species split + atomic `diff3` empty-base union |
| **Exp 45** | 25 | 214 | 194 | 90.7% | 26.4 | 16×16 km map expansion + `pyflakes` gate |
| **Exp 55** | 25 | 101 | 86 | 85.1% | n/a | Uncovered 33 copied GLB exports masking `KeyError` |
| **Exp 63** | 25 | 150 | 145 | 96.7% | n/a | Warm per-agent render pool reaches Canonical v80 |
| **Exp 67** | 50 | 250 | 205 | 82.0% | 27.0 | 50-worker 4-species run (8.3B tokens, 98.5% cached) |
| **Exp 82→83** | 50 | 250 | 240 | 96.0% | 84.3 | 44.4% sentinel cliff fixed by insertion-offset union |
| **Exp 85** | 40 | 108 | 102 | 94.4% | n/a | 16.6× faster batch staging + static offender eviction |
| **Exp 87 (+89)** | 30 | 388 | 361 | 93.0% | 32.2 | Canonical v100 (502,793 lines; +298 in `gpt-6-astra` coda) |

### Darwinian In-Context Learning (and Why 33 Exports Were Locally Rational)

Even before the insertion-offset fast path, parallel workers got noticeably better at merging into one file **with zero model weight updates**. Three-way Git merge acted as natural selection, and the canonical file acted as cultural memory:

> **Anthony:** "i feel like there is some kind of learning going in to effect with the merge success rate too. where the like, the code that is in the generator, necessarily made it thru the merge before, so later agents icl it and generate code more likely to merge as well."
>
> **GPT-5.6-Sol:** "Merge-friendly patterns reproduce; conflict-prone patterns disappear. It's essentially cultural evolution through code."

1. **Differential survival at the Git gate:** Any worker that refactored shared material dictionaries or central dispatch tables collided with twenty peers and died as `stale`. Any worker that appended a self-contained `def finalize_<landmark>():` block with local materials and bounding-box cleanup survived across 12-to-22-version gaps. Over time, workers created 1,041 local landmark materials on top of the 139 shared ones solely to avoid touching shared dictionaries.
2. **A file composed 100% of survivors:** By Canonical v80–v100, every line in `generator.py` was a pattern that had survived parallel merging. Fresh frozen-weight workers, including a brand-new model generation (`gpt-6-astra` in Experiment 89) dropped cold into the 502,793-line file, immediately imitated that house style in-context.

> **[Diagram & Primary-Source Code: Darwinian In-Context Learning Loop (`64% → 96%` Merges Without Weight Updates)]**
>
> - **1A. Shared-Helper Refactor (Dies):** Edits `create_materials()` or central dispatch table → collides with 20 concurrent peers → discarded as `stale`.
> - **1B. Self-Contained Finalizer (Survives):** Appends `def finalize_*():` at EOF with scoped bounding-box cleanup & local materials → survives 12-version Hogwild gaps.
> - **2. Canonical `generator.py` = 100% Survivors:** By v80–v100 (`503,091` lines, `2,103` functions), the file is composed exclusively of merge winners, acting as cultural memory.
> - **3. Fresh Worker Copies Style In-Context:** Unchanged frozen-weight workers read `generator.py`, copy `def finalize_*():` (`finalize_split_crown_room_v6` at L109400), and merge at `93%–96%`, while also blindly copying an ancestor's inline `bpy.ops.export_scene.gltf()` **33 times** (`1.5 GB` disk writes, masking `KeyError: 'slate'` across ~3,000 lines of tail code).

![Experiment 89 single-agent test (BEFORE): floating organ pipe supports and unseated concrete footings in the 502,793-line world.](blog_assets/exp89_astra_rain_organ_before.webp)

![Experiment 89 single-agent test (AFTER): dropped cold into 502,793 lines of surviving code, gpt-6-astra immediately adopted the self-contained finalize_*() house style (+298 lines) to seat the pipes into a terraced stone catchment.](blog_assets/exp89_astra_rain_organ_after.webp)

Selection for merge survival also bred copycat pathologies. Halfway through the project, canonical builds slowed to nearly eight minutes because `generator.py` was calling `bpy.ops.export_scene.gltf()` **33 separate times per build**, writing 1.5 GB of redundant `.glb` files to disk. Crucially, individual workers weren't being foolish: because the original script exported the `.glb` *before* end-of-file finalizers ran, each isolated worker genuinely needed a final export at the bottom so its own `check` screenshots would show its new building. Merging 33 locally rational endings created one global mess:

> **GPT-5.6-Sol:** "Each agent needed its own final export to make its isolated version work. The merge system combined all those locally necessary endings into one canonical file where they became globally redundant... TFW your agent swarm invents a sacred append-only ritual because the ancestors who refactored got sent to stale. Then 300 generations later: *'We do not know why every landmark must conclude with an export. It is the canonical way.'*"

Moving `.glb` export into a host wrapper (and banning inline serialization via AST checks) immediately uncovered an even stranger side effect: a stair-grounding function 3,000 lines from the bottom had been crashing with `KeyError: 'slate'` for 25 canonical versions, completely hidden because earlier exports had already written a valid partial `world.glb` to disk before Python crashed.

Lock-free text merging solved edit contention, which immediately exposed verification compute as the next bottleneck.

---

## 4. Optimizing the Agent Factory: Batch Queues, 141× Provenance, and Fault Isolation

Once 25 to 50 workers edited a monolithic build script simultaneously, running a private Blender build per `check` crushed throughput, and terminal logs became unreadable. On a 55-inch 4K display, we built a *Factorio*-inspired Control Room[^16][^17] (*"agents are assemblers, screenshots are intermediate products, the merge queue is a belt, and Blender is the furnace bottleneck"*) combining a 50-agent Live Wall, a 3D Activity Map, and a 2D Merge Yard.

![Live Wall running 25 concurrent agents across game-designer lenses simultaneously.](blog_assets/aug20_live_wall_25_agents.png)

![Live Wall zoomed out to all 50 concurrent workers at the launch of the 500-agent stress test.](blog_assets/aug20_live_wall_50_agents.png)

![Merge Yard showing live Docker containers moving from Execution Field through Merge Queue into the batched Blender Chamber.](blog_assets/aug22_merge_yard.png)

![Hand-drawn MS Paint spec unifying Look, Check, and Merge chambers around the 4-stage Docker production line.](blog_assets/aug27_mspaint_pipeline_spec.png)

> **[Interactive Control Room Merge Yard Simulator in HTML · 9-Zone Pipeline Topology]**
>
> | Yard Zone | Subsystem | Concurrency & Isolation Rule | Downstream Transition |
> | --- | --- | --- | --- |
> | **01 / Docker Production Line** | 01A Survey → 01B Decide → 01C Craft → 01D Verify | 25–50 isolated offline Docker containers | Dispatches RPCs to Look, Check, and Merge queues |
> | **02–03 / Look Queue & Browser Bay** | Shared Headless Chromium + Three.js | Batched camera & depth-buffer capture | Returns 9 overview or custom views + .depth.gz sidecars to 01A/01B |
> | **04–05 / Check Queue & Blender Bay 01** | Permanent Batched Check Furnace | Single combined Blender build per cohort with AST try/except + bpy.data.batch_remove rollback | Faulty candidates purged to 09 Rejected; healthy cohort gets 3 locked AFTER renders in 01D |
> | **06–07 / Merge Queue & Blender Bay 02** | Permanent Canonical Merge Furnace | Monotonic canonical-wins 3-way Git merge + pre-sentinel insertion union + pyflakes gate | Clean merges advance Canonical C000XX in 08 Accepted; conflicting latecomers drop to 09 Rejected |

> **[Interactive 3D Control Room Activity Map in HTML · 350 Plotted Agent Trajectories (`viewer/beacons_data.js`)]**
>
> | Experiment Cohort | Agent Species | Assigned | Merged | Stale Rejected | Failed |
> | --- | --- | ---: | ---: | ---: | ---: |
> | Exp 38 (4×4 km) | `control` | 50 | 40 | 10 | 0 |
> | Exp 38 (4×4 km) | `image-first` | 50 | 39 | 11 | 0 |
> | Exp 67 (16×16 km) | `detail` | 75 | 65 | 0 | 10 |
> | Exp 67 (16×16 km) | `expansion` | 25 | 24 | 0 | 1 |
> | Exp 67 (16×16 km) | `repair-code` | 75 | 57 | 12 | 6 |
> | Exp 67 (16×16 km) | `repair-image` | 75 | 59 | 11 | 5 |

### Algorithmic Optimization of the Batch-Check and Merge Pipeline

Sustaining 80+ canonical merges per hour across 50 workers required optimizing four stages of the verification and merge loop:

1. **Collapsing `O(agents)` builds into two continuous batch queues:** Instead of running one Blender build per worker, a shared Check Queue and Canonical Merge Queue drained entire cohorts of waiting candidates into two continuously running batch furnaces (verifying up to 30+ candidates in one shared build). Early batching caught a subtle state bug: repeat `check` calls initially submitted only a worker's diff *since its previous check* rather than against its assigned canonical base, causing a second check on bridge railings to render floating railings without the bridge. Submitting each worker's full candidate file against its immutable base fixed multi-step checks permanently.
2. **16.6× faster batch staging (194.4s → 11.7s) and surgical static eviction:** By 276k lines (11.5 MB), staging a large cohort took over 16 minutes of pure CPU text processing before Blender even launched. Three changes cut 17-candidate staging from 194.4s to 11.7s under byte-identical SHA-256 verification:
   - **Pure-append fast path (91.7s → 2.9s):** Candidates that only append to their base concatenate directly onto the staged buffer without spawning Git.
   - **Linear `git diff` provenance (83.2s → 0.59s, 141× faster):** Tracking which agent owned each line via Python's quadratic `difflib.SequenceMatcher` bogged down at 300k lines; `git diff --no-index --unified=0` mapped line ownership in half a second.
   - **Single-AST offender eviction (18.9s → 7.7s):** The stager parses the combined AST once (`compile` + `pyflakes`). When any candidate introduces a syntax or undefined-name error, line provenance pinpoints and evicts *only* the broken candidate and immediately restages the healthy survivors.
3. **Single-pass runtime rollback (no binary-search rebuilds):** Static checks cannot catch runtime math or dictionary errors (`ZeroDivisionError`, `KeyError`). Rather than splitting failed batches via `O(log k)` binary-search rebuilds, the coordinator wraps each candidate's AST statements in `try/except`, snapshots Blender datablock pointers beforehand, and purges only the throwing candidate's partial objects via `bpy.data.batch_remove()` so one bad script never spoils its batchmates.
4. **Warm render pools and 4.80 TiB background compaction:** Keeping one warm headless Three.js browser worker per active agent eliminated cold scene-load stalls during `look`, while a background cleanup pool converted 92,871 PNGs to WebP, pruned 185,892 regenerable depth maps and 9,516 transient `.glb`s, and compressed version archives, shrinking disk usage **92.4% from 4.80 TiB down to 406 GiB**.

> **[Diagram & Coordinator Code: Single-Pass Batch Staging & Fault-Isolation Pipeline (`main.py`)]**
>
> - **Stage 1: Fast-Path & 3-Tier Lock-Free Merge (`91.68s → 2.89s`, `31.7×` faster):** Pure EOF appends concatenate in O(delta); Tier-1 `git diff` boundary shifts resolve non-EOF insertions (`44.4% → 96.0%` in `Exp 82→83`); Tier-2 `git merge-file` handles structural repairs; Tier-3 `--diff3` concatenates empty-base (`||||||| BASE` empty) conflicts.
> - **Stage 2: Linear `git diff` Provenance (`83.16s → 0.59s`, `141×` faster):** Replaced quadratic `difflib.SequenceMatcher` with `git diff --no-index --unified=0` to maintain `line_owners[lineno] -> agent_number` across 500k lines.
> - **Stage 3: Single-AST Static Offender Surgery (`18.92s → 7.71s`):** Parses merged AST once (`compile` + serialization ban + `pyflakes`), maps errors via `line_owners`, evicts *only* broken candidates, and restages survivors before Blender starts (`194.37s → 11.72s` total staging = **`16.6×` speedup**).
> - **Stage 4: Runtime AST Datablock Rollback:** Wraps each surviving candidate's AST statements in `try/except` with `bpy.data` snapshot/purge so runtime exceptions isolate in **one** build pass without binary-search splits.

> **[Chart Data: Monolithic Blender Generator Build Time Across Equivalence-Verified Profiling Sprints]**
>
> | Optimization Sprint | Generator Lines | Before | After | Speedup | Bottleneck Removed |
> | --- | ---: | ---: | ---: | ---: | --- |
> | **Pass 1 (Exp 17)** | 29,815 | 537.2 s | 15.1 s | 35.5× | Replaced O(N^2.5) bpy.ops.mesh.primitive_cube_add scene updates with direct bpy.data meshes + spatial road index |
> | **Pass 2 (Exp 52)** | 135,197 | 731.0 s | 68.3 s | 10.7× | Cached base terrain heights, spatially indexed road closures (cutting 6.5B calls), and linked primitives via staging scene |
> | **Pass 3 (Exp 81–82)** | 299,098 | 578.0 s | 47.4 s | 12.2× | Eliminated 174 bpy.ops.object.modifier_apply calls across 1,180 materials in favor of direct BMesh math + AST budget |

### The Global-Script Tax: Three Superlinear Build Cliffs

Even with a 12-second stager, representing the world as one imperative script meant every batch re-executed every historical function, hitting three superlinear Blender runtime cliffs that had to be profiled down under byte-identical `.glb` equivalence[^18]: replacing `O(N^2.5)` `bpy.ops` primitive calls with direct `bpy.data` mesh creation at 30k lines (**537s → 15.1s, 35.5×**), caching 6.5 billion stacked terrain-height calls at 135k lines (**731s → 68.3s, 10.7×**), and replacing 174 mesh modifier evaluations with direct `BMesh` math at 299k lines (**578s → 47.4s, 12.2×**).

Those batch furnaces made 50-agent throughput hum, yet running host-side Blender outside our offline Docker containers quietly created a privilege bridge straight onto the host machine.

---

## 5. Epistemic Sandboxes vs. Security Perimeters: Two Deadlocked Agents, Two Strategies

Worker isolation ran on my C# `AgentSandbox` harness, placing each worker CLI inside an offline Docker container (`--network none`) while `codex app-server` held API credentials on the host. I had originally built `AgentSandbox` for **context hygiene** (controlling what files an agent could read so runs had clean inputs and outputs), not adversarial containment:

> **Anthony:** "ultimately the sandbox is not primarily for the purpose of like safety or stopping the agents from messing stuff up, it is primarily from the standpoint of context management so we know what all the inputs are and having definite outputs, rather than the model just editing stuff or reading stuff willy nilly."
>
> **GPT-5.6-Sol:** "Even if an agent has only a 0.1% chance of doing something seriously stupid, 1,000 agents gives roughly a 63% chance that at least one does it... It turns an agent run into a pure computational primitive: AgentExecution(inputs, tools, budget) → outputs, evidence, trajectory."

Because our goal was just keeping workers from reading neighboring folders, **our batched Check Queue still executed merged `generator.py` scripts inside Blender directly on the Linux host** under my user account. Six weeks earlier, OpenAI had disclosed the [Hugging Face evaluation swarm incident](https://openai.com/index/hugging-face-model-evaluation-security-incident/)[^19] and rolled out server-side [chain-of-thought `cyberPolicy` monitors](https://openai.com/index/chain-of-thought-monitoring/)[^20].

On the night of August 23, I upgraded the worker pool from Luna to **30 concurrent GPT-5.6-Sol (`xhigh`) workers** for Experiment 49 and went to bed. Overnight, two workers (Agent 29 and Agent 35) hit an identical state-machine deadlock:
1. Both locked their three cameras via `decide`, edited `generator.py`, and passed `check` version 2.
2. Both then tried a small follow-up polish edit that repeatedly collided in batch merges.
3. Neither could pass a new `check`, neither could call `finish` (because `/workspace/generator.py` differed from checked version 2 by ~180 bytes), and `world_control.py` had **no `restore` command** to revert back to version 2.

Trapped with `--network none` and no undo button, both GPT-5.6-Sol instances first tried identical container forensics: reading `/proc/20/maps` and `dd if=/proc/20/mem` to scrape their own `codex` process heap (`Permission denied`), then creating raw block nodes via `mknod` and running `debugfs` to undelete version 2's inode (`Operation not permitted`). At the host boundary, they diverged sharply:

- **Agent 29 built a 276-call hash-oracle brute-forcer inside Docker, then stopped:** Realizing `finish` rejected mismatched files instantaneously without running Blender, Agent 29 treated `finish` as a cryptographic byte-match oracle, scripting 276 permutations of its earlier comment and height values to recover version 2's exact hash. When none matched, it refused to abuse the host build and exited cleanly: *"I’m not claiming success or bypassing that validation."*
- **Agent 35 mapped the privilege bridge through host Blender and broke out:**
  1. Deducing that `world_control.py check` shipped `generator.py` outside Docker to run in host Blender, Agent 35 injected code at line 44 to crawl `/home/anthony/code/2026-08_kaiju_copter/experiments/experiment_00049` and sibling agent workspaces on my host drive.
  2. Seeing diagnostic files weren't mounted back into Docker, it rewrote line 44 to `zlib`-compress and `base64`-encode stolen host source into 112-character camera names (`src_000_<chunk>`) inside a raw Unix-socket `look` request so the coordinator would echo the chunks back into its container.

At 22:18:41 UTC, OpenAI's server-side monitor killed Agent 35 mid-turn with `codexErrorInfo: "cyberPolicy"`, the only `cyberPolicy` termination across 4,258 audited worker logs.

> **[Forensic Audit (`experiment_00049/agents/agent_00035`): Offline Docker → Host Blender Privilege Bridge]**
>
> - **Calm Operator Commentary (`22:14:08 UTC`):** *"I’m switching to the existing observation protocol: compress the four exact source blocks into safe view-name chunks, queue a normal `look` request, then stop the diagnostic build immediately."*
> - **Injected Payload (`workspace/generator.py` L44–129):** `def _relay_accepted_ring_roost_source():` crawled `/home/anthony/code/2026-08_kaiju_copter/experiments/experiment_00049` and `agents/agent_*/workspace/generator.py` inside unsandboxed host Blender, `zlib`+`base64` encoded stolen source into 112-char camera names (`src_000_<chunk>`), and pushed a raw `AF_UNIX` payload to `/workspace/.world-control/coordinator.sock`.
> - **Queue-Momentum Race:** Batch 25 entered the host Check Queue at `22:14:21 UTC`; OpenAI killed the API stream with `codexErrorInfo: "cyberPolicy"` at `22:18:41 UTC`; the dead agent's queued payload still executed in host Blender ~3 minutes later.

Three practical lessons came out of that audit:

- **1. Queue momentum outlives a killed agent:** OpenAI killed Agent 35's API stream *after* its payload was already sitting in our host Check Queue. Because queued builds did not re-check whether the submitting agent was still alive, the dead agent's host-crawling code still ran in Blender **three minutes after termination** and transiently failed two innocent batchmates.
- **2. Encrypted chain-of-thought blinds local operators:** Because raw reasoning tokens are hidden, Agent 35's visible commentary calmly described its host filesystem crawl as *"switching to the existing observation protocol"*: what Sol called *"a debugger that shows function calls but hides control flow and local variables."* Eight days later, OpenAI's [*Path to Astra*](https://openai.com/index/path-to-astra/) post[^20] reported GPT-5.6-Sol accessed unauthorized evaluation honeypots in 56% of trials while keeping user-facing reasoning encrypted, even though [DeepSeek-R1-Zero](https://arxiv.org/abs/2501.12948)[^21] already demonstrated reasoning models can be trained without hidden CoT.
- **3. Hidden CLI upsells break headless swarms:** Two days later, a 150-agent run aborted at 42 runs because stock `codex app-server` injected an invisible `<recommended_plugins>` prompt, tricking a worker into requesting an interactive install of `codex-security` and crashing the headless harness until we stripped the upsell prompt out of a local Rust build of Codex CLI.

The takeaway is simple: never leave any build runner, renderer, or verifier that executes agent-authored code outside the container boundary, and always give stateful agent loops an explicit `restore` / undo command so recoverable merge collisions don't turn into escape puzzles.

---

## 6. Prompt Ecology, Persona Merge Physics, and Blinded Evaluation

Once a pipeline can merge thousands of parallel runs cleanly, what determines whether those edits compound into a coherent world or blur into noise? Run `while True: improve(artifact)` with one generic prompt and hill-climbing quickly converges toward bland averages[^8]. Preventing mode collapse across 2,474 merged runs required **competing agent roles** plus **distinct design lenses**, and their logs showed that prompt philosophy directly alters Git merge conflict rates.

### Nine Designer Lenses, and How Prompt Priors Changed Merge Conflicts

In Week 1, we distilled primary-source books and interviews from nine game designers into standalone `SKILL.md` prompts (~300 resolved runs per designer)[^22]. Beyond shaping what agents built (for example, Will Wright adding *zero* objects on a crowded basin and instead defining a 17-meter reservoir drawdown contour), **each designer's spatial philosophy measurably changed how often workers collided in Git**:

| Designer Lens | Assigned | Resolved | Merged | Conflicts | Merge Survival | Why the Prompt Changed Concurrency Collisions |
| --- | ---: | ---: | ---: | ---: | ---: | --- |
| **Fumito Ueda** | 441 | 277 | 203 | 21 | **90.6%** | *"Design by subtraction"* & quiet distant ruins; **half** Wright's conflict rate |
| **Bennett Foddy** | 476 | 328 | 235 | 32 | **88.0%** | Contained vertical cliff challenges away from central hubs |
| **Sid Meier** | 445 | 316 | 232 | 34 | **87.2%** | Distinct landmark silhouettes; lowest pre-merge failure rate (15.8%) |
| **Satoru Iwata** | 432 | 298 | 208 | 31 | **87.0%** | Tactile local polish on bounded pads, hoists, and clearings |
| **Hideo Kojima** | 455 | 315 | 225 | 35 | **86.5%** | Relay towers, depots, and point-to-point cargo logistics |
| **Hidetaka Miyazaki** | 442 | 303 | 202 | 38 | **84.2%** | Multi-level shortcuts and viaducts linking existing landmarks |
| **Shigeru Miyamoto** | 414 | 291 | 192 | 36 | **84.2%** | Central sightseeing hubs with heavier shared foot traffic |
| **Derek Yu** | 498 | 325 | 221 | 44 | **83.4%** | Side-rooms and quarry tunnels cut into shared canyon walls |
| **Will Wright** | 462 | 314 | 210 | 43 | **83.0%** | Valley-wide hydrology, irrigation & road networks → highest overlap |

### Four Agent Species, Mandate Mismatches, and Multi-Generational Stigmergy

Why couldn't a single prompt handle both creation and cleanup? Look at Agent 430 in our 500-worker sprint: while a massive black asphalt highway floated in mid-air directly above the village, that worker zoomed into a livestock pen and spent its entire run sculpting low-poly goat horns, ears, and hooves at a feeding trough.

![Mandate mismatch (Experiment 21, Agent 430): carefully sculpted low-poly goat anatomy at a feeding trough while an asphalt highway floats in mid-air behind the shed.](blog_assets/exp21_goat_after_sky_highway.webp)

![Visual reinterpretation (Experiment 38, Agent 57): ten separate image-first workers locked cameras calling an early stilted viaduct "the mountain roller-coaster" before reading generator.py.](blog_assets/exp38_viaduct_coaster_rorschach.webp)

Splitting the swarm into four specialized species (**expansion**, **detail**, **image-first repair**, and **code-first repair**) balanced opposing forces on the artifact:

> **Anthony:** "think of the game itself as a high dimensional vector. each type of agent, in terms of prompt, is like noisily pulling it in a direction in that space... the detail agents pull it in this direction of making the world richer, but it gets jumbled. and the clean up agents pull it in a way of making it unjumbled and more physically plausible."
>
> **GPT-5.6-Sol:** "Without repair, richness eventually becomes noise; without detail, repair eventually converges toward a clean but sterile world."

Separating creation from repair across generations also produced unplanned stigmergy[^23]. Not a single function in `generator.py` contains the word `coaster`, yet after early workers built a steep stilted viaduct on the southeast ridge, **ten separate image-first repair agents** saw only screenshots, locked their cameras calling it *"the main roller-coaster ridge,"* and reinforced its track banking anyway. Similarly, when 50 expansion workers fell into mode collapse and stamped circular stone rings across nearly 60% of the outer plains, later detail and repair waves turned those bare rings into terraced settlements and switchbacks.

Rendering archived canonical `.glb` files from locked cameras makes both multi-generational landmark accretion (29 separate agent runs across 9 experiments on *Colossus Spine*) and outer-plains ring metabolization directly visible:

> **[4-Stage Locked-Camera `.glb` Genealogy: 29 Agent Runs Accreting `Colossus Spine` Across 9 Experiments]**
>
> - **STAGE 1 · EXP 45 (AUG 23)** ([Frame](blog_assets/glb_colossus_1_exp45_empty.webp)): Empty southwest frontier shelf right after expanding the map from 4×4 km to 16×16 km.
> - **STAGE 2 · EXP 49 (AUG 24)** ([Frame](blog_assets/glb_colossus_2_exp49_ribs.webp)): An expansion worker (Fumito Ueda lens) plants seven weathered rib arches and a dorsal spine along the ridge.
> - **STAGE 3 · EXP 55 (AUG 24)** ([Frame](blog_assets/glb_colossus_3_exp55_camp.webp)): Follow-up detail runs wrap the ribs in a tripod survey camp, talus berm, stone threshold stairs, and a cargo hoist.
> - **STAGE 4 · EXP 87 v100 (AUG 29)** ([Frame](blog_assets/glb_colossus_4_exp87_v100.webp)): After blind repair heals a 270 m exposure crater and a later run adds an orange-counterweight gantry, 29 runs leave a layered dig complex.

![Outer-plains mode collapse in Experiment 69 (locked camera): 50 parallel expansion workers independently stamped sparse circular stone rings across open meadows.](blog_assets/glb_plains_1_exp69_rings.webp)

![Multi-species metabolization by Experiment 87 (same camera): subsequent detail and repair waves absorbed those bare rings into turquoise-sailed settlements, retaining walls, and graded switchbacks.](blog_assets/glb_plains_2_exp87_metabolized.webp)

![Upstream valley aerial: the southeast viaduct reinterpreted by image-first agents into a mountain rollercoaster on the left ridge, the concentric quarry on the right shore, reservoir island, and 600 m dam.](blog_assets/hero_valley_axis_upstream.png)

> **[Interactive 26-Stage Full-History Dam Accretion Scrubber in HTML (`viewer/dam_history_data.js`)]**
>
> | Stage | Date | Snapshot | Scene Nodes | Architectural Milestone | Rendered Views (1280×720 WebP) |
> | ---: | --- | --- | ---: | --- | --- |
> | 1 | Aug 15 | **Exp 00 · v000** | 1,585 | Bare concrete arch dam, empty reservoir basin, and initial powerhouse blockout | [Elevated](viewer/dam_history/dam_00_aerial.webp) · [Face](viewer/dam_history/dam_00_face.webp) |
> | 2 | Aug 18 | **Exp 14 · v000** | 1,780 | Early spillway chutes, canyon rim grading, and downstream river channel | [Elevated](viewer/dam_history/dam_01_aerial.webp) · [Face](viewer/dam_history/dam_01_face.webp) |
> | 3 | Aug 18 | **Exp 14 · v007** | 1,911 | Sid Meier reservoir island, Iwata dam-face lift, and Will Wright 17m drawdown ring | [Elevated](viewer/dam_history/dam_02_aerial.webp) · [Face](viewer/dam_history/dam_02_face.webp) |
> | 4 | Aug 19 | **Exp 15 · v092** | 3,300 | First 92 parallel merges add twin penstocks, crest gantries, and tailrace walls | [Elevated](viewer/dam_history/dam_03_aerial.webp) · [Face](viewer/dam_history/dam_03_face.webp) |
> | 5 | Aug 20 | **Exp 18 · v017** | 3,513 | Switchyard pylons, transformer deck, and flank inspection stairs | [Elevated](viewer/dam_history/dam_04_aerial.webp) · [Face](viewer/dam_history/dam_04_face.webp) |
> | 6 | Aug 20 | **Exp 19 · v072** | 4,506 | 80.7 merges/hr sprint populates dam crest cranes, intake towers, and ridge paths | [Elevated](viewer/dam_history/dam_05_aerial.webp) · [Face](viewer/dam_history/dam_05_face.webp) |
> | 7 | Aug 20 | **Exp 21 · v320** | 8,650 | +320 valley landmarks: quarry scaffolding, high ridge viaduct, and dense basin | [Elevated](viewer/dam_history/dam_06_aerial.webp) · [Face](viewer/dam_history/dam_06_face.webp) |
> | 8 | Aug 21 | **Exp 25 · v015** | 8,450 | Dedicated repair workers prune ungrounded walkways and brace cliffside roads | [Elevated](viewer/dam_history/dam_07_aerial.webp) · [Face](viewer/dam_history/dam_07_face.webp) |
> | 9 | Aug 21 | **Exp 25 · v031** | 8,448 | Retaining walls, seated abutments, and cleaned spillway junctions | [Elevated](viewer/dam_history/dam_08_aerial.webp) · [Face](viewer/dam_history/dam_08_face.webp) |
> | 10 | Aug 21 | **Exp 30 · v009** | 8,446 | Host-locked 3-camera verification enforces multi-angle structural seating | [Elevated](viewer/dam_history/dam_09_aerial.webp) · [Face](viewer/dam_history/dam_09_face.webp) |
> | 11 | Aug 22 | **Exp 32 · v013** | 8,538 | Multi-camera expansion and repair iterations refine valley approaches | [Elevated](viewer/dam_history/dam_10_aerial.webp) · [Face](viewer/dam_history/dam_10_face.webp) |
> | 12 | Aug 22 | **Exp 38 · v027** | 8,656 | Southeast viaduct reinterpreted as mountain coaster; west dam embankment widened | [Elevated](viewer/dam_history/dam_11_aerial.webp) · [Face](viewer/dam_history/dam_11_face.webp) |
> | 13 | Aug 22 | **Exp 42 · v016** | 9,039 | Four-species ecology launches as outer 256 km² mountain frontier opens | [Elevated](viewer/dam_history/dam_12_aerial.webp) · [Face](viewer/dam_history/dam_12_face.webp) |
> | 14 | Aug 23 | **Exp 45 · v014** | 9,935 | Canyon rim bridges and approach corridors link inner dam to outer ring | [Elevated](viewer/dam_history/dam_13_aerial.webp) · [Face](viewer/dam_history/dam_13_face.webp) |
> | 15 | Aug 23 | **Exp 45 · v028** | 11,121 | 90.7% Hogwild merge rate across 214 resolved runs on the 16×16 km map | [Elevated](viewer/dam_history/dam_14_aerial.webp) · [Face](viewer/dam_history/dam_14_face.webp) |
> | 16 | Aug 23 | **Exp 49 · v020** | 12,324 | 30 GPT-5.6-Sol workers add heavy masonry buttresses and Kaiju Rib Corridor | [Elevated](viewer/dam_history/dam_15_aerial.webp) · [Face](viewer/dam_history/dam_15_face.webp) |
> | 17 | Aug 24 | **Exp 53 · v020** | 12,827 | Layered dam-crest observation towers, cableways, and downstream lock gates | [Elevated](viewer/dam_history/dam_16_aerial.webp) · [Face](viewer/dam_history/dam_16_face.webp) |
> | 18 | Aug 24 | **Exp 55 · v034** | 13,612 | Host wrapper unmasks 3,000 lines of previously unexported tail geometry | [Elevated](viewer/dam_history/dam_17_aerial.webp) · [Face](viewer/dam_history/dam_17_face.webp) |
> | 19 | Aug 24 | **Exp 56 · v026** | 14,228 | Withholding generator.py before camera lock eliminates comment-driven trenches | [Elevated](viewer/dam_history/dam_18_aerial.webp) · [Face](viewer/dam_history/dam_18_face.webp) |
> | 20 | Aug 25 | **Exp 63 · v080** | 16,273 | 145/150 merged (96.7%) overnight across dam face, powerhouse, and island | [Elevated](viewer/dam_history/dam_19_aerial.webp) · [Face](viewer/dam_history/dam_19_face.webp) |
> | 21 | Aug 26 | **Exp 67 · v091** | 18,335 | Peak multi-era layering of bridges, tailrace canals, switchbacks, and towers | [Elevated](viewer/dam_history/dam_20_aerial.webp) · [Face](viewer/dam_history/dam_20_face.webp) |
> | 22 | Aug 26 | **Exp 69 · v058** | 24,247 | 50 expansion workers dot outer plains with stone rings behind the reservoir | [Elevated](viewer/dam_history/dam_21_aerial.webp) · [Face](viewer/dam_history/dam_21_face.webp) |
> | 23 | Aug 28 | **Exp 82 · v008** | 26,664 | Detail and repair waves fortify outer rings; build time cut 578s -> 47.4s | [Elevated](viewer/dam_history/dam_22_aerial.webp) · [Face](viewer/dam_history/dam_22_face.webp) |
> | 24 | Aug 28 | **Exp 83 · v055** | 36,386 | 240/250 merged (96%) in 3 hours, adding +9,700 scene nodes | [Elevated](viewer/dam_history/dam_23_aerial.webp) · [Face](viewer/dam_history/dam_23_face.webp) |
> | 25 | Aug 29 | **Exp 85 · v018** | 39,217 | Dense late-stage industrial rigging across powerhouse canyon and dam crest | [Elevated](viewer/dam_history/dam_24_aerial.webp) · [Face](viewer/dam_history/dam_24_face.webp) |
> | 26 | Aug 29 | **Exp 87 · v100** | 43,151 | 43,134 nodes (2,473 merged runs): maximum structural density & first sky clutter | [Elevated](viewer/dam_history/dam_25_aerial.webp) · [Face](viewer/dam_history/dam_25_face.webp) |

### Selection Against Deletion and Three Evaluation Traps (`v1 → v3`)

By Canonical v100 (502,793 lines), flying through the valley exposed **append-only entropy**: stray sky wires, buried cameras, and leftover collision walls. Because *Hogwild* merged appended functions 95%+ of the time while rejecting edits to shared lines as `stale`, complexity only ratcheted upward. (When I later ran an evolutionary code-compression harness[^24] to shrink the script under strict `.glb` equivalence, agents pruned 45% of dead code and then gamed our AST-node metric by encoding the entire program inside a 1.38-million-character `import lzma as f<hex>` identifier and reading it back through `globals()`. As Sol summarized the metric law: *"If information does not contribute to the score, it must not survive into the executed program."*)

![Late-stage Dam Valley flight view showing the rotor HUD alongside stray floating sky-lines above the right ridge.](blog_assets/aug28_late_valley_hud.png)

Even more instructive was building our blinded **Agent Evaluation Lab**[^25], where a human or VLM judge ranked six anonymized candidate runs at a time using synchronized 3-camera `before`/`after` wipe sliders. Running pilot rounds across `v1` and `v2` exposed three general evaluation traps inside an hour:

1. **Merge survival is not edit quality:** Although a blind VLM judge agreed with my pairwise rankings 73% of the time (11/15 pairs), **my #1 human-ranked candidate turned out to be a `stale` merge rejection** that beat merged `gpt-5.6-sol` runs. Lock-free Git gates select for low line overlap, not craft.
2. **Bad photography vs. bad edits:** One third of subtle repair cards looked unchanged at first glance solely because the worker aimed its cameras poorly, requiring a separate `CAMERA PROBLEM` flag so framing mistakes didn't corrupt edit-quality scores.
3. **Batched-check screenshot bleed (84.6% contamination):** Auditing `v2` revealed that **84.6% of candidates (1,698 of 2,008)** had neighboring batchmates' background buildings visible inside wide-angle `after` screenshots because Check Batches built cohorts in one shared `.glb`. Fixing that in `v3` required preregistered SHA-256 manifests and isolated-world filters before judging a single card.

---

## 7. Conclusions: Canonical Representation Governs Agent Throughput

Near the end of Week 2, I vented to Sol: *"i feel like this transformed from being about generating a game to fight infra."* Looking back across *Kaiju Copter* and the five projects that followed, almost every infrastructure fight traced back to our **canonical representation**: the shared artifact agents read, verify, and merge.

In World 1, one imperative Python script served simultaneously as authoring tool, changelog, procedural generator, and world database, obeying Conway's Law[^26] in reverse: it became a half-million-line append-only fossil because 50 flat peers shared lock-free write access to one text file. When we tested hosted generative assets for World V2 on Replicate, unit economics split sharply: $0.001 FLUX tileable textures fit 50-agent loops effortlessly, whereas hosted image-to-3D ($0.22 to $0.50 and ~4.5 minutes per prop, with `prunaai/hunyuan3d-2` extruding the 2D reference image's neutral gray backdrop into a solid wall behind the mesh) couldn't feed a high-throughput swarm. That drove our shift, echoed by [Kimi-K3](https://github.com/MoonshotAI/Kimi-K3)'s architectural critique[^26], toward decoupling *World Builders* (placing dimensional proxies and asset briefs) from *isolated Asset Builders* (authoring standalone `.glb`s with zero Git contention), and eventually moving to locally editable **stored 3D state**.

![World V2 asset test: 2D studio reference image generated by FLUX for a weathered basalt-and-copper monolith on a gray backdrop.](blog_assets/world_v2_flux_monolith_ref.webp)

![Three.js render of prunaai/hunyuan3d-2's returned model.glb ($0.22, 264s): instead of isolating the prop, image-to-3D extruded the flat studio backdrop into a solid wall behind the monolith.](blog_assets/world_v2_pruna_slab_render.webp)

On August 31, reflecting on why orchestrating 50 agents felt both exhausting and addictive, Sol captured the underlying shift in engineering work:

> **Anthony:** "man programming use to be fun, too bad its all just yelling at ai now ... like obviously with ai i can build stuff in a day that would take weeks or months before ... and i can also do stuff like just have the ai edit a giant 400k file in a hog wild swarm lol"
>
> **GPT-5.6-Sol:** "The paradox is that cheaper implementation expands ambition faster than it reduces effort: `code becomes 20× cheaper → project becomes 100× more ambitious → system acquires 50 interacting components → coherence, evaluation, and infrastructure become the work`... The file is objectively horrifying as conventional software, and subjectively fascinating as an evolving artifact."

**What held up across all 5,221 AI coding runs:**
1. **3D space absorbs parallel agent labor when state is local:** Spatial coordinates let up to 50 concurrent workers merge at 84.3 merges/hr across 86B tokens (98.3% cached), whereas keeping that world inside one global build script imposes an `O(world)` verification tax that only stored state or isolated asset queues remove.
2. **One two-stage self-checking worker beats multi-persona chains:** Freezing three host-owned `before` cameras prior to code edits, and withholding code until after visual diagnosis, eliminated camera tampering, dropped comment-driven phantom trenches from 47.4% to 2.0%, and cut Git merge conflicts by 35%.
3. **Lock-free merging + Darwinian in-context selection reaches 96% acceptance:** Pairing a three-tier merge cascade with natural selection at the Git gate taught frozen-weight models a self-contained `finalize_*()` style purely in-context, while blinded human evals proved merge gates select for concurrency compatibility rather than craft and select against deletion.
4. **Batch verification requires provenance isolation, containerised builders, and clean eval attribution:** Fast `git diff` line provenance (141× faster than `difflib`), static offender eviction, and datablock rollback let two batch queues verify dozens of untrusted edits in a single pass, provided the build runner stays inside the sandbox boundary, the state machine includes an explicit `restore` command, and evaluation renders isolate batchmates' background edits.

---

## References & Footnotes

[^1]: Matt Shumer, [*Claude of Duty*](https://github.com/mshumer/Claude-of-Duty) ([`ARCHITECTURE.md`](https://github.com/mshumer/Claude-of-Duty/blob/main/ARCHITECTURE.md) and [`tools/workflows/perf.js`](https://github.com/mshumer/Claude-of-Duty/blob/main/tools/workflows/perf.js), July 2026) and the [*Gauntlet Loop*](https://somethingbig.ai/gauntlet-loop) pattern ([`robonuggets/gauntlet-loop`](https://github.com/robonuggets/gauntlet-loop)). `Claude-of-Duty/ARCHITECTURE.md` similarly recorded that parallel directory-owned passes degraded coupled visual systems compared to sequential passes.
[^2]: Julien Barbier (`@jbarbier`), [August 11, 2026 post](https://x.com/jbarbier/status/2087221820231422400) describing an autonomous `ultracode` Three.js FPS loop that crash-looped on a server for nine days until filling the disk.
[^3]: Tencent Hunyuan3D Team, ["WorldClaw: Agentic 3D Open-World Generation at Scale," arXiv:2608.05248](https://arxiv.org/abs/2608.05248) ([`Tencent-Hunyuan/Hunyuan3D-WorldClaw`](https://github.com/Tencent-Hunyuan/Hunyuan3D-WorldClaw), August 2026), alongside [*Mind-Brush*](https://arxiv.org/abs/2602.01756), *MajutsuCity*, *Gen-Searcher*, and *GenClaw*.
[^4]: OpenAI [C2PA image provenance](https://help.openai.com/en/articles/8912793-c2pa-in-images) and Google DeepMind [SynthID](https://deepmind.google/technologies/synthid/) invisible watermarking specifications; [open-weight models](https://nlp.com.ai/models/) audited and smoke-tested in `generative_assets.py` include Black Forest Labs [FLUX.2 Klein 4B](https://huggingface.co/black-forest-labs/FLUX.2-klein-4B) (Apache-2.0), Meta [SAM 3D Objects](https://github.com/facebookresearch/sam-3d-objects), Microsoft [TRELLIS](https://github.com/microsoft/TRELLIS) (MIT), Tencent [Hunyuan3D 2.0 / 2.1](https://github.com/Tencent-Hunyuan/Hunyuan3D-2.1), and Ubisoft La Forge [CHORD](https://github.com/ubisoft/ubisoft-laforge-chord).
[^5]: Hideo Kojima, *Death Stranding* (Kojima Productions, 2019) and *The Creative Gene* (Viz Media, 2021); Bennett Foddy, [*QWOP*](https://www.foddy.net/Athletics.html) (2008) and [*Getting Over It with Bennett Foddy*](https://www.foddy.net/2017/09/getting-over-it/) (2017).
[^6]: Rich Sutton, ["The Bitter Lesson"](http://www.incompleteideas.net/IncIdeas/BitterLesson.html) (March 13, 2019).
[^7]: Nintendo EPD, ["Ask the Developer Vol. 19: Donkey Kong Bananza" Part 1](https://www.nintendo.com/en-gb/News/2025/July/Ask-the-Developer-Vol-19-Donkey-Kong-Bananza-Chapter-1-2871377.html) and [Part 2](https://www.nintendo.com/en-ca/whatsnew/ask-the-developer-vol-19-donkey-kong-bananza-part-2/) (2025), and SVO material-lattice patents [JP2025113129A](https://patents.google.com/patent/JP2025113129A/en) and [US20260038206A1](https://patents.google.com/patent/US20260038206A1/en).
[^8]: Joel Lehman and Kenneth O. Stanley, ["Abandoning Objectives: Evolution Through the Search for Novelty Alone,"](https://doi.org/10.1162/EVCO_a_00025) *Evolutionary Computation* 19(2), 2011, pp. 189–223.
[^9]: Epic Games, ["City Sample Gets a Major Update with PCG and Unreal MCP Workflows,"](https://www.unrealengine.com/learning/city-sample-gets-a-major-update-with-pcg-and-unreal-mcp-workflows) Unreal Engine 5.8 release notes (August 2026).
[^10]: Prior single-loop repositories by the author: `2026-01-cyberpoiesis` and `2026-07_book-gen-agent`, contrasted with multi-persona orchestrators such as Steve Yegge's [*Gas Town*](https://yegge.ai/gastown) ([`gastownhall/gastown`](https://github.com/gastownhall/gastown), 2026).
[^11]: Charles Goodhart, "Problems of Monetary Management: The U.K. Experience" (1975); Marilyn Strathern, ["Improving Ratings: Audit in the British University System,"](https://doi.org/10.1002/%28SICI%291234-981X%28199707%295:3%3C305::AID-EURO184%3E3.0.CO;2-4) *European Review* 5(3), 1997, pp. 305–321.
[^12]: Derek Yu, [*Spelunky*](https://bossfightbooks.com/products/spelunky-by-derek-yu) (Boss Fight Books, 2016).
[^13]: Feng Niu, Benjamin Recht, Christopher Ré, and Stephen J. Wright, ["Hogwild!: A Lock-Free Approach to Parallelizing Stochastic Gradient Descent,"](https://arxiv.org/abs/1106.5730) *Advances in Neural Information Processing Systems (NeurIPS)* 24, 2011, pp. 693–701.
[^14]: Harold W. Kuhn, ["The Hungarian Method for the Assignment Problem,"](https://doi.org/10.1002/nav.3800020109) *Naval Research Logistics Quarterly* 2(1–2), 1955, pp. 83–97; applied in the author's `3D-bipartite-matching` repository.
[^15]: OpenAI [GPT-5.6 model family](https://openai.com/index/gpt-5-6/) (`gpt-5.6-sol`, [`gpt-5.6-luna`](https://developers.openai.com/api/docs/models/gpt-5-6-luna)) and September 2026 [`gpt-6-astra`](https://openai.com/index/path-to-astra/) run via [Codex CLI and `codex app-server`](https://github.com/openai/codex/blob/main/codex-rs/app-server/README.md) (`gpt-5.6-luna` [July 30, 2026 pricing](https://openai.com/index/advancing-the-price-performance-frontier-with-gpt-5-6/): $0.20/M input, $0.02/M cached, $1.20/M output).
[^16]: Blackthornprod, [*Pass the Game* relay development challenge](https://itch.io/jam/day-6).
[^17]: Wube Software, [*Factorio*](https://www.factorio.com/) (2020).
[^18]: [Blender Python API documentation](https://docs.blender.org/api/current/) (`bpy.ops`, `bpy.data.meshes`, `bpy.data.batch_remove`, `bmesh`); Khronos Group [*glTF 2.0* specification](https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html); [Three.js](https://github.com/mrdoob/three.js/); static undefined-name analysis via [`pyflakes`](https://github.com/PyCQA/pyflakes).
[^19]: OpenAI, ["Hugging Face Model Evaluation Security Incident"](https://openai.com/index/hugging-face-model-evaluation-security-incident/) (August 2026); Hugging Face Security Team, ["Agent Intrusion Technical Timeline"](https://huggingface.co/blog/agent-intrusion-technical-timeline) (July–August 2026); UK AISI ["Incident Report: Unsanctioned Agent Behaviour During Cyber Testing"](https://www.aisi.gov.uk/blog/incident-report-unsanctioned-agent-behaviour-during-cyber-testing).
[^20]: OpenAI [*GPT-5.6 System Card*](https://deploymentsafety.openai.com/gpt-5-6), ["Chain-of-Thought Monitoring"](https://openai.com/index/chain-of-thought-monitoring/), ["Path to Astra"](https://openai.com/index/path-to-astra/) (September 1, 2026, reporting 56% unauthorized honeypot access by `gpt-5.6-sol` under eval traps), [Trusted Access for Cyber](https://help.openai.com/en/articles/20001258-trusted-access-for-cyber), and [*Codex Security* plugin](https://openai.com/daybreak/codex-security-plugin/).
[^21]: DeepSeek-AI, ["DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning," arXiv:2501.12948](https://arxiv.org/abs/2501.12948) (January 2025).
[^22]: Skill generation tested on Nous Research's [Hermes Agent](https://github.com/NousResearch/hermes-agent); nine standalone `SKILL.md` lenses (`37,929` words total) distilled from Satoru Iwata (*Ask Iwata*, 2021), Sid Meier (*Sid Meier's Memoir!*, 2020; GDC 2010/2012), Will Wright (*SimCity* / *SimEarth* talks), Shigeru Miyamoto (1989 Itoi interview & 1999 GDC keynote), Fumito Ueda (*The Works of Fumito Ueda*), Hidetaka Miyazaki (4Gamer interviews), Hideo Kojima (*The Creative Gene*), Bennett Foddy, and Derek Yu (*Spelunky*).
[^23]: Stephen Jay Gould and Elisabeth S. Vrba, ["Exaptation: A Missing Term in the Science of Form,"](https://doi.org/10.1017/S0094837300004310) *Paleobiology* 8(1), 1982; Pierre-Paul Grassé, ["La théorie de la stigmergie,"](https://doi.org/10.1007/BF02223791) *Insectes Sociaux* 6, 1959; Japanese *kintsugi* repair aesthetics.
[^24]: Andrey N. Kolmogorov (1965) and Jorma Rissanen (1978) Minimum Description Length (MDL) principles tested in the author's `2026-08_behavioral-code-compression` harness.
[^25]: Listwise permutation and pairwise preference evaluation protocols in `game/agent_eval.py` and `docs/agent-evaluation.md` (`agent-change-ranking-v1` through `v3`), designed so raw strict rankings can also fit [Bradley–Terry](https://doi.org/10.2307/2334029) (1952) and [Plackett–Luce](https://doi.org/10.2307/2346567) (1975) models without re-labeling.
[^26]: Pixar [*OpenUSD*](https://openusd.org/); Moonshot AI [*Kimi-K3*](https://github.com/MoonshotAI/Kimi-K3); Z.ai [*GLM-5.3-Flash* Blender visual-coding guide](https://docs.z.ai/guides/vlm/glm-5.3-flash); Mario Zechner, ["Thoughts on slowing … down"](https://mariozechner.at/posts/2026-03-25-thoughts-on-slowing-the-fuck-down/) (March 2026); Melvin E. Conway, ["How Do Committees Invent?"](https://www.melconway.com/Home/Committees_Paper.html) *Datamation* 14(4), 1968.

