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).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "detect_architectural_drift"
}
}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/"]} |