Change Impact
change_impactRanks files likely to own a plain-English change request, with risk flags, suggested tests, and an implementation plan; optionally validates predictions against a git diff and companion repos.
Instructions
Given a plain-English change request, rank the files most likely to own the change, with risk flags, suggested tests, and an implementation plan. Optional diff base surfaces exact changed-file evidence alongside the heuristic. When the repository's .solumberc.json lists companions, companions also carries the top few files each companion repository would own for the same request.
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": {
"query": "<query>"
},
"name": "change_impact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Number of files to return. Defaults to 10. | |
| path | No | Repository path. Defaults to current working directory. | |
| amend | No | Add files to the declared intent passed as intent, with the reason they belong to the change. Returns the amended record under intent without ranking anything; nothing is written. | |
| query | Yes | Plain-English change request. | |
| intent | No | With amend: the declared intent to add files to (the record, its JSON, or a path to it). Its request must be the query. | |
| declare | No | Also freeze the predicted owner and supporting files as a declared intent (a scope contract) and return it under intent. Call it before editing, then pass that record to review_gate as intent: a changed file that was never declared fails the gate. Nothing is written. | |
| diffBase | No | Optional git ref to validate predictions against (e.g. origin/main, HEAD). | |
| includeMarkdown | No | Return a compact human-readable markdown report instead of the full JSON. Defaults to false. | |
| includeUntracked | No | With diffBase, also count untracked, non-ignored files as changed. Defaults to true; pass false to review only tracked changes. |