repo_impact
Assess PR or git diff impact on a codebase by detecting changed symbols, affected APIs, callers, test coverage, and blast radius, producing a structured report to prioritize test execution and evaluate breaking changes.
Instructions
Analyze PR or git diff impact against a base branch using the code graph. Detects changed symbols, affected public APIs, impacted callers, test coverage, and architectural blast radius with grounded citations. Read-only, deterministic, zero side effects. When to use: use when assessing PR risk, planning test execution, evaluating breaking API changes, or investigating diff blast radius. When NOT to use: do not use for generic lexical code search (use repo_search). Output: structured markdown impact report or PR summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base ref or branch to compare against (default 'main'). | |
| diff | No | Optional raw unified diff text. If provided, overrides git diff. | |
| head | No | Head ref or branch to compare (default 'HEAD' or current working tree). | |
| format | No | Report format: 'markdown' (full report), 'pr-comment' (compact PR summary), or 'json'. | |
| max_depth | No | Caller traversal hops around changed symbols (default 2, max 4). |