fn persist_state( state_path: &Path, manifest_path: &Path, atlas_endpoint: &str, started_at_ms: u64, children: &[Spawned], )