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 the rule validates
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.
Typical violation example
{ "project": "api", }Typical compliant example
{ "project": "api" }Related rules
AP-ARCH-001 - Modular monolith folder structure existsAP-ARCH-002 - Implementation profile not fully supportedAP-ARCH-003 - Architecture overview artifact existsAP-ARCH-004 - Module baseline files exist
Adjacent categories
Related files/config
.archpilot/architecture.json
Related CLI commands
archpilot validatearchpilot validate --ci
Related docs