check_edit_safe
Check if a file or symbol is safe to edit before making changes. Get a verdict with ranked blockers, recommended action, and what to preserve.
Instructions
Edit-safety preflight: before you MODIFY a symbol or file, get ONE verdict for "is this safe to edit and what must I preserve". Fuses signature impact (cross-file importers depending on the current contract), cyclomatic complexity (regression-prone bodies), and test-coverage presence into a single verdict tier (safe_to_edit / untested / complexity_risk / signature_impact) with ranked blockers, a one-line recommended action, and a confidence score. Complements assess_change_risk (continuous risk score) — this names the dominant blocker and what to preserve. Read-only. Returns JSON: { verdict, recommended_action, blockers: [{ signal, severity, detail }], confidence, signals }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | File path to check before editing | |
| symbol_id | Yes | Symbol ID to check before editing |