archy_check
Check for forbidden direct edges and SDP violations in Python imports after edits, as configured in archy.yaml.
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 |