Skip to main content

qualia_vision/capability/
status.rs

1//! Capability maturity for the vision excellence registry.
2
3#[derive(Debug, Clone, Copy, PartialEq, Eq)]
4pub enum CapabilityStatus {
5    /// Implemented, tested, product-usable at declared honesty level.
6    Present,
7    /// Usable path exists but incomplete vs excellence bar.
8    Partial,
9    /// Not implemented.
10    Missing,
11    /// Not a Qualia product goal.
12    NotApplicable,
13    /// Qualia has a different/stronger story than classical CV vendors.
14    Beyond,
15    /// Code path exists; production claim blocked on principal gate.
16    CompleteWithGate,
17}
18
19impl CapabilityStatus {
20    /// `&str` form.
21    pub const fn as_str(self) -> &'static str {
22        match self {
23            Self::Present => "present",
24            Self::Partial => "partial",
25            Self::Missing => "missing",
26            Self::NotApplicable => "n/a",
27            Self::Beyond => "beyond",
28            Self::CompleteWithGate => "complete_with_gate",
29        }
30    }
31}