summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorClaudomator Agent <agent@claudomator>2026-03-11 19:05:12 +0000
committerClaudomator Agent <agent@claudomator>2026-03-11 19:05:12 +0000
commit55c20922cc7a671787fe94fdd53a7eb72ebd2596 (patch)
tree01492aec1a365348ce21281fef4e36b4372661e3 /internal
parent1bcc40f7fd83bc603201b14577eebe5a482ba68e (diff)
feat: add Stats tab with task distribution and execution health metrics
- 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 <noreply@anthropic.com>
Diffstat (limited to 'internal')
-rw-r--r--internal/api/docs/RAW_NARRATIVE.md9
1 files changed, 9 insertions, 0 deletions
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