Conversation
Implement developer-focused insights for Agent Inspector including: Backend: - Extended database schema with dev_category, health_impact, code_fingerprint columns - Added health_history table for trend tracking - New MCP tools: get_health_score, get_code_analysis, get_health_trend, get_scan_comparison, record_health_snapshot, generate_report - Report generation supporting markdown, JSON, and HTML formats Frontend: - New Code page displaying developer findings by category (Availability, Reliability, Efficiency) with health score visualization - AgentHealthRing component with animated donut chart and dimension breakdown - HealthTrendChart component for health history visualization - Scan comparison section showing new/fixed findings - CorrelationSummary integration showing VALIDATED/UNEXERCISED findings Health Score Calculation: - Security: 40% weight - Availability: 25% weight - Reliability: 20% weight - Efficiency: 15% weight 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add stories with play() functions for CodeCheckCard, AgentHealthRing, and HealthTrendChart components - Update COMPONENTS_INDEX.md with new component documentation - Fix test_lifecycle_scans.py tests to use include_resolved=True when verifying fixed/dismissed findings (needed due to get_findings behavior change that excludes resolved findings by default) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Use regex patterns and test IDs for percentage assertions since styled-components can render whitespace between numbers and % symbols. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
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
Implements developer-focused insights for Agent Inspector, adding comprehensive code health tracking and visualization capabilities:
Key Components
Backend
dev_category,health_impact,code_fingerprintcolumnshealth_historytable for trend trackingget_health_score,get_code_analysis,get_health_trend,get_scan_comparison,record_health_snapshot,generate_reportFrontend
Codepage with health score section, correlation summary, developer checks gridAgentHealthRingcomponent with animated donut chartHealthTrendChartcomponent for health history visualizationCodeCheckCardcomponent for category-based findings displayHealth Score Calculation
Test plan
npm run build- passes🤖 Generated with Claude Code