detect_architectural_drift
Identify violations of intended layer boundaries, such as UI importing from data layers, to enforce clean architecture and prevent reverse dependencies.
Instructions
Detect architectural drift — violations of intended layer boundaries (e.g., UI importing from data layer, reverse dependencies).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | No | Path or URL to the repository | |
| layers_config | No | JSON string defining layer patterns, e.g. {"ui": ["src/components/"], "data": ["src/db/"]} |