Read ontoindex-navigation first (freshness labels and query failure guidance).
Before editing
impact({action: "symbol", repo: "<repo>", target: "<symbol>", direction: "upstream", maxDepth: 3, includeTests: true})
audit({action: "safe_edit_check", repo: "<repo>", symbol: "<symbol>", intent: "modify-body"})
Use the tool's LOW, MEDIUM, HIGH, or CRITICAL risk output; warn on HIGH or CRITICAL before editing.
Review direct dependents first: depth 1 identifies direct dependencies, not proof of breakage.
Inspect returned callers and current source to assess contracts, public surfaces, and tests.
Treat deeper dependents as additional review scope, not confirmed failures.
Resolve blocked safety checks and missing evidence before proceeding; do not force a verdict without justification.
Prefer the smallest change in the existing owner and validate the affected behavior.
Before committing
audit({action: "verify_diff", repo: "<repo>", scope: "all", changedFiles: ["<changed-file>"], expectedFiles: ["<expected-file>"], expectedSymbols: ["<symbol>"], executedTests: ["<executed-test>"]})
Supply actual paths and only tests that ran. Investigate unexpected files or symbols.
Report the risk verdict, affected contracts, validation evidence, and remaining uncertainty.