From 55c20922cc7a671787fe94fdd53a7eb72ebd2596 Mon Sep 17 00:00:00 2001 From: Claudomator Agent Date: Wed, 11 Mar 2026 19:05:12 +0000 Subject: feat: add Stats tab with task distribution and execution health metrics MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Export computeTaskStats and computeExecutionStats from app.js - Add renderStatsPanel with state count grid, KPI row (total/success-rate/cost/avg-duration), and outcome bar chart - Wire stats tab into switchTab and poll for live refresh - Add Stats tab button and panel to index.html - Add CSS for .stats-counts, .stats-kpis, .stats-bar-chart using existing state color variables - Add docs/stats-tab-plan.md with component structure and data flow - 14 new unit tests in web/test/stats.test.mjs (140 total, all passing) No backend changes — derives all metrics from existing /api/tasks and /api/executions endpoints. Co-Authored-By: Claude Sonnet 4.6 --- internal/api/docs/RAW_NARRATIVE.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 internal/api/docs/RAW_NARRATIVE.md (limited to 'internal/api/docs/RAW_NARRATIVE.md') diff --git a/internal/api/docs/RAW_NARRATIVE.md b/internal/api/docs/RAW_NARRATIVE.md new file mode 100644 index 0000000..8fe69b6 --- /dev/null +++ b/internal/api/docs/RAW_NARRATIVE.md @@ -0,0 +1,9 @@ + +--- 2026-03-11T19:04:51Z --- +run the Go test suite with race detector and fail if coverage < 80% + +--- 2026-03-11T19:04:51Z --- +do something + +--- 2026-03-11T19:04:51Z --- +do something -- cgit v1.2.3