Search docs
Docs searchValidation rule
Back to Rule CatalogAP-ARCH-005ArchitectureModule registry path exists
Checks that registered module paths exist as directories.
errorsetup-gapNo auto-fix
How to fix
- Restore the missing module directory or remove the stale registry entry.
- Update paths after module moves.
- Run validation to confirm every registered module resolves.
What it means
A module listed in the architecture registry points to a path that does not exist.
Why it matters
Missing paths make module dependency validation unreliable.
Common causes
- A module was renamed or deleted.
- The registry was edited by hand.
- Smart Init output was not reviewed after a restructure.
Example bad pattern
The registry lists snapshots, but apps/api/src/modules/snapshots is missing.Example good pattern
Every module registry entry points to an existing module directory.Related files/config
.archpilot/architecture.json.archpilot/contracts/*.json
Related CLI commands
archpilot validatearchpilot validate --ci