Bugfix: Why do 3 panels on the AI Intelligence Hub dashboard show ze...

Documentation for Sessions

🐛 Bugfix: Why do 3 panels on the AI Intelligence Hub dashboard show ze...

Date: 2026-03-02
Time: 22:59:48 UTC
Session: gspace1-165.17
Agent: angular
Confidence: 95%
Status: ✅ Documented


📋 Decision Context

Question:

Why do 3 panels on the AI Intelligence Hub dashboard show zero/NaN data?

Task: Fix AI Intelligence Hub dashboard zero/NaN data panels


🎯 Decision Made

Chosen:

Fixed 3 wrong endpoint URLs in dashboard card components: Module Registry (/module-intelligence/stats → /ai-agents/module-intelligence/outcomes/stats), MCP Health Monitor (/mcp/health → /mcp-internal/health), Outcome Tracker (/outcomes/stats → /learning/health/outcomes/stats). Also verified that /platform/stats, /platform/agents, /platform/patterns endpoints DO exist and are correct.

Options Considered:


💭 Reasoning

Root cause for all 3 was endpoint URL mismatch. Module Registry: the controller is at /ai-agents/module-intelligence but component called /module-intelligence. MCP Health: controller was renamed to /mcp-internal in Session 61 but component still used /mcp. Outcome Tracker: endpoint is nested under /learning/health/outcomes/stats but component called /outcomes/stats directly. The main dashboard's /platform/* calls were actually CORRECT — the PlatformAIController exists at /platform with /stats, /agents, /patterns routes. Those show empty because no platform agents have been trained yet, not because of URL issues.


📁 Files Involved


🔗 Related


Auto-generated by MCP Smart Consolidation