get_co_change
Analyze git history to find files that frequently change together, revealing hidden dependencies and candidates for refactoring.
Instructions
Find files that frequently change together in the same commits. Uses Jaccard similarity to measure co-change strength. High co-change coupling may indicate hidden dependencies or candidates for merging/splitting.
No prior indexing required.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo_path": "<repo_path>"
},
"name": "get_co_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Path to the repository | |
| window_days | No | Days of git history to analyze (1-365, default: 90) | |
| min_shared | No | Minimum shared commits for inclusion (1-50, default: 2) | |
| top_n | No | Number of top pairs (1-100, default: 20) |