detect_drift
Identify architectural drift by detecting cross-module co-change anomalies and shotgun surgery patterns in your codebase using git history analysis.
Instructions
Detect architectural drift: cross-module co-change anomalies (files in different modules that always change together) and shotgun surgery patterns (commits touching 3+ modules). Requires git.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since_days | No | Analyze commits from last N days (default: 180) | |
| min_confidence | No | Min Jaccard confidence for co-change anomalies (default: 0.3) |