pub struct Check {
pub diagnostics: IndexMap<String, Vec<SchemaDiagnostic>>,
pub dependency_diagnostics: BTreeMap<String, BTreeMap<String, Vec<SchemaDiagnostic>>>,
pub missing_dependencies: Vec<MissingDependency>,
pub unreadable_dependencies: Vec<MissingDependency>,
}Expand description
What is wrong with a package.
Fields§
§diagnostics: IndexMap<String, Vec<SchemaDiagnostic>>Findings in the root’s own files, by source path: what prepare reported for the file,
then the check’s own. mars.toml holds what applies to the whole package and comes first,
then the paths in lexical order.
dependency_diagnostics: BTreeMap<String, BTreeMap<String, Vec<SchemaDiagnostic>>>skill-ref.dependency only: a dependency’s own Agent names a skill no package ships. By
the dependency’s source name, then the Agent’s output path (agents/<slug>.md).
missing_dependencies: Vec<MissingDependency>Every [dependencies] name reachable from the root that dependencies lacks. While it
is not empty the result is not a verdict: no skill ref was judged.
unreadable_dependencies: Vec<MissingDependency>Every dependency reachable from the root whose selection.unreadable is set: an invalid
or newer-schema manifest. It may be the one that ships a skill, so while this is not empty
the result is not a verdict either. Same shape as missing_dependencies.