Expand description
#505: what the loaders complained about, in one answer.
Every manifest, skill and plugin warning this build produces used to exist only on stderr: the
CLI printed it at startup and nobody else ever saw it. doctor was the only other consumer, and
a dashboard user has no reason to run a command in another window. This module is the answer
both read — one Report with one shape, so the panes and the terminal cannot disagree about what
is wrong.
It is deliberately a collection and not a second implementation: the plugin problems are the
ones plugins::load produced, the broken skills are the ones skills::discover marked, the skill
notes are context_files’ own budget notes. A problem that is not produced by a loader cannot
appear here, which is what keeps the list honest.
Re-reading the loaders is cheap — they are file walks, no process — and it is what makes the
report live: a fixed skill disappears from the next GET /api/problems with nothing to reload.
Structs§
- Problem
- One complaint, with where it came from.
- Report
- Everything the loaders said, and what they looked at.
Enums§
- Kind
- What kind of thing complained. The dashboard groups by this, and a person reads the group name before the sentence.
Functions§
- collect
- Ask the loaders what they think, the same way a run does.