//! # Elegans — Emergent Worm Brain via Imaginal Disc Development
//!
//! 302 undifferentiated neurons develop into a functional C. elegans
//! nervous system with zero hardcoded structure. Neurons don't get
//! assigned roles — they *become* sensory, motor, or interneuron
//! through developmental phases driven by body interaction.
//!
//! ## Architecture
//!
//! - **Body**: 2D worm body with segments, muscles, touch sensors, chemosensors
//! - **Coupling**: Fiber tracts bridge body↔brain using spatial proximity
//! - **Discs**: Imaginal disc programs — latent developmental rules
//! - **Phases**: Genesis → Exposure → Differentiation → Crystallization
//! - **Sim**: Coupled body + brain simulation

pub mod body;
pub mod coupling;
pub mod disc;
pub mod phase;
pub mod sim;

#[cfg(test)]
mod test;
