bus_factor
Identify directories at risk when too few authors own most recency-weighted changes. Flags single-contributor areas with sufficient commit history so you can target reviews and knowledge sharing.
Instructions
Bus factor per directory (first depth path components), from history: the fewest
authors whose recency-weighted changed lines exceed 50%. Directories with factor 1 and at
least min_commits commits are marked AT RISK. Use file_experts for blame-based detail.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "bus_factor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | HEAD | |
| path | No | ||
| repo | No | ||
| as_of | No | ||
| depth | No | ||
| limit | No | ||
| since | No | ||
| max_commits | No | ||
| min_commits | No | ||
| half_life_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |