gstack/retro
Kaustav Mishra abf2f5ceec feat: integrate code health trends into /retro metrics
Add Code Health metric to /retro that displays:
- Current health score (0-10) from /health skill
- Trend delta (↑/↓) comparing current vs prior run
- Status (IMPROVING/STABLE/DECLINING) based on >0.5 point threshold
- Regression details when categories decline (Lint, Tests, etc.)

This completes the self-learning infrastructure designed in SESSION_INTELLIGENCE.md
where /health writes to health-history.jsonl and /retro should consume it.

Changes:
- Step 1: Added fetch of health-history.jsonl for the current branch
- Metrics table: Added Code Health row showing score and trend
- Step 2: Added Code Health computation section with logic for:
  * Filtering entries by retro window and branch
  * Computing delta and status
  * Detecting and displaying regressions vs improvements
  * Gracefully handling missing or insufficient data

Users can now see code quality trends alongside commit velocity, catching
quality regressions that might otherwise be masked by high shipping speed.
2026-04-04 01:00:40 +05:30
..
SKILL.md feat: integrate code health trends into /retro metrics 2026-04-04 01:00:40 +05:30
SKILL.md.tmpl feat: integrate code health trends into /retro metrics 2026-04-04 01:00:40 +05:30