Source and API boundaries
Rust owns simulation, committed game state, and the native viewer. The
authoritative implementations live under rust/crates/ in the repository:
Crate |
Responsibility |
|---|---|
|
Deterministic values, identities, and arithmetic. |
|
Typed material relations and graph state. |
|
BSL parsing, validation, and rule execution. |
|
Causal phase order and four-week transitions. |
|
Postgres bootstrap, committed campaigns, Archive, and session protocol. |
|
Bevy observer, production/history views, and restricted native readers. |
Language-neutral byte and behavior contracts live in contracts/. New
Michigan campaigns read content/scenarios/michigan/defines.toml. Existing
campaigns use their stored configuration. See Architecture Boundary
for live authority and Versions and native releases for release identity.
Python periphery
The retained src/babylon/ package supports data preparation and operator
work. It has no authoritative game transitions or game-state writer.
babylon.dataprovides reference artifact and geographic data helpers.babylon.referenceprovides reference SQLite and BEA ingestion utilities.babylon.intelligenceprovides corpus manifests and model provisioning.babylon.configprovides operator paths and logging configuration.babylon.cliprovides operator commands.
tools/run_observer_session.py launches the native runtime and client with
separate database capabilities. Both the development command and the downloadable
package use that launcher. Retired Python engine, model, and formula interfaces
are available through Git history. They are not part of the current manual.