Skip to content

sigcli

Set up and run a Consigliere fleet from your admin machine. This first version only looks: doctor, check, health and lists. Design and plan: docs/sigcli.md.

From a checkout of this repository, with uv (or pipx install --editable ./cli):

Terminal window
uv tool install --editable ./cli

It needs Python 3.11 or newer and PyYAML. Run sigcli inside your fleet repo, or set SIG_FLEET. sigcli on its own prints the usage.

  • check and route list run your fleet repo’s own scripts/preflight.sh and scripts/routes.sh, which have their own needs (sigcli doctor lists them).
  • health reaches hosts with your fleet repo’s scripts/reconcile_now.py (the admin SSH key, custom ports, the tailnet). It runs a read-only script on each host.
  • health fetches from both repos’ remotes to learn what main is. It changes no branch or file.
  • It reports when you ask. It is not alerting. It does show alerts a host has not managed to send yet.
  • A host behind a commit that is less than 45 minutes old shows as “update pending”, not failing. While main keeps moving, a stuck host is caught by its last run failing, or after 8 hours without a successful apply.
  • Containers that are stopped cleanly, or created and never started, are not listed.
Terminal window
python -m unittest discover -s cli/tests