WorkGames & Simulation

BLACKSITE: NULL

Co-op extraction-horror shooter for Roblox, built by parallel AI agents against written contracts. Now 366 Luau modules.

In build · Sep 2026 – Present · Solo: set the scope, directed a contract-first multi-agent build, play-tested it and filed the bugs

Luau modules
366
real defects caught by the harness
19
mission plans, 0 failures
1,000

TL;DR

  • I directed a contract-first, multi-agent build of a 1–4 player co-op extraction-horror shooter for Roblox: 5 Claude Code workflows and 57 agent sessions produced 173 strict-mode Luau modules over four days.
  • The interfaces came before the code. A dependency-free checker diffed what each contract promised against what each module exported, and gated the build from 39 failing modules to a clean pass in about 40 minutes.
  • Then I installed Roblox Studio and played it, and my bug reports drove the next round of fixes.

The problem

Dozens of parallel AI agent sessions will each write plausible code. The question is whether it composes: whether module A calls module B the way B actually works. Without a shared contract, parallel agents build against their own guesses, and the game only fails when you finally press Play.

What I built

I set the scope, down to a 100-level campaign across 5 maps with a boss every 20th level, then directed the build.

  • Contracts first. 2,050 lines of normative contracts pin the project layout, the file manifest, the network contract and 282 declared members across 56 module APIs. They assign files to named agents, so parallel sessions build against the same surfaces. House rules: strict mode on line one, one return value per file, no external packages.
  • Conformance gate. A dependency-free Node checker parses every declared member in the contracts and diffs it against what each file exports. Its header states its own limit: methods on instances can’t be attributed to a file, so they are counted as unchecked rather than silently passed. A second checker catches missing requires, unbalanced blocks and leftover stubs.
  • Server-authoritative combat. The client seeds shotgun spread from a single-use shot ID; the server re-derives the pellets, checks fire rate and aim, and rewinds enemies through 20 Hz ring-buffer lag compensation that interpolates but never extrapolates.
  • Seeded maps. A depth-first spanning walk with backtracking, a uniform grid that keeps each overlap test constant-time in the number of placed rooms, and a loop pass that turns leftover doorways into flanking routes.
  • Director. Spends a threat budget on authored wave shapes and rejects any spawn point a player could see.
  • Persistence and store. Profiles persist through a DataStore layer that writes only through UpdateAsync, with migrations. The store checks its catalogue at boot and fails closed if any item could touch a stat, so nothing for sale can be pay-to-win.

Key decisions

  • Decision: write the interfaces before the code. Why: parallel agents need one shared surface to build against. Trade-off: the contracts are 2,000 lines to write and keep current.
  • Decision: an automated conformance gate, not code review, decides when the modules fit. Why: no human can review 126,000 lines in four days. Trade-off: it checks that the pieces link up, not that the game plays.
  • Decision: the store fails closed. Why: a monetization bug that sells a stat is worse than a store that doesn’t open. Trade-off: one bad catalogue entry takes the whole store down until it’s fixed.

Update, October 2026: a harness that runs the real code

Playing it in Studio found bugs one at a time, so I had agents build a harness that runs the game’s real server and client modules inside the Luau VM against a simulated Roblox API. The real server boots, a fake player joins, and the whole run lifecycle plays out: lobby, contract, elevator, deployment, extraction, results.

  • A server self-test generated 1,000 mission plans with 0 failures and 0 fallbacks, and boss soaks covered every ability.
  • The client and the real server ran together end to end: 1,091 client checks across 34 remotes, with 30 tampered payloads correctly refused.
  • Running the code found 19 real defects, all fixed. The project is now 366 Luau modules.

The hard part

Making dozens of parallel agent sessions compose into one runnable game. The conformance gate’s first run reported 39 of 52 declared modules out of contract. Parallel workflows walked the count down (36, 30, 27, 26, 23, 17, 16, 11, 9, 5, 4, 2, 1) to “PASS — every declared module meets its contract” about 40 minutes later. The final runs covered 56 modules and 282 members, all conformant, with 10 instance methods reported as unchecked.

The second half is where static checks run out. A clean conformance diff shows the modules link up; only a Studio session shows whether the game plays. My first session surfaced interaction menus that didn’t respond, a hold-E deploy prompt that did nothing, and flickering, overlapping textures. I wrote each one up for the agents, asked for a gated loading screen so players never see a half-built hub, and gave the agent computer-use access to Studio so it could reproduce the bugs itself. It traced the hold-E failure to a lobby keybind that swallowed E ahead of the shared interaction system, and rerouted it.

Results

  • 173 strict-mode Luau modules, 126,861 lines, zero external packages.
  • A conformance gate that took the build from 39 failing modules to a full pass, and ended at 282 of 282 declared members conformant.
  • One of five sites playable; menu clicks and textures are still on the punch list.

What I’d do next

  • Re-test the hold-E fix and the menus by hand, then clear the rest of the punch list.
  • Real art and a first multiplayer session beyond local Studio tests.
  • Open the other four sites, each with the mechanic it is designed to introduce.
  • Code: local, walkthrough on request.
  • The same agent-directed approach, with full git history: EXIT LIQUIDITY

Every number, with its source

The file, run or record each figure comes from.

MetricValueSource
Strict-mode Luau modules from parallel agent sessions (126,861 lines, 0 external packages)173local: BLACKSITE project, src/**/*.luau
Lines of normative interface contracts written before the code2,050local: BLACKSITE project, docs/CONTRACT*.md
Declared module members checked by the conformance gate, all conformant282local: BLACKSITE project, tools/contract-check.mjs
Luau modules today, after the harness round (was 173 after the first four days)366local: BLACKSITE project, src/**/*.luau (counted 2026-11-15)
Real defects found and fixed by running the code in a Roblox-simulating Luau harness19local: BLACKSITE project, docs/TEST_REPORT.md:15
Server self-test mission plans, with 0 failures and 0 fallbacks1,000local: BLACKSITE project, docs/TEST_REPORT.md:12
Client checks in the end-to-end harness (34 client remotes, 30 tampered payloads refused)1,091local: BLACKSITE project, docs/TEST_REPORT.md:13
Campaign scope (1 of 5 sites playable so far)100 levels · 5 maps · 5 bosseslocal: BLACKSITE project, src/shared/Config/Campaign.luau:31-33

Questions about BLACKSITE: NULL? Ask the assistant

Mitansh Mittal
Home
Work
Research
Lab
About
Ask
Experience
Now
Résumé
Uses
Colophon
Contact
AccountWardin-build
Redlbuilt
The Councilresearch
BEMAresearch
EXIT LIQUIDITYin-build
NEXUSarchived
Rustlinein-build
OpenNowbuilt
Stretchbuilt
BedBoardbuilt
Warrant + Forgebuilt
Concordarchived
BlueCollarPalin-build
Chispenbuilt
Warrant Portalbuilt
JobAppin-build
Night/Dayexplored
BLACKSITE: NULLin-build
SlugBitesbuilt
Riptidebuilt
AeroBitesarchived
CAD & 3D printingexplored
ForgeCouncilexplored
ADDE: adversarial due-diligence engineexplored
Model routing in practiceexplored
AI due-diligence market mapexplored
Quorumarchived
Colossus Wakeexplored
FitFindrbuilt
Project Omniexplored
Oblivionexplored
MeetWisebuilt
EyeOSexplored
LinkLeap AIexplored
Offline speech-to-notes (Java)explored
AI-assisted game production pipelineexplored
COLLAPSEarchived
THE TRIALSarchived
EcoNodearchived
ESP32-S3 / LoRa benchexplored
All work40 entries
Can’t Hallucinate, Can Still Be Wrong: Calibration of a Typed-Decision Model Under Input Noisepaper
Disagreement as Signal: A Hybrid Multi-Agent and Council Architecture for Error Detection in LLM Systemspaper
Killing Good Ideasessay
Uncorrelated Failure Modesessay
ADDE: adversarial due-diligence engineexplored
AI due-diligence market mapexplored
AI-assisted game production pipelineexplored
Aura Chatexplored
Colossus Wakeexplored
EcoNodearchived
Emulator forksexplored
ESP32-S3 / LoRa benchexplored
EyeOSexplored
FitFindrbuilt
ForgeCouncilexplored
LinkLeap AIexplored
MeetWisebuilt
Model routing in practiceexplored
Offline speech-to-notes (Java)explored
Oblivionexplored
Print benchexplored
Project Omniexplored
Provably-fair outcome enginebuilt
Quorumarchived
Copy hello@mitanshm.com
Ask the assistantabout my work
Switch theme
Play motion
RésuméPDF
Open GitHub ↗mit37
Open LinkedIn ↗
Toggle layout gridh
Toggle single-key shortcuts/ h