跳到正文
cccskills
免费在 GitHub 公开

dashboard-smoke

Build 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).

中文简介正在准备中。当前显示原文说明。

donaldfilimon/abi星标 19(GitHub 19 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md2.9 KB
  • dashboard.sh2.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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, and abi --tui all route to handleDashboard, which runs a 1s auto-refresh loop (quit on q/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/null blanks the whole frame and makes it look like nothing rendered.
  • No terminal-error trace is expected. < /dev/null should take the clean one-shot fallback; treat unexpected errno, tcgetattr, or panic as a bug.
  • No timeout needed (and macOS lacks it) — a non-TTY stdin makes it a clean one-shot. timeout/gtimeout only 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

SymptomFix
hangs / never returnsstdin is a TTY — redirect < /dev/null to force the one-shot.
empty outputYou 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 missingInspect 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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Maintain the Abbey / Aviva / Abi Discord system prompts in the Rust abbey-bot (`src/ask.rs`) and keep the hosted Grok bots (Grok Bot Abbey, Aviva Grok) in step with them. Use when the user says "improve grok bots", "abbey prompt", "persona prompt", "ask.rs", "system prompt", "tip floor", asks to change how Abbey/Aviva/Abi speak on Discord, or after an abbey-bot PR merges and the hosted bot's tip floor needs bumping. Runs as /abbey-system-prompt.

中文简介正在准备中。当前显示原文说明。

donaldfilimon/abi192026年10月27日 更新

Validate ABI docs and external collateral against repo evidence and docs/contracts/external-claims-audit.mdx. Use when auditing claims, scanning docs for unsupported QPS/sharding/FHE/AES language, checking one claim before publish, or re-confirming the external-claims audit. Agent procedure only — not a CLI or slash command. Pair with abi-doc-claims-sync when editing docs.

中文简介正在准备中。当前显示原文说明。

donaldfilimon/abi192026年10月27日 更新

Synchronize ABI Markdown and docs claims with executable behavior. Use before editing README, AGENTS.md, CLAUDE.md, GEMINI.md, docs/**/*.mdx, walkthroughs, changelogs, or any old ABI Markdown that mentions WDBX, MCP, GPU, clustering, compression, FHE, agents, or benchmarks.

中文简介正在准备中。当前显示原文说明。

donaldfilimon/abi192026年10月27日 更新

Plan and execute ABI repo work from the TODO board, roadmap/spec docs, stable Rust 1.99.1 constraints, and validation gates. Use when the user asks to find ABI todos/roadmaps, organize a large implementation from tasks/todo.md, or decide the next safe work slice. Distinct from the goals skill — that skill owns the persistent ledger tasks/goals.md; this skill plans from the active board and north-star specs.

中文简介正在准备中。当前显示原文说明。

donaldfilimon/abi192026年10月27日 更新

Validate ABI MCP JSON-RPC stdio and its custom loopback HTTP compatibility endpoint, including auth, limits, notifications, and shutdown.

中文简介正在准备中。当前显示原文说明。

donaldfilimon/abi192026年10月27日 更新

Review ABI's 16 compiled-in plugin fixtures, manifest validation, manual bundled registry, and real CLI/MCP run dispatch without claiming dynamic loading.

中文简介正在准备中。当前显示原文说明。

donaldfilimon/abi192026年10月27日 更新

查看 donaldfilimon 的全部技能

报告此技能的问题