pub fn validate(config: &Config) -> Vec<Diagnostic>Expand description
Checks everything about a factory definition that does not need prompt files.
Prompt composition is checked separately by validate_prompts, because reading prompt files
needs a PromptSource and callers that only have the TOML text should still get the rest of
the findings.