feat
BREAKING
intel
task/blast-risk-phase4
#1 / 1
feat(intel): blast-risk detail page + helpers, 22/22 phase 4 tests green
- New route GET /{owner}/{repo_slug}/intel/blast-risk/detail?address=... - Joins musehub_intel_blast_risk with musehub_symbol_intel for raw inputs - _risk_color_class(): maps normalized sub-score to CSS fill class (critical/high/medium/low) - _score_bar_pct(): converts float score to int percentage, clamped [0,100] - New template intel_blast_risk_detail.html: header strip, sub-score bars with progress fills + raw input labels, blast_top dependents list, back link - Detail SCSS wired into components/_blast_risk.scss (score bars, deps card) - Unknown/missing address → 200 empty-state (not 404); XSS + path-traversal safe
sha256:6afe3d28b528165838df75e7f20317e8672bab2b7fef30eba02cdcd87a0ab60b
sha
+49
symbols
sha256:4b4ae61c3aee0639a0d770b09ef8fe3bb3396e26948531a6eeec284aaa106552
snapshot
+49
symbols added
0
dead code introduced
Semantic Changes
49 symbols
+
test_P4_07_all_four_sub_scores_rendered
method
async_method test_P4_07_all_four_sub_scores_rendered L221–233
+
test_P4_08_risk_tier_badge_rendered
method
async_method test_P4_08_risk_tier_badge_rendered L236–243
+
test_P4_09_blast_top_dependents_listed
method
async_method test_P4_09_blast_top_dependents_listed L246–254
+
test_P4_10_back_link_to_blast_risk_list
method
async_method test_P4_10_back_link_to_blast_risk_list L257–264
+
test_P4_19_full_seed_to_html_round_trip
method
async_method test_P4_19_full_seed_to_html_round_trip L313–323
+
test_P4_20_empty_blast_top_renders_without_error
method
async_method test_P4_20_empty_blast_top_renders_without_error L326–344
+
test_P4_18_score_bar_pct_overflow_clamped
method
method test_P4_18_score_bar_pct_overflow_clamped L301–303
+
test_P4_02_known_address_returns_200
method
async_method test_P4_02_known_address_returns_200 L167–174
+
test_P4_03_unknown_address_returns_200_with_empty_state
method
async_method test_P4_03_unknown_address_returns_200_with_empty_state L177–184
+
test_P4_04_missing_address_param_returns_200_with_empty_state
method
async_method test_P4_04_missing_address_param_returns_200_with_empty_state L187–191
+
test_P4_21_xss_in_address_param_escaped
method
async_method test_P4_21_xss_in_address_param_escaped L354–363
+
test_P4_22_path_traversal_in_address_safe
method
async_method test_P4_22_path_traversal_in_address_safe L366–373
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:6afe3d28b528165838df75e7f20317e8672bab2b7fef30eba02cdcd87a0ab60b --body "your comment"
No comments yet. Be the first to start the discussion.