Search docs
Docs searchValidation rule
Back to Rule CatalogAP-DEP-007DependencyIsolated module detected
Flags modules with no declared or actual inbound/outbound module dependencies.
warningviolationAuto-fix available
How to fix
- Decide whether the isolation is intentional.
- Connect the module through legitimate dependencies or document the intentional isolation.
- Remove stale modules that are no longer part of the architecture.
What it means
A registered module is isolated from the module graph.
Why it matters
An isolated module may be intentional, but it can also mean stale architecture metadata or unused code.
Common causes
- The module is intentionally standalone.
- The module is registered before it is used.
- The module is obsolete and should be removed.
Example bad pattern
A registered health module has no inbound or outbound dependencies and no ADR explaining the isolation.Example good pattern
The module is either connected through valid dependencies or documented as intentionally isolated.Related files/config
.archpilot/architecture.json.archpilot/contracts/*.json
Related CLI commands
archpilot fix AP-DEP-007archpilot validatearchpilot validate --ci