Skip to main content

bellwether validate-config

Validate bellwether.yaml without connecting to an MCP server or running tests.

Synopsis

bellwether validate-config
bellwether validate-config --config ./configs/ci.yaml

Description

validate-config loads your config file, applies schema validation, and prints any warnings.

Use this command to quickly verify config changes in local development or CI before running check or explore.

Options

OptionDescriptionDefault
-c, --config <path>Path to config filebellwether.yaml

Examples

Validate Project Config

bellwether validate-config

Validate an Environment-Specific Config

bellwether validate-config --config ./configs/ci.yaml

Validate in CI

- name: Validate Bellwether config
run: npx @dotsetlabs/bellwether validate-config --config ./configs/ci.yaml

Output

When valid:

Configuration is valid.

If non-blocking warnings exist, they are printed after the success message.

When invalid:

Invalid configuration:
- check.parallelWorkers: Must be between 1 and 10

Exit Codes

CodeMeaning
0Configuration is valid
4Config file missing or invalid

See Also

  • init - Generate bellwether.yaml
  • Configuration - Full config reference
  • check - Run deterministic validation and drift detection