{
  "schema_version": "1.1",
  "article_slug": "kaiju-copter-spatial-worlds-ai-coding-labor",
  "title": "Using a 16x16 km Game World to Absorb 5,200 AI Coding Runs",
  "site": "https://nlp.com.ai",
  "project_window_utc": {
    "start": "2026-08-13T20:28:27Z",
    "world1_end": "2026-09-02T22:38:02Z",
    "postscript_exp89_end": "2026-09-06T23:27:13Z",
    "estimated_active_human_hours_first_12_days": 84.2
  },
  "series_context": {
    "theme": "High-throughput multi-agent orchestration, lock-free merging, verification, and spatial software labor absorption",
    "project_order": [
      {
        "order": 1,
        "name": "Kaiju Copter",
        "focus": "Up to 50 concurrent agents editing a shared 16x16 km Blender/Three.js world via 3-tier Hogwild merges and batched AST-isolated furnaces"
      },
      {
        "order": 2,
        "name": "Claude of Duty & Gauntlet Loop Reproductions",
        "focus": "Dissecting single-prompt multi-agent critic loops and small-model test-time compute harnesses"
      },
      {
        "order": 3,
        "name": "Threnody",
        "focus": "Gradual upsampling from encyclopedia text to concept art to blind-evaluated 3D Blender assets"
      },
      {
        "order": 4,
        "name": "NeoLab",
        "focus": "AI lab simulation management game"
      },
      {
        "order": 5,
        "name": "Underground Racer",
        "focus": "Built end-to-end with a local open-weight model"
      },
      {
        "order": 6,
        "name": "Robot Adventure",
        "focus": "Spatial game environment incorporating direct stored geometry state and Control Room tooling"
      }
    ]
  },
  "aggregate_funnel": {
    "world1_experiments": 87,
    "total_numbered_experiments_with_postscript": 89,
    "assigned_executions_world1": 5219,
    "assigned_executions_total": 5221,
    "resolved_executions_total": 3571,
    "integrated_commits_world1": 2473,
    "integrated_commits_total": 2474,
    "integration_methods": {
      "batch_merged": 1863,
      "single_three_way_merged": 577,
      "fast_forward": 33,
      "finishing_agent_fallback": 1
    },
    "stale_or_merge_rejected": 418,
    "failed_executions": 679,
    "cancelled_or_incomplete_on_stop": 1650,
    "tokens_metered_experiments": 68,
    "tokens_metered_runs": 4339,
    "tokens_total": 86038095373,
    "tokens_input": 85909990461,
    "tokens_cached_input": 84436778368,
    "prompt_cache_hit_rate": 0.98285,
    "tokens_output": 128104912,
    "tokens_reasoning_xhigh": 61221346,
    "artifact_storage_reclaimed_tib": 4.801,
    "artifact_storage_retained_gib": 406.27,
    "world_dimensions_km": [16, 16],
    "world_area_km2": 256,
    "canonical_v100_exp87_script_lines": 502793,
    "canonical_v100_exp87_scene_nodes": 43134,
    "final_working_tree_exp89_script_lines": 503091,
    "final_working_tree_exp89_scene_nodes": 43151,
    "peak_materials": 1180,
    "peak_meshes": 8775,
    "clean_git_merges_failing_blender_in_initial_audit": "0 / 565"
  },
  "batch_staging_speedup_exp81_batch5": {
    "total_staging_before_seconds": 194.37,
    "total_staging_after_seconds": 11.72,
    "speedup_x": 16.58,
    "merge_seconds_before": 91.68,
    "merge_seconds_after": 2.89,
    "provenance_seconds_before_difflib": 83.16,
    "provenance_seconds_after_git_diff": 0.59,
    "provenance_speedup_x": 140.95,
    "validation_seconds_before": 18.92,
    "validation_seconds_after": 7.71
  },
  "models_used": [
    {
      "model": "gpt-5.6-luna",
      "reasoning_effort": "xhigh",
      "role": "Primary parallel world-building, detail, expansion, and repair workers (48.0 merges per 1% weekly Pro quota in Exp 83)",
      "approx_api_rate_per_1m_usd": { "input": 0.20, "cached_input": 0.02, "output": 1.20 },
      "observed_prompt_cache_hit_rate": "98.24% - 99.02%"
    },
    {
      "model": "gpt-5.6-sol",
      "reasoning_effort": "xhigh",
      "role": "Interactive orchestrator, early serial runs, and Experiment 49 30-worker swarm (1.2 merges per 1% weekly Pro quota)",
      "approx_api_rate_per_1m_usd": { "input": 10.00, "output": 60.00 }
    },
    {
      "model": "gpt-6-astra",
      "reasoning_effort": "xhigh",
      "role": "Single-agent postscript test in Experiment 89 (+298 lines, 97.6% cache hit, repaired SouthGapRainOrgan)"
    },
    {
      "model": "kimi-k3",
      "reasoning_effort": "thinking",
      "role": "External architectural critique of the spatial script-field world compiler"
    }
  ],
  "populations": {
    "expansion": {
      "experiments": 29,
      "assigned": 1707,
      "resolved": 894,
      "integrated": 588,
      "rejected": 64,
      "failed": 242,
      "git_merge_survival_rate": 0.9018,
      "role_summary": "Survey empty outer territory across the 16x16 km map and plant new regional landmarks"
    },
    "detail": {
      "experiments": 30,
      "assigned": 1559,
      "resolved": 1082,
      "integrated": 836,
      "rejected": 24,
      "failed": 222,
      "git_merge_survival_rate": 0.9721,
      "role_summary": "Elaborate existing landmarks using one of 9 randomly drawn game-designer lenses"
    },
    "repair-code": {
      "experiments": 15,
      "assigned": 351,
      "resolved": 256,
      "integrated": 175,
      "rejected": 32,
      "failed": 49,
      "git_merge_survival_rate": 0.8454,
      "role_summary": "Inspect world views with full generator.py access to repair floating or broken structures"
    },
    "repair-image": {
      "experiments": 15,
      "assigned": 319,
      "resolved": 225,
      "integrated": 189,
      "rejected": 21,
      "failed": 15,
      "git_merge_survival_rate": 0.9000,
      "role_summary": "Withhold generator.py until after visual diagnosis and 3-camera lock to prevent comment-driven archaeology and reduce helper collisions by 35%"
    }
  },
  "designer_lenses": [
    { "skill": "ueda", "designer": "Fumito Ueda", "assigned": 441, "resolved": 277, "integrated": 203, "merge_rejected": 21, "failed": 53, "git_merge_survival_rate": 0.9062 },
    { "skill": "bennett-foddy", "designer": "Bennett Foddy", "assigned": 476, "resolved": 328, "integrated": 235, "merge_rejected": 32, "failed": 61, "git_merge_survival_rate": 0.8801 },
    { "skill": "sid-meier", "designer": "Sid Meier", "assigned": 445, "resolved": 316, "integrated": 232, "merge_rejected": 34, "failed": 50, "git_merge_survival_rate": 0.8722 },
    { "skill": "iwata", "designer": "Satoru Iwata", "assigned": 432, "resolved": 298, "integrated": 208, "merge_rejected": 31, "failed": 59, "git_merge_survival_rate": 0.8703 },
    { "skill": "kojima", "designer": "Hideo Kojima", "assigned": 455, "resolved": 315, "integrated": 225, "merge_rejected": 35, "failed": 55, "git_merge_survival_rate": 0.8654 },
    { "skill": "miyazaki", "designer": "Hidetaka Miyazaki", "assigned": 442, "resolved": 303, "integrated": 202, "merge_rejected": 38, "failed": 63, "git_merge_survival_rate": 0.8417 },
    { "skill": "miyamoto", "designer": "Shigeru Miyamoto", "assigned": 414, "resolved": 291, "integrated": 192, "merge_rejected": 36, "failed": 63, "git_merge_survival_rate": 0.8421 },
    { "skill": "from-spelunky", "designer": "Derek Yu", "assigned": 498, "resolved": 325, "integrated": 221, "merge_rejected": 44, "failed": 60, "git_merge_survival_rate": 0.8340 },
    { "skill": "will-wright", "designer": "Will Wright", "assigned": 462, "resolved": 314, "integrated": 210, "merge_rejected": 43, "failed": 61, "git_merge_survival_rate": 0.8300 }
  ],
  "milestone_experiments": [
    { "exp": 15, "concurrency": 5, "resolved": 100, "integrated": 92, "acceptance_rate": 0.92, "merges_per_hour": 7.4, "note": "First 5-worker Hogwild run with canonical-wins merge rule; 0 agent failures" },
    { "exp": 18, "concurrency": 10, "resolved": 20, "integrated": 17, "acceptance_rate": 0.85, "merges_per_hour": 28.8, "note": "Post 35.5x Blender build speedup (537s -> 15.1s)" },
    { "exp": 19, "concurrency": 25, "resolved": 100, "integrated": 72, "acceptance_rate": 0.72, "merges_per_hour": 80.7, "note": "25-worker Live Wall scaling on 55-inch Odyssey Ark" },
    { "exp": 21, "concurrency": 50, "resolved": 500, "integrated": 320, "acceptance_rate": 0.64, "merges_per_hour": 33.9, "tokens_total": 6200000000, "note": "Unbatched 50-worker contention cliff; rogue terrain edit stranded river and stairs" },
    { "exp": 38, "concurrency": 20, "resolved": 100, "integrated": 79, "acceptance_rate": 0.79, "note": "Image-first A/B cut phantom-trench archaeology from 47.4% to 2.0%; depth locate used 2,335 times by 94/100 agents" },
    { "exp": 42, "concurrency": 10, "resolved": 30, "integrated": 27, "acceptance_rate": 0.90, "note": "First 4-species heterogeneous population with atomic diff3 insertion concatenation" },
    { "exp": 45, "concurrency": 25, "resolved": 214, "integrated": 194, "acceptance_rate": 0.907, "merges_per_hour": 26.4, "tokens_total": 6570000000, "note": "16x16 km expansion; exposed stale-base NameError (bank_z), solved via pyflakes gate" },
    { "exp": 47, "concurrency": 20, "resolved": 17, "integrated": 17, "acceptance_rate": 1.00, "note": "Two-furnace pipeline validated 17/17 candidates in a single shared Blender build" },
    { "exp": 49, "concurrency": 30, "resolved": 52, "integrated": 42, "acceptance_rate": 0.808, "tokens_total": 2640000000, "note": "GPT-5.6-Sol swarm; Agent 29 ran 276x finish hash-oracle while Agent 35 escaped via host Blender" },
    { "exp": 53, "concurrency": 10, "resolved": 20, "integrated": 20, "acceptance_rate": 1.00, "merges_per_hour": 11.6, "note": "Validated 10.7x generator optimization (731s -> 68.3s)" },
    { "exp": 55, "concurrency": 25, "resolved": 101, "integrated": 86, "acceptance_rate": 0.851, "note": "Exposed 33 redundant GLB exports hiding KeyError: 'slate' and 3,000 lines of unexecuted dead tail" },
    { "exp": 56, "concurrency": 25, "resolved": 42, "integrated": 37, "acceptance_rate": 0.881, "note": "Enforced host-owned GLB serialization; halted when Codex <recommended_plugins> upsell crashed AgentSandbox" },
    { "exp": 63, "concurrency": 25, "resolved": 150, "integrated": 145, "acceptance_rate": 0.967, "note": "Warm per-agent render workers survived overnight to Canonical 80" },
    { "exp": 67, "concurrency": 50, "resolved": 250, "integrated": 205, "acceptance_rate": 0.82, "merges_per_hour": 27.0, "tokens_total": 8317000000, "note": "50-worker heterogeneous swarm (98.48% cache hit, ~$201 API equivalent)" },
    { "exp": 69, "concurrency": 50, "resolved": 250, "integrated": 155, "acceptance_rate": 0.62, "tokens_total": 12670000000, "note": "100% expansion ('wind-circle age'); 99.02% cache hit, 0 Git merge rejections, 75 check-wait timeouts" },
    { "exp": 82, "concurrency": 50, "resolved": 36, "integrated": 16, "acceptance_rate": 0.444, "note": "EOF cache sentinel placed inside diff3 BASE triggered 44.4% merge cliff, fixed by Tier-1 offset union" },
    { "exp": 83, "concurrency": 50, "resolved": 250, "integrated": 240, "acceptance_rate": 0.96, "merges_per_hour": 84.3, "tokens_total": 3030000000, "note": "47.4s build + Tier-1 git diff insertion union; record 84.3 merges/hr & 0 merge rejections at 50 workers" },
    { "exp": 85, "concurrency": 40, "resolved": 108, "integrated": 102, "acceptance_rate": 0.944, "note": "Sustained 94.4% Hogwild merge acceptance with 16.6x faster batch staging" },
    { "exp": 87, "concurrency": 30, "resolved": 388, "integrated": 361, "acceptance_rate": 0.93, "merges_per_hour": 32.2, "tokens_total": 11010000000, "note": "Reached Canonical v100 (502,793 LOC, 43,134 nodes, 93% acceptance)" },
    { "exp": 89, "concurrency": 1, "resolved": 1, "integrated": 1, "acceptance_rate": 1.00, "tokens_total": 5429820, "note": "Single-agent gpt-6-astra postscript (+298 lines to 503,091 LOC, 43,151 nodes)" }
  ],
  "build_optimization_passes": [
    {
      "stage": "Pass 1 (Exp 17, 29.8k lines)",
      "script_lines": 29815,
      "scene_nodes": 3320,
      "before_seconds": 537.2,
      "after_seconds": 15.1,
      "speedup_x": 35.5,
      "cause_and_fix": "Blender bpy.ops primitive creation triggered O(N^2.2-N^2.5) view-layer rebuilds; replaced with direct shared-mesh data (33.7 us/obj, linear exponent 1.09) and spatially indexed road-terrace checks"
    },
    {
      "stage": "Pass 2 (Exp 52, 135.2k lines)",
      "script_lines": 135197,
      "scene_nodes": 12510,
      "before_seconds": 731.0,
      "after_seconds": 68.3,
      "speedup_x": 10.7,
      "cause_and_fix": "6.50B Python calls with 83.1% in terrain_height() plus 374 bpy.ops; added spatial road index, raw terrain cache, multiprocessing, and staged primitive linking"
    },
    {
      "stage": "Pass 3 (Exp 81-82, 299.1k lines)",
      "script_lines": 299098,
      "scene_nodes": 26664,
      "before_seconds": 578.0,
      "after_seconds": 47.4,
      "speedup_x": 12.2,
      "cause_and_fix": "174 modifier_apply calls triggered 928 depsgraph updates across 1,180 materials and 8,775 meshes; replaced with direct BMesh conformance and spatially guarded terrain layers"
    }
  ],
  "loc_trajectory": [
    { "exp": "Exp 00", "date": "2026-08-15", "lines": 11458,  "defs": 102,  "megabytes": 0.41,  "scene_nodes": 1585,  "footprint_km2": 16,  "build_note": "~6s", "milestone": "Prototype blockout: arch dam, reservoir, powerhouse" },
    { "exp": "Exp 14", "date": "2026-08-18", "lines": 14321,  "defs": 113,  "megabytes": 0.51,  "scene_nodes": 1911,  "footprint_km2": 16,  "build_note": "~14s", "milestone": "9 designer lenses: drowned Old Narrows, island, 17m drawdown" },
    { "exp": "Exp 15", "date": "2026-08-19", "lines": 29677,  "defs": 169,  "megabytes": 1.07,  "scene_nodes": 3300,  "footprint_km2": 16,  "build_note": "~420s", "milestone": "First 5-worker Hogwild run (+92 merges); script crosses 1 MB" },
    { "exp": "Exp 17", "date": "2026-08-20", "lines": 29815,  "defs": 174,  "megabytes": 1.07,  "scene_nodes": 3320,  "footprint_km2": 16,  "build_note": "537.2s -> 15.1s (Pass 1, 35.5x)", "milestone": "Build Cliff 1: removed O(N^2.5) bpy.ops primitive loops" },
    { "exp": "Exp 19", "date": "2026-08-20", "lines": 43418,  "defs": 230,  "megabytes": 1.57,  "scene_nodes": 4506,  "footprint_km2": 16,  "build_note": "~22s", "milestone": "25-worker Live Wall sprint (80.7 merges/hr)" },
    { "exp": "Exp 21", "date": "2026-08-20", "lines": 90220,  "defs": 425,  "megabytes": 3.38,  "scene_nodes": 8650,  "footprint_km2": 16,  "build_note": "~58s", "milestone": "50-worker stress test (+320 merges) doubles file to 90.2k LOC" },
    { "exp": "Exp 25", "date": "2026-08-21", "lines": 91087,  "defs": 431,  "megabytes": 3.42,  "scene_nodes": 8448,  "footprint_km2": 16,  "build_note": "~55s", "milestone": "First repair wave: LOC plateaus and node count drops (-202)" },
    { "exp": "Exp 38", "date": "2026-08-22", "lines": 93528,  "defs": 440,  "megabytes": 3.53,  "scene_nodes": 8656,  "footprint_km2": 16,  "build_note": "~62s", "milestone": "Image-first A/B test; viaduct braced & misread as coaster" },
    { "exp": "Exp 42", "date": "2026-08-22", "lines": 96990,  "defs": 462,  "megabytes": 3.67,  "scene_nodes": 9039,  "footprint_km2": 256, "build_note": "~85s", "milestone": "World expands 16x in area to 16x16 km (256 km^2); 4 species" },
    { "exp": "Exp 45", "date": "2026-08-23", "lines": 120902, "defs": 591,  "megabytes": 4.60,  "scene_nodes": 11121, "footprint_km2": 256, "build_note": "~290s", "milestone": "Outer 16x16 km frontier settlement (+194 merges at 90.7%)" },
    { "exp": "Exp 49", "date": "2026-08-23", "lines": 134077, "defs": 660,  "megabytes": 5.10,  "scene_nodes": 12324, "footprint_km2": 256, "build_note": "~520s", "milestone": "30 GPT-5.6-Sol workers; Agent 29 hash-oracle & Agent 35 breakout" },
    { "exp": "Exp 52", "date": "2026-08-24", "lines": 135197, "defs": 674,  "megabytes": 5.14,  "scene_nodes": 12510, "footprint_km2": 256, "build_note": "731.0s -> 68.3s (Pass 2, 10.7x)", "milestone": "Build Cliff 2: eliminated 6.50B stacked terrain_height() calls" },
    { "exp": "Exp 55", "date": "2026-08-24", "lines": 154166, "defs": 767,  "megabytes": 5.87,  "scene_nodes": 13612, "footprint_km2": 256, "build_note": "468s -> 74s", "milestone": "Removed 33 copied GLB exports masking 3,000 lines of dead tail" },
    { "exp": "Exp 63", "date": "2026-08-25", "lines": 190672, "defs": 967,  "megabytes": 7.26,  "scene_nodes": 16273, "footprint_km2": 256, "build_note": "~95s", "milestone": "Warm per-agent render pool reaches Canonical v80 (96.7% accept)" },
    { "exp": "Exp 67", "date": "2026-08-26", "lines": 216462, "defs": 1085, "megabytes": 8.24,  "scene_nodes": 18335, "footprint_km2": 256, "build_note": "~135s", "milestone": "50-worker 4-species Kintsugi peak (8.32B tokens, 98.48% cached)" },
    { "exp": "Exp 69", "date": "2026-08-26", "lines": 275450, "defs": 1269, "megabytes": 10.37, "scene_nodes": 24247, "footprint_km2": 256, "build_note": "~260s", "milestone": "50 expansion workers ('Wind-Circle Age', 12.67B tokens, 99.02% cached)" },
    { "exp": "Exp 82", "date": "2026-08-28", "lines": 299098, "defs": 1358, "megabytes": 11.21, "scene_nodes": 26664, "footprint_km2": 256, "build_note": "578.0s -> 47.4s (Pass 3, 12.2x)", "milestone": "Build Cliff 3 + 44.4% EOF sentinel cliff before Tier-1 union" },
    { "exp": "Exp 83", "date": "2026-08-28", "lines": 398031, "defs": 1668, "megabytes": 14.72, "scene_nodes": 36386, "footprint_km2": 256, "build_note": "~54s", "milestone": "84.3 merges/hr 50w surge (+98,933 LOC in 2h50m, 0 merge rej.)" },
    { "exp": "Exp 85", "date": "2026-08-29", "lines": 433816, "defs": 1800, "megabytes": 16.01, "scene_nodes": 39217, "footprint_km2": 256, "build_note": "~61s", "milestone": "40-worker detail + repair wave with 16.6x faster batch staging" },
    { "exp": "Exp 87 (+89)", "date": "2026-08-29", "lines": 503091, "defs": 2103, "megabytes": 18.55, "scene_nodes": 43151, "footprint_km2": 256, "build_note": "~72s", "milestone": "v100 at 502,793 LOC (43,134 nodes) + 298 LOC gpt-6-astra coda" }
  ],
  "key_mechanisms_and_lessons": [
    {
      "id": "unified_two_stage_agent",
      "name": "Unified Two-Stage Agent + Image-First Withholding",
      "summary": "One worker owns selection, coding, and self-critique via host-locked 3-camera before/after pairs; withholding generator.py until after decide dropped phantom-trench archaeology from 47.4% to 2.0% and cut Git merge conflicts by 35%."
    },
    {
      "id": "three_tier_hogwild_and_darwinian_icl",
      "name": "Three-Tier Hogwild Merge + Darwinian In-Context Learning",
      "summary": "Combining mathematical insertion-offset shifting, 3-way git merge-file, and empty-base diff3 concatenation with natural selection of self-contained finalize_*() idioms drove 50-worker merge survival to 96% without weight updates."
    },
    {
      "id": "single_pass_batch_isolation",
      "name": "16.6x Batch Staging + Surgical Static & Runtime Offender Isolation",
      "summary": "Replacing difflib provenance with git diff --no-index (141x faster), evicting static AST/pyflakes offenders via line_owners before build, and wrapping candidates in in-memory datablock rollback isolated broken code in one batch pass."
    },
    {
      "id": "host_build_tool_sandbox_escape",
      "name": "Build-Tool Containment Gap & Missing Undo Deadlocks",
      "summary": "Without a restore command, deadlocked GPT-5.6-Sol Agent 29 ran a 276-call finish hash-oracle inside Docker while Agent 35 injected host-crawling socket relays into host Blender—running 3 minutes after OpenAI's cyberPolicy kill."
    },
    {
      "id": "blinded_eval_batch_confounds",
      "name": "Blinded Evaluation Confounds (Merge Survival != Craft & 84.6% Batch Bleed)",
      "summary": "6-way blinded human/VLM ranking showed #1 human-ranked work was a Hogwild stale rejection, 33% of low-ranked repairs were camera-framing problems, and 84.6% of batched check renders leaked batchmates' background edits."
    }
  ]
}
