← back to AbramsEgo

build-queue/done/28-dom-wiring-audit.md

18 lines

# Task 28 — DOM wiring completeness audit (split from timeout-killed task 27; scope: THIS ONLY)

Run scripts/smoke.sh FIRST (regression net). If it fails on localFleet, note it and continue
— that failure is tracked separately (pm2 daemon repair).

Then ONE dimension only, ≤12 minutes: prior audits proved /api/data via curl — NOT that
public/index.html actually renders every field. Cross-check both directions:
1. For each top-level key in /api/data (activity, canaries, cost, crons, kamatera,
   localFleet, officers, pnl, revenue, sessions, system, usage, usageSummary, wins):
   find its render path in public/index.html. Fetched-but-never-rendered = dead data.
2. Any UI section reading a field the API no longer sends = dead UI.

Output: if you find dead data/dead UI, FIX the small ones inline (<5 min each) and commit;
for anything bigger, enqueue ONE surgical task (NN=30+). Do NOT do failure drills or any
other dimension — task 29 owns that. Commit message:
`chore: DOM wiring audit (fable) — <verdict>`. pm2 restart abramsego to test if you edit;
never a second node on 9773. Author steve@designerwallcoverings.com.