Checks a pipeline spec against a driver or pipeline type's capabilities.
Validates reasoning, output constraints, numeric levels, and enum values and descriptions.
An enum's values come from ResolveEnumChoices, so fieldValues (the pipeline entity's value
lists) is read only where the spec asks for field metadata or lists no values.
Returns one message per issue, or an empty array when valid.
Pure and browser-safe.
Checks a pipeline spec against a driver or pipeline type's capabilities. Validates reasoning, output constraints, numeric levels, and enum values and descriptions. An enum's values come from ResolveEnumChoices, so
fieldValues(the pipeline entity's value lists) is read only where the spec asks for field metadata or lists no values. Returns one message per issue, or an empty array when valid. Pure and browser-safe.