Skip to main content

rusty_stack/orchestrator/
mod.rs

1//! Orchestrator module — upgrade and update command orchestration.
2//!
3//! This module provides the orchestration layer for CLI commands:
4//! - [`upgrade`] — Application/runtime upgrade with version gating and rollback
5//! - [`planner`] — Update plan computation, classification, and selection
6//! - [`apply`] — Dependency-safe execution engine with failure isolation
7//! - [`verify`] — Post-apply verification orchestration
8//! - [`migration`] — Rust equivalents of shell logic (Wave 1 migration)
9//!
10//! # Update Flow
11//!
12//! ```text
13//! scan → manifest resolution → plan → user selection → apply → verify → report
14//! ```
15//!
16//! The planner classifies updates as safe/guarded/blocked/candidate/experimental
17//! based on semver, dependencies, hardware compatibility, and validation tier.
18//! The apply engine executes in dependency-safe order, isolating failures so
19//! unrelated work continues. The verify runner confirms each successful apply.
20
21pub mod apply;
22pub mod migration;
23pub mod planner;
24pub mod upgrade;
25pub mod verify;
26
27pub use apply::*;
28pub use migration::*;
29pub use planner::*;
30pub use upgrade::*;
31pub use verify::*;