//! econ_sim — Settled Reach economics simulation library. //! //! Exposes the Layer 1+2+3 tâtonnement simulation as a reusable library crate. //! The standalone `econ-sim` binary uses the same modules independently. //! //! ## Entry points //! //! - [`Simulation`] — stateful per-tick runner for server integration (#821). //! Initialize once, call `step()` each economy tick. //! //! - [`model::run_with_events`] — batch runner (runs N ticks, returns TickRecords). //! Used by the standalone binary and stability checks. //! //! ## Key decisions //! //! - D-178: Economic model architecture (Leontief + tâtonnement + agents) //! - D-180: Event input port (`EconEvent`, `EventPort`) //! - D-181: 7-signal vocabulary per active node pub mod agents; pub mod currency; pub mod db; pub mod events; pub mod model; pub mod prng; pub mod seed; pub mod trade; mod sim; pub use sim::Simulation;