gograph_risk
Evaluate change risk for Go symbols or uncommitted changes. Combines blast radius, complexity, test coverage, and dependencies into a 0-100 risk score and verdict.
Instructions
Evaluate the change risk profile of target symbol(s) or uncommitted changes. Combines blast radius, cyclomatic complexity, test coverage, and downstream environment/SQL dependencies into a normalized 0–100 risk score and verdict. The MCP server checks freshness before this call and refreshes in the current requested analysis mode; precise and precise_fallback graphs retry CHA/SSA after source changes. Read-only; no side effects. Requires either symbol or uncommitted=true. WHEN TO USE: Before committing edits or when planning changes to understand the technical risk. NOT TO USE: For post-edit review checklist generation (use gograph_review); for pre-edit plan generation (use gograph_plan). RETURNS: JSON with title, results[] containing risk scores, verdicts, and breakdown metrics, and optional message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | The name of the target symbol to run the risk evaluation for (e.g. 'AuthService') | |
| uncommitted | No | Set to true to evaluate risk for all uncommitted/modified changes in the repository |