sumo_qa_analyze_diff_impact
Maps changed files to a repo-map, identifying likely tests, changed sources without mapped tests, affected nodes, and map staleness.
Instructions
Map changed files onto the repo-map: likely tests, the risk surface
(changed sources with no mapped test), affected nodes and map
staleness. Pass changed_files
(repo-relative) or base_ref (diffed from its merge-base with HEAD). The
map comes from artifact_path, else a live scan saved there if nothing is
(artifact_path=None saves nothing). write_overlay writes
.sumo-qa/diff-impact.json. probable_mapping_gap means a naming gap,
not zero coverage.
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": {
"root": "<root>"
},
"name": "sumo_qa_analyze_diff_impact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | ||
| base_ref | No | ||
| artifact_path | No | .sumo-qa/repo-map.json | |
| changed_files | No | ||
| write_overlay | No |