Fleet Phase-2: operator observability (fleet ps + heartbeat + watch + send --verify) #578

Closed
opened 2026-06-21 03:33:08 +00:00 by jason.woltje · 0 comments
Owner

Workstream W-FLEET under mvp-20260312. Closes internal task fleet-observability-1.

Restore operator observability into fleet agent sessions, per docs/fleet/PRD.md:

  • mosaic fleet ps — joins systemd + tmux + process + idle + heartbeat into one view; flags DRIFT (roster runtime != pane command) and BOOT-ENABLE (active but unit disabled); --json carries tenant_id + host (zero-foreclosure for multi-tenant/multi-host).
  • Heartbeat protocol v1 — file-based ~/.config/mosaic/fleet/run/<agent>.hb; runtimes emit ts/pid/status; healthy = answered within 3x interval.
  • mosaic agent watch — read-only join (cannot send keystrokes / no resize tyranny).
  • mosaic agent send --verify — delivery/acceptance receipt, not just keystroke injection.

North star: docs/fleet/north-star.md

Workstream W-FLEET under mvp-20260312. Closes internal task fleet-observability-1. Restore operator observability into fleet agent sessions, per docs/fleet/PRD.md: - `mosaic fleet ps` — joins systemd + tmux + process + idle + heartbeat into one view; flags DRIFT (roster runtime != pane command) and BOOT-ENABLE (active but unit disabled); `--json` carries tenant_id + host (zero-foreclosure for multi-tenant/multi-host). - Heartbeat protocol v1 — file-based `~/.config/mosaic/fleet/run/<agent>.hb`; runtimes emit ts/pid/status; healthy = answered within 3x interval. - `mosaic agent watch` — read-only join (cannot send keystrokes / no resize tyranny). - `mosaic agent send --verify` — delivery/acceptance receipt, not just keystroke injection. North star: docs/fleet/north-star.md
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#578