Change Impact
change_impactRanks files most likely to own a plain-English change request, flagging risks and suggesting tests, an implementation plan, and exact changed-file evidence from an optional diff base.
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 |
|---|---|---|---|
| ref | No | Git ref whose tree to rank instead of the files on disk (e.g. origin/main). Omitted, a clean checkout that is behind its upstream is ranked against that upstream, and the result says so; a checkout with uncommitted changes is always ranked as it is. | |
| top | No | Number of files to return. Defaults to 10. | |
| path | No | Repository path. Defaults to the server's working directory; when editing in a git worktree, pass the worktree's path. | |
| 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. |