gabriel / musehub public
feat BREAKING intel dev
AI Agent gabriel · 138 days ago · May 3, 2026 · Diff

feat(intel): Phase 2 — /intel/dead route + template rewrite

- Rewrites intel_dead_page handler to query musehub_intel_dead directly - Supports ?confidence=high|medium|low filter - Supports ?show_dismissed=true (default hides dismissed rows) - Orders results by confidence tier (high→medium→low) then address - Stat context: total_candidates, high_count, dismissed_count - Rewrites intel_dead.html template with spectral tokens: gradient-spectral title, dead-stats-row, dead-group per tier, dead-row with dismiss button, droplet empty state, badge-danger/warning per tier - TDD spec: 7 tests across 6 layers, all green (25 total across phases 1+2)

sha256:e5a4a5d96f1f26a254e883ba4b0d525af822182f47b189bd3c97a98689f1901b sha
+30 ~1 symbols
sha256:415c72530a168bc9dab24dbc446dec804862dba050b140420f22bfce33d0b2ec snapshot
+30
symbols added
~1
symbol modified
0
dead code introduced
Semantic Changes 31 symbols
~ tests/test_phase2_dead_route.py .py 28 symbols added
+ TestDeadRouteBasic class class TestDeadRouteBasic L97–111
+ test_P2_02_get_dead_returns_200 method async_method test_P2_02_get_dead_returns_200 L100–104
+ test_P2_03_unknown_repo_returns_404 method async_method test_P2_03_unknown_repo_returns_404 L107–111
+ TestDeadRouteDismissed class class TestDeadRouteDismissed L155–169
+ test_P2_06_show_dismissed_includes_dismissed_rows method async_method test_P2_06_show_dismissed_includes_dismissed_rows L158–169
+ TestDeadRouteEmptyState class class TestDeadRouteEmptyState L118–127
+ test_P2_04_zero_rows_empty_state_text method async_method test_P2_04_zero_rows_empty_state_text L121–127
+ TestDeadRouteFilter class class TestDeadRouteFilter L134–148
+ test_P2_05_confidence_high_filters_to_high_only method async_method test_P2_05_confidence_high_filters_to_high_only L137–148
+ TestDeadRouteMime class class TestDeadRouteMime L176–183
+ test_P2_07_content_type_is_html method async_method test_P2_07_content_type_is_html L179–183
+ TestDeadRouteRegistration class class TestDeadRouteRegistration L85–90
+ test_P2_01_dead_route_registered method method test_P2_01_dead_route_registered L87–90
+ _OWNER variable variable _OWNER L43–43
+ _SLUG variable variable _SLUG L44–44
+ _seed_dead function async_function _seed_dead L47–69
+ _uid function function _uid L39–40
+ dead_repo function async_function dead_repo L77–78
+ AsyncClient import import AsyncClient L30–30
+ AsyncSession import import AsyncSession L32–32
+ annotations import import annotations L24–24
+ create_repo import import create_repo L36–36
+ db import import db L35–35
+ fake_id import import fake_id L34–34
+ pg_insert import import pg_insert L31–31
+ pytest import import pytest L28–28
+ pytest_asyncio import import pytest_asyncio L29–29
+ secrets import import secrets L26–26
~ musehub/api/routes/musehub/ui_intel.py .py 2 symbols added, 1 symbol modified
+ _CONFIDENCE_ORDER variable variable _CONFIDENCE_ORDER L118–118
+ _VALID_CONFIDENCES variable variable _VALID_CONFIDENCES L117–117
← Older Oldest on dev
All commits
Newer → Latest on dev

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:e5a4a5d96f1f26a254e883ba4b0d525af822182f47b189bd3c97a98689f1901b --body "your comment"