codetether-agent 4.7.0-a-002.4

A2A-native AI coding agent for the CodeTether ecosystem
Documentation
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub(crate) enum ScopeStatus {
    Proven,
    Pending,
    Blocked,
    NotRun,
}

impl ScopeStatus {
    pub(crate) fn label(self) -> &'static str {
        match self {
            Self::Proven => "proven",
            Self::Pending => "pending",
            Self::Blocked => "blocked",
            Self::NotRun => "not-run",
        }
    }
}

pub(crate) fn status_labels() -> String {
    [
        ScopeStatus::Proven,
        ScopeStatus::Pending,
        ScopeStatus::Blocked,
        ScopeStatus::NotRun,
    ]
    .map(ScopeStatus::label)
    .join(", ")
}