A way to ask "which hosts need a reboot?" without opening the dashboard, with no
new network surface.
kernelwatch status prints the fleet as the dashboard does (worst first, then by
name), from the same evaluate() call with the host name passed, so the two
can't disagree (Livepatch cover, hostname note, etc.).
--json: generated_at, whole-fleet counts, and a per-host object with a
stable set of keys (null for anything a host hasn't reported). No tokens or
hashes.
--host NAME, --level stale|reboot|update|ok (repeatable) trim the host
list; counts always cover the whole fleet.
Unknown host exits 1; bad arguments are rejected by argparse.
README: "Scripting" section with jq examples (including a jq -e check
usable from cron or a monitor) and why there's no HTTP endpoint yet.
Testing
make test: 215 tests pass (13 new): ordering and counts, status/reasons equal to evaluate() per host, field values, never-reported hosts have nulls not missing
keys, Livepatch and hostname-note passthrough, no secrets in output, filters
(and counts unaffected), argument errors, empty fleet, text output. Mutations
(host not passed, wrong sort, ignored --level, unknown host accepted, wrong
age) were each caught. jq examples run against real output.
## Summary
A way to ask "which hosts need a reboot?" without opening the dashboard, with no
new network surface.
`kernelwatch status` prints the fleet as the dashboard does (worst first, then by
name), from the same `evaluate()` call with the host name passed, so the two
can't disagree (Livepatch cover, hostname note, etc.).
- `--json`: `generated_at`, whole-fleet `counts`, and a per-host object with a
stable set of keys (`null` for anything a host hasn't reported). No tokens or
hashes.
- `--host NAME`, `--level stale|reboot|update|ok` (repeatable) trim the host
list; counts always cover the whole fleet.
- Unknown host exits 1; bad arguments are rejected by argparse.
- README: "Scripting" section with `jq` examples (including a `jq -e` check
usable from cron or a monitor) and why there's no HTTP endpoint yet.
## Testing
`make test`: 215 tests pass (13 new): ordering and counts, status/reasons equal to
`evaluate()` per host, field values, never-reported hosts have nulls not missing
keys, Livepatch and hostname-note passthrough, no secrets in output, filters
(and counts unaffected), argument errors, empty fleet, text output. Mutations
(host not passed, wrong sort, ignored `--level`, unknown host accepted, wrong
age) were each caught. `jq` examples run against real output.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Prints the fleet like the dashboard, worst hosts first, from the same
evaluate() call, so the CLI and the dashboard cannot disagree. --json gives
generated_at, whole-fleet counts and a stable per-host object with no secrets;
--host and --level (repeatable) trim the host list. No network surface.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
patrick
merged commit e7a9a49438 into main2026-10-30 15:46:32 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
A way to ask "which hosts need a reboot?" without opening the dashboard, with no
new network surface.
kernelwatch statusprints the fleet as the dashboard does (worst first, then byname), from the same
evaluate()call with the host name passed, so the twocan't disagree (Livepatch cover, hostname note, etc.).
--json:generated_at, whole-fleetcounts, and a per-host object with astable set of keys (
nullfor anything a host hasn't reported). No tokens orhashes.
--host NAME,--level stale|reboot|update|ok(repeatable) trim the hostlist; counts always cover the whole fleet.
jqexamples (including ajq -echeckusable from cron or a monitor) and why there's no HTTP endpoint yet.
Testing
make test: 215 tests pass (13 new): ordering and counts, status/reasons equal toevaluate()per host, field values, never-reported hosts have nulls not missingkeys, Livepatch and hostname-note passthrough, no secrets in output, filters
(and counts unaffected), argument errors, empty fleet, text output. Mutations
(host not passed, wrong sort, ignored
--level, unknown host accepted, wrongage) were each caught.
jqexamples run against real output.🤖 Generated with Claude Code