config validate after editing supaschema.config.json.
The command loads config, checks path and source relationships, and reports warnings or errors before a migration command depends on it.
It also blocks pending first-run path confirmation. If .supaschema/install.json says pathConfirmationNeeded: true, set schemaPaths, sources.to, and migrationsDir explicitly in supaschema.config.json before running zero-source migration commands.
Use this when
- Schema or migration paths changed.
- Source defaults changed.
- Named environments were added.
- Agent or CI automation needs structured config diagnostics.
Run it
Flags
Print
{ "ok": boolean, "diagnostics": [...] }.Exit codes
| Code | Meaning |
|---|---|
0 | Config is valid, with or without warnings |
1 | Runtime failure |
2 | Config diagnostics contained an error |
Related
Configuration
Review the config contract and defaults.
Environments
Configure named database targets.
Doctor
Diagnose config plus local environment.
Init
Scaffold or repair the generated setup.

