archy_check
Validates import changes against archy.yaml layer rules, returning direct and SDP violations to prevent architectural 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 |
|---|---|---|---|
| config_path | Yes | ||
| violations | Yes | ||
| sdp_violations | No | ||
| passed | Yes |