mirror of https://github.com/garrytan/gstack.git
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. |
||
|---|---|---|
| .. | ||
| SKILL.md | ||
| SKILL.md.tmpl | ||