Local Life and Evolution
Purpose: Clarify the difference between historical archived Life/Evolution snapshots on the server and the current local-first simulation workspace running on an owner’s machine.
Historical snapshots versus local authoring
Section titled “Historical snapshots versus local authoring”Early iterations of Bitmap Universe experimented with server-hosted world generation and Life/Evolution ticks. Under the current local-first, owner-powered architecture:
- Archived snapshots remain readable: Existing historical world snapshots remain accessible read-only via
GET /bitmap-universe/v1/worlds/:id/lifeandGET /bitmap-universe/v1/worlds/:id/ecosystem. They do not advance on the server. - Server simulation write routes are retired: Requests attempting to create, edit, or advance a world simulation on the server intentionally return HTTP
410 gone_local_first. - No server-generated worlds or platform inference: Bitmap Universe reports
scene-planner-llm,npc-dialogue-llm, andspecies-describer-llmasdisabledon/bitmap-universe/v1/status.
Local deterministic Life and Evolution workspace
Section titled “Local deterministic Life and Evolution workspace”Owners who want to run Life and Evolution locally use the deterministic SQLite workspace (apps/studio/scripts/local-life.ts) on their own workstation with Node 24:
- Explicit advance only: The simulation journals its complete state and random streams into a local SQLite database and advances only when you run an explicit
play(1,2, or4ticks/sec) orstepcommand. Restarting restores the last committed checkpoint without advancing for elapsed wall time. - Deterministic inputs: Takes an exported terrain heightfield grid (
2x2to65x65, extent32to1024meters, with settlement coordinates, temperature, moisture, and water level), a 64-hex source SHA-256 matching the Studio source, and a 64-hex seed. - Hard workspace bounds: Capped at
12residents,30organisms,8ticks per write, and64 MiBof checkpoint payload or1,024checkpoints per workspace. - Integrity protection: Startup verifies checkpoint integrity and recovers the newest intact record while preserving prior history.
npm exec -- tsx apps/studio/scripts/local-life.ts ./life.sqlite start ./terrain.jsonnpm exec -- tsx apps/studio/scripts/local-life.ts ./life.sqlite step 4npm exec -- tsx apps/studio/scripts/local-life.ts ./life.sqlite statusnpm exec -- tsx apps/studio/scripts/local-life.ts ./life.sqlite inspect 1