change_coupling
Identify files that frequently change together in a Git repository, with support and confidence scores, to reveal hidden dependencies and assess coupling risk.
Instructions
Which files change together with this file? For each other file: support (commits touching both), confidence (support / commits touching this file) and reverse confidence. Mass commits (more than max_files_per_commit files) are ignored and renames are followed. High confidence between files with no import relation is a hidden dependency.
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": {
"path": "<path>"
},
"name": "change_coupling"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | HEAD | |
| path | Yes | ||
| repo | No | ||
| limit | No | ||
| since | No | ||
| max_commits | No | ||
| min_support | No | ||
| min_confidence | No | ||
| max_files_per_commit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |