pub enum Check {
ConfigPresent,
ConfigParse,
AgentsConfigured,
ProjectsRootExists,
RepoPathExists,
RepoIsGitRepo,
WorkspaceMembersResolve,
AgentDocPresent,
}Expand description
Closed catalog of the v1 health checks. Adding a variant is a deliberate schema extension — downstream consumers branch on this enum’s string value.
Variants§
ConfigPresent
Config file exists at the resolved config dir.
ConfigParse
Config file parses as TOML. Only run when ConfigPresent passed.
AgentsConfigured
[agents] section is present in the config.
ProjectsRootExists
[settings].projects_root, if set, points at an existing directory.
RepoPathExists
Per repo: the registered path exists on disk.
RepoIsGitRepo
Per repo: the path opens as a git2::Repository. Only run when
RepoPathExists passed for the same repo.
WorkspaceMembersResolve
Per workspace member: the member name resolves to a registered repo.
AgentDocPresent
Per repo × per selected agent: at least one file matches the agent’s
pattern set. Only run when AgentsConfigured passed and the
selection is non-empty.
Trait Implementations§
impl Copy for Check
impl Eq for Check
Source§impl Ord for Check
impl Ord for Check
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Check
impl PartialOrd for Check
impl StructuralPartialEq for Check
Auto Trait Implementations§
impl Freeze for Check
impl RefUnwindSafe for Check
impl Send for Check
impl Sync for Check
impl Unpin for Check
impl UnsafeUnpin for Check
impl UnwindSafe for Check
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more