feat: add blast radius analysis with risk scoring#148
Open
maplenk wants to merge 7 commits intoDeusData:mainfrom
Open
feat: add blast radius analysis with risk scoring#148maplenk wants to merge 7 commits intoDeusData:mainfrom
maplenk wants to merge 7 commits intoDeusData:mainfrom
Conversation
added 7 commits
March 26, 2026 12:19
Account for optional signatures in the search_graph and trace_call_path size estimators, and improve compact trace chains to report omitted-node counts. This also documents the normal-path output enrichment introduced with Task 4: search_graph results now include file_path, start_line, end_line, and signature, and trace_call_path hop items now include file_path, start_line, and signature.
Prefer non-test symbol matches before pagerank for ambiguous short names. Batch-load visited node metadata and pagerank scores to remove per-node query loops during impact analysis. Hide test counts from the public summary when include_tests=false, and add max_tokens truncation support to get_impact_analysis with MCP coverage.
Add the impact-analysis store API declaration, expose get_impact_analysis in CLI help text, and cover the tool with the existing integration fixture.
This was referenced Mar 26, 2026
Owner
|
Thanks @maplenk — blast radius analysis would be very useful for impact assessment. Will review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
New
get_impact_analysistool that answers "what breaks if I change this function?" with risk-tiered results and test coverage detection.New tool:
get_impact_analysisParameters:
project,symbol,depth(default 3),include_tests(default true),max_tokens(default 2000)Key features
cbm_store_bfs().Tests
New tests in
test_store_search.c(risk tiers, routes+tests, disambiguation) andtest_mcp.c(basic, missing symbol, disambiguation, include_tests, route typing).Part 2 of a 4-PR series. Depends on #147.
Built with OpenAI Codex and Claude Code.