donaldfilimon/abi / .agents/skills/dashboard-smoke
dashboard-smoke
VerifiedBuild the abi CLI and non-interactively smoke the diagnostics dashboard — render `abi dashboard` one-shot (stdin from /dev/null forces the non-interactive fallback), assert exit 0 and all 5 panels (System, Plugins, WDBX Storage, Scheduler, Memory). Use to smoke-test `abi dashboard`/`abi tui`/`abi --tui` in CI or headless without hanging in the interactive TUI. Complements run-tui (which drives the interactive path via tmux).
dashboard-smoke — non-interactive one-shot dashboard render
Driver: .agents/skills/dashboard-smoke/dashboard.sh (paths relative to repo root).
Builds the CLI, renders the operational diagnostics dashboard once with a non-TTY stdin, and
asserts exit 0 + all five panels. Evidence is the RESULT: line. This is the
headless/CI counterpart to run-tui, which drives the interactive dashboard
through a tmux pty.
Run (agent path)
.agents/skills/dashboard-smoke/dashboard.sh
Prints RESULT: PASS (exit 0) or RESULT: FAIL with the missing panel/assertion.
One-liner by hand:
./target/debug/abi dashboard < /dev/null 2>&1 | sed $'s/\033\[[0-9;]*m//g'
Gotchas
- ⚠️ Interactive by default → it HANGS on a TTY.
abi dashboard,abi tui, andabi --tuiall route tohandleDashboard, which runs a 1s auto-refresh loop (quit onq/Esc/EOF) when stdin is a terminal. To smoke it, make stdin a non-TTY:< /dev/null(or pipe input) forces the one-shot render and returns immediately. - All output is on stderr — capture
2>&1.2>/dev/nullblanks the whole frame and makes it look like nothing rendered. - No terminal-error trace is expected.
< /dev/nullshould take the clean one-shot fallback; treatunexpected errno,tcgetattr, orpanicas a bug. - No
timeoutneeded (and macOS lacks it) — a non-TTY stdin makes it a clean one-shot.timeout/gtimeoutonly matters if you insist on a TTY guard. - The build is near-silent — confirm with
ls target/debug/abi, not stdout. - Healthy render = title
ABI Diagnostics Dashboard, an operational health row, and 5 panels (System / Plugins / WDBX Storage / Scheduler / Memory), exit 0. Fresh-process values are mostly zero (empty WDBX, a couple completed scheduler tasks) and long plugin lists are summarized after the first visible rows.
Troubleshooting
| Symptom | Fix |
|---|---|
| hangs / never returns | stdin is a TTY — redirect < /dev/null to force the one-shot. |
| empty output | You captured stdout only — the dashboard prints to stderr; use 2>&1. |
| looks like a crash (errno/tcgetattr) | Regression in the non-TTY fallback; inspect crates/abi-cli dashboard/TUI code. |
| a panel missing | Inspect dashboard render in crates/abi-cli; panels must still be System / Plugins / WDBX Storage / Scheduler / Memory. |
Historical verification: PASS on stable Rust via ./tools/cargo.sh — one-shot
render of all 5 panels, exit 0.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |