bamboo_engine/sdk/mod.rs
1//! Ergonomic SDK surface over the canonical child-spawn path.
2//!
3//! # Anti-fork invariant
4//!
5//! There is exactly **one** implementation of the spawn/execute/finalize logic:
6//! [`spawn::run_child_spawn`]. Both the background [`SpawnScheduler`] (via
7//! `run_spawn_job`) and the ergonomic [`runner::ChildRunner`] funnel into it.
8//! No caller may duplicate the event ordering, heartbeat/watchdog, runner
9//! reservation, `ExecuteRequest` construction, or terminal status strings.
10//!
11//! [`SpawnScheduler`]: crate::runtime::execution::SpawnScheduler
12
13pub mod runner;
14pub mod spawn;
15
16#[cfg(test)]
17mod tests;