← back to AbramsEgo
maxit-tasks/08-canary-verdicts-panel.md
16 lines
# AbramsEgo maxit-08 — canary verdicts panel (SPEC panel 6, health)
Read ../SPEC.md. Surface Steve's canary fleet health. MINIMAL edits, delimited regions
(merge follows) — ONE new route + ONE new panel.
1. server.js: add authed `GET /api/canaries` — read each `~/.claude/skills/*/data/latest.json`
(disk-space, swap-pressure, dw-uptime-probe, dw-five-field, dw-map-auditor, backup, meta-watchdog,
etc.), return {skill, verdict/status, ts, summary} sorted worst-first. Cache in snapshot
(stale-while-revalidate — this globs the filesystem, keep off the hot path).
2. public/index.html: add a "Canaries" panel; each canary is an admin card with a PASS/WARN/FAIL
pill and its last-run date+time (🕓 toLocaleString, ISO in title=) per Steve's hard rule.
3. Verify `node --check server.js` (syntax only; no server run / pm2). Commit
`feat(canaries): canary-verdicts health panel`.
Local only. Read-only file globs. No deploy/publish.