archy_check
Validates layer boundaries after Python import changes, reporting direct violations and Stable Dependencies Principle infractions to prevent architecture regressions.
Instructions
Call after any Python edit that adds, removes, or changes an import statement. Returns forbidden direct edges between layers declared in archy.yaml under violations, plus Stable Dependencies Principle violations (when sdp.enabled: true in archy.yaml) under sdp_violations. Empty lists on both mean no direct boundary crossings; pair with archy_contracts for transitive (multi-hop) checks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| config_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| passed | Yes | ||
| violations | Yes | ||
| config_path | Yes | ||
| sdp_violations | No |