← back to AbramsEgo

build-queue/failed/06-hardrule-compliance-pass.md

19 lines

# AbramsEgo task 06 — Steve hard-rule compliance pass on the dashboard

Read SPEC.md first. Audit the LIVE dashboard (public/index.html + server.js) against Steve's
hard UI rules and fix every gap. This is a compliance sweep, not new features.

1. **Created date+time on EVERY admin card/tile/row** — fleet items, cron rows, sub-agent runs,
   canary cards, wins, git rows. Format `🕓 Mon D, YYYY, h:mm AM` via
   `toLocaleString(undefined,{year:'numeric',month:'short',day:'numeric',hour:'numeric',minute:'2-digit'})`,
   visible on the card, full ISO timestamp in `title=`. Carry `created_at`/timestamp through each API.
2. **Any grid/list of items** (sub-agent runs, activity, crons) → add a sort `<select>`
   (Newest default + relevant modes) + a density `<input type=range>` controlling columns,
   both persisted to localStorage; and infinite scroll (IntersectionObserver) if a list can exceed
   ~40 rows. Coexist, don't conflict.
3. **Costs** — confirm every paid-API figure is labeled; local/free reads show `$0 (local)`.
4. Verify: `pm2 restart abramsego`, click through, confirm every card shows date+time and grids
   have the controls. Commit `chore: hard-rule compliance (created date+time, sort+density, costs)`.

Local only. No deploy/publish.