pub async fn run_lint(path: &Path) -> LintOutcomeExpand description
Run the lint engine over path with the production component catalog.
Both the run CLI entrypoint and the in-process tests call this; the
returned LintOutcome carries the exit code the CLI would emit so tests
can assert on it without spawning a subprocess.