cochange_context
Analyze git history to identify files that frequently change together, revealing hidden dependencies for code review and maintenance.
Instructions
Files that historically co-change with a given file (logical coupling).
Uses git history to find files frequently changed in the same commits.
Useful for discovering hidden dependencies: if A and B co-change 80% of
the time, a change to A likely requires reviewing B.
file_path: path relative to repo root (e.g., "tempograph/render.py")
n_commits: how many recent commits to analyze (default 200)
output_format: "text" (default) or "json"Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | ||
| file_path | Yes | ||
| n_commits | No | ||
| output_format | No | text |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |