Context
Implements the analytics described in plans/feature-risk-intelligence.md to derive historical risk signals for IssueTriage.
Goals
- Correlate past issues with PRs/commits and compute change footprint metrics.
- Parse review timelines for blockers, security flags, and revision friction.
- Synthesize risk levels with evidence snippets consumable by assessment and dashboard flows.
- Run hydration jobs in the background with rate-limit awareness and progress reporting.
Acceptance Criteria
Dependencies
- Issue discovery model for mapping issues ↔ PRs.
- Assessment engine integration points to ingest risk modifiers.
- Local storage (SQLite or existing store) for aggregated metrics.
Notes
- Extend
GitHubClient for timeline/review data; cache summaries to avoid recompute.
- Start with lightweight NLP heuristics (e.g., VADER) for comment severity; reserve LLM analysis for later tiers.
Context
Implements the analytics described in
plans/feature-risk-intelligence.mdto derive historical risk signals for IssueTriage.Goals
Acceptance Criteria
Dependencies
Notes
GitHubClientfor timeline/review data; cache summaries to avoid recompute.