get_co_changes
Analyze git history to find files that frequently change together, revealing hidden dependencies and temporal coupling.
Instructions
Find files that frequently change together in git history (temporal coupling). Requires git. Use to discover hidden dependencies between files. For cross-module co-change anomalies use detect_drift instead. Read-only. Returns JSON: { file, coChanges: [{ file, confidence, count }] }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File path to analyze | |
| min_confidence | No | Minimum confidence threshold (default 0.3) | |
| min_count | No | Minimum co-change count (default 3) | |
| window_days | No | Git history window in days (default 180) | |
| limit | No | Max results (default 20) |