Expand description
Composition root helpers: domain crate visibility, config load, shutdown signals.
Concrete adapters for vision/audio/api/… are feature-gated in their crates; this module ensures each domain crate is part of the engine binary and emits structured bootstrap logs.
Functions§
- load_
config - Load optional TOML/JSON config from disk when the path exists; otherwise continue with defaults.
- log_
domain_ stack_ init - Emit structured logs and resolve optional domain crate dependencies for the active feature set.
- wait_
for_ shutdown_ signal - Block until Ctrl-C or SIGTERM (Unix). Used as the engine main-loop shutdown trigger.