Reference

Technical reference documentation for the Babylon simulation engine.

Data Models

Complete specification of data structures, entity collections, constrained types, and graph structure.

Mathematical Formulas

All simulation formulas: imperial rent, survival calculus, consciousness drift, solidarity transmission, and dynamic balance.

Simulation Systems

API reference for the seven core simulation systems (ImperialRent, Solidarity, Consciousness, Survival, Contradiction, Territory, Struggle).

Event System

Complete reference for the typed event system: 11 EventTypes, 13 event classes, event lifecycle, and factory methods for testing.

Configuration

Configuration system documentation, environment variables, and GameDefines parameter tables.

Topology System

Percolation theory metrics, TopologyMonitor observer, and resilience testing.

Design System

Visual design tokens: color palette, typography, styling constants, and texture specifications for Bunker Constructivism aesthetic.

Documentation System

Build commands, Sphinx extensions, LaTeX configuration, and PDF theme specifications. Meta-reference for the documentation engine itself.

AI & RAG

Prompt templates, API usage patterns, and context window management API.

Error Handling

Error code taxonomy and error handling conventions.

CI/CD Workflow

GitHub Actions workflows, branch protection rules, and the Benevolent Dictator governance model.