entrenar/storage/registry/mod.rs
1//! Model Registry with Staging Workflows (MLOPS-008)
2//!
3//! Kanban-style model lifecycle management.
4//!
5//! # Toyota Way: (Kanban)
6//!
7//! Visual workflow stages for model promotion with pull-based progression.
8//! Models flow: None -> Development -> Staging -> Production -> Archived
9//!
10//! # Example
11//!
12//! ```ignore
13//! use entrenar::storage::registry::{ModelRegistry, ModelStage, InMemoryRegistry};
14//!
15//! let mut registry = InMemoryRegistry::new();
16//! registry.register_model("llama-7b-finetuned", "path/to/model.safetensors")?;
17//! registry.transition_stage("llama-7b-finetuned", 1, ModelStage::Staging, Some("alice"))?;
18//! ```
19
20mod comparison;
21mod error;
22mod memory;
23mod policy;
24mod stage;
25mod traits;
26mod transition;
27mod version;
28
29// Re-export all public types for API compatibility
30pub use comparison::{Comparison, MetricRequirement, VersionComparison};
31pub use error::{RegistryError, Result};
32pub use memory::InMemoryRegistry;
33pub use policy::{PolicyCheckResult, PromotionPolicy};
34pub use stage::ModelStage;
35pub use traits::ModelRegistry;
36pub use transition::StageTransition;
37pub use version::ModelVersion;