ainb-fleetdaemons

Solid

Runtime-health view of the four fleet daemons — phone bridge, notifyd, ATC, and the fleet auto-continue daemon — in one table. Each row reports state (running / stopped / unknown), pid, uptime, last activity, error count, and a HEALTH reason that distinguishes a clean stop from a crash (stale heartbeat) or a pid-recycle. Use this when you need to answer "are my background daemons actually alive?" — not just installed, but serving. Default output: a fixed-width text table. Pass --format json for tooling.

AI & Automation 18 stars 6 forks Updated today MIT

Install

View on GitHub

Quality Score: 78/100

Stars 20%
43
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# ainb fleet:daemons — daemon health view The runtime-health answer for the fleet's four background daemons. Reads the on-disk liveness signals each daemon already maintains and renders one typed row per daemon. The same aggregator (`fleet::daemons::collect`) backs the TUI Daemons screen, so the CLI and the TUI can never drift. This is the question `ainb fleet bridge status` could never answer: that verb reports only **install** state. `daemons` reports whether the process is actually **running and serving** right now — a crashed-but-installed bridge shows `stopped` with a stale-heartbeat reason here. ## The four daemons | daemon | id | how it's probed | |---|---|---| | **phone bridge** | `bridge` | heartbeat file (`~/.agents-in-a-box/daemons/bridge.json`) + pid-identity cross-check | | **notifyd** | `notifyd` | PID-file liveness + bound Unix socket + sqlite DB file present | | **ATC** | `atc` | most-recently-beating provisioned instance's `heartbeat-state.json` (timer-driven; no resident pid) | | **fleet daemon** | `fleet-daemon` | heartbeat file + pid-identity cross-check | Rows are always emitted in this exact order (bridge, notifyd, ATC, fleet daemon), even when every daemon is stopped — so "everything stopped" is a legible four-row table, never an empty one. ## Run ```bash ainb fleet daemons # fixed-width text table (default) ainb --format json fleet daemons # typed rows for scripting ``` `--format` is a **global** flag — it goes bef...

Details

Author
stevengonsalvez
Repository
stevengonsalvez/agents-in-a-box
Created
1 years ago
Last Updated
today
Language
Rust
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category