Search docs
Docs searchValidation rule
Back to Rule CatalogAP-ARCH-010ArchitectureInvalid ArchPilot project configuration JSON
Checks that the ArchPilot project configuration is valid JSON.
errorsetup-gapNo auto-fix
How to fix
- Fix the JSON syntax.
- Remove merge conflict markers.
- Validate the file with your editor or JSON parser before rerunning ArchPilot.
What it means
The main ArchPilot configuration file cannot be parsed as JSON.
Why it matters
When configuration cannot be parsed, ArchPilot cannot reliably determine project type, modules, or rule settings.
Common causes
- A trailing comma or comment was added to JSON.
- A merge conflict marker was committed.
- The file was partially written.
Example bad pattern
{ "project": "api", }Example good pattern
{ "project": "api" }Related files/config
.archpilot/architecture.json
Related CLI commands
archpilot validatearchpilot validate --ci
Related docs