On-device checklist for 1.0.12-beta.1 #133

Closed
opened 2026-11-01 01:32:02 +00:00 by aluminum-ice · 2 comments
Owner

This issue is public: results, logs and screenshots posted here use placeholders, never a key, passphrase, real address, network name or location.

On-device checks for 1.0.12-beta.1, built against 1.0.11. It is an app-layer release: it applies in place on a device running 1.0.11. It brings remote-train 0.2.0 (#129) and the new census plugin (#130, #131); 1.0.11's checks (#128) follow as regressions. Items the beta-check script judges are marked ✅ script when it reports PASS; items it can't see are tagged 🖐 by hand.

Run the check twice, with the dashboard password: once after capture has been on for a while (with remote-train enabled, and the census enabled with the phone's tether up for at least two hours), and once after stopping capture from the dashboard (for 4.3).

1. Update to this beta

  • 1.1 /etc/kestrel/version reads 1.0.12-beta.1 ✅ script
  • 1.2 the update applied in place (update-run status ok, installed 1.0.12-beta.1) ✅ script
  • 1.3 no new failed units ✅ script
  • 1.4 no tracebacks this boot (daemon, agent, capture) ✅ script
  • 1.5 settings unchanged by the update
  • 1.6 🖐 by hand: with the updates plugin's beta option off this beta is not offered; with it on it is offered and applies in place from the dashboard

2. remote-train 0.2.0: an unreachable host, and the remote-training service (#129)

  • 2.1 the installed remote-train is 0.2.0 and provides the remote-training service ✅ script
  • 2.2 remote-status.json keeps the last contact and the last model (the agent's .remote-staging folder) ✅ script
  • 2.3 🖐 by hand: make the training host unreachable (shut it down or stop its SSH server); the remote-train card reads "can't reach or log in to the host (last reached …)", and recovers when the host is back
  • 2.4 🖐 by hand: restart the daemon; the remote-train card still shows the last model pulled

3. The census plugin (#130, #131)

Enable it from the Plugins page (it takes the acknowledgment) with the phone's Bluetooth tether connected. For quicker numbers while testing, set poll_minutes to 60 and daily_mb to 10.

  • 3.1 census.py and its two helper files are installed, root-owned 0644 ✅ script
  • 3.2 census declares network, ui and web, provides census, and keeps its defaults (poll_minutes 90, tether_only on, daily_mb 5) ✅ script
  • 3.3 enabling it through the settings channel needs the authorized-use acknowledgment ✅ script
  • 3.4 an enabled census is loaded, with no error ✅ script
  • 3.5 its state folder is 0700 and its files 0600 ✅ script
  • 3.6 it reported this hour or the last, within its data budget ✅ script
  • 3.7 it read the census today, and its own report is in what it read ✅ script
  • 3.8 with tether_only on, its socket is bound to the tether (bnep0)
  • 3.9 the Census page shows what this device reports: release 1.0.12-beta.1, and "the phone's Bluetooth tether only" ✅ script
  • 3.10 🖐 by hand: turn the tether off; the Census page reads "Paused: waiting for the phone's Bluetooth tether."; turn it on and it says "Running." again within a few minutes
  • 3.11 🖐 by hand: from a computer, python3 tools/census-report/census_report.py lists this device's release, and the card's numbers ("Kestrels online", "Active today", "desktop won X of Y training contests this week") match it after the device's next read

4. Regressions from 1.0.11: AngryOxide stopped cleanly (#126)

  • 4.1 the capture unit signals only the launcher (KillMode=mixed), with a stop timeout ✅ script
  • 4.2 the running AngryOxide catches SIGINT (its handler is installed, and SIGINT isn't ignored)
  • 4.3 with capture stopped: the last stop exited cleanly (rc=0) and left no kismet-journal in the run folder ✅ script
  • 4.4 every agent relaunch and run-folder roll since the update stopped AngryOxide cleanly (rc=0, none killed after the timeout) ✅ script
  • 4.5 🖐 by hand: stop capture from the dashboard and start it again; it comes back running

5. Regressions from 1.0.11-beta.2

  • 5.1 the fair-contest code is installed (held-out scheme, contest rule, contest runner, evaluation) and the old promotion rule is gone ✅ script
  • 5.2 the agent publishes the contest-shaped tally and its last decision ✅ script
  • 5.3 each on-device training run since the update was followed by a contest in the agent's log ✅ script
  • 5.4 with remote-train enabled, the training host trains the agent's own algorithm ✅ script
  • 5.5 the /agent card shows "Model contests" (or "Earlier adoptions" before the first contest), not "Promotions" ✅ script
  • 5.6 🖐 by hand: after a day of capture, the /agent card's Last contest shows a result, and pull-agent-diagnostics.sh --score (from a computer) shows contests from both sources with their reasons
  • 5.7 all seven files are in /usr/local/share/kestrel/scripts/, the .sh scripts 0755 and the README 0644, and the two retired scripts are gone ✅ script
  • 5.8 🖐 by hand: copy pull-health.sh off the device and run it from a computer: one report with a verdict, AngryOxide's version, uptime and database lag, and no addresses, MAC addresses or names in it
  • 5.9 /status.json reports the release version (/etc/kestrel/version) with the package version beside it ✅ script
  • 5.10 the dashboard header reads "plugin host · v1.0.12-beta.1" ✅ script

6. Regressions from 1.0.11-beta.1

  • 6.1 /usr/bin/angryoxide --version reports 0.9.4 ✅ script
  • 6.2 while capturing, the kismet database's newest row is within 60 s of the capture file's last write
  • 6.3 while capturing, AngryOxide uses under 30% of RAM
  • 6.4 🖐 by hand, if not done on beta 1: after an hour somewhere busy, pull-health.sh shows the database lag still small and AngryOxide's memory roughly flat, and the Environment card keeps its count
  • 6.5 while capturing, capture-status.json has a radio count less than 2 minutes old
  • 6.6 while capturing, the dashboard's Environment card shows a count, not Unknown
  • 6.7 eink.py and its _eink_* helpers are gone; eink-ws27 and its helpers are installed ✅ script
  • 6.8 config.toml has [plugins.eink-ws27] and no [plugins.eink]; no eink plugin is listed ✅ script
  • 6.9 eink-ws27 isn't marked deprecated and declares its variant choices ✅ script
  • 6.10 an enabled eink-ws27 loads with its Motion card and no deprecation in its health note ✅ script
  • 6.11 ups-hat.py is gone; ups-ws.py is installed ✅ script
  • 6.12 config.toml has [plugins.ups-ws] and no [plugins.ups-hat]; ups-ws is local only, provides battery at 0x42, and isn't marked deprecated ✅ script
  • 6.13 an enabled ups-ws loads, its card shows a status, and its health note has no deprecation ✅ script
  • 6.14 [capture.output] mode is per-ap ✅ script
  • 6.15 Advanced settings shows per-ap as the mode's default ✅ script
  • 6.16 the store's handshake files are named per access point (counted, never listed)
  • 6.17 Captured networks opens on the by-access-point view ✅ script
  • 6.18 every package in the device's venv matches kestrel-constraints.txt ✅ script
  • 6.19 pytest is not installed on the device ✅ script

7. Regressions from 1.0.10

  • 7.1 plugin-only modules are gone from the installed package ✅ script
  • 7.2 the five plugin libraries are installed, root-owned 0644 ✅ script
  • 7.3 each library loads at the API its plugins ask for ✅ script
  • 7.4 no plugin-library load errors in this boot's daemon journal ✅ script
  • 7.5 all nineteen shipped plugins are present and readable; no _ file or plugin named lib is listed ✅ script
  • 7.6 the e-ink plugins declare their choices, and a value outside them is refused through the settings channel ✅ script
  • 7.7 ntfy and telegram declare network and only their own secrets ✅ script
  • 7.8 eink-ws27 declares the HAT key options, local only ✅ script
  • 7.9 ups-wsc, ups-wsd and ups-wse are local only, provide battery, say untested, and keep their defaults ✅ script
  • 7.10 each enabled ups-wsc/ups-wsd/ups-wse loads and its card shows a status
  • 7.11 with both e-ink plugins enabled, one drives the panel and the other stands down, and none hits "pin … already in use"
  • 7.12 one e-ink card shows the panel, the other reads "used by" it
  • 7.13 with no HAT, the journal says no panel is wired ✅ script
  • 7.14 a generated ntfy topic file is private
  • 7.15 the alert queues read back
  • 7.16 the dashboard certificate is made and private ✅ script
  • 7.17 kestrel web fingerprint matches the daemon's journal ✅ script
  • 7.18 HTTPS and the forwarder listen on each management address ✅ script
  • 7.19 loopback /status.json works with Basic credentials ✅ script
  • 7.20 responses carry X-Content-Type-Options: nosniff ✅ script
  • 7.21 Advanced settings lists web.tls and web.tls_port read-only ✅ script
  • 7.22 web.tls is refused through the settings channel (CLI only) ✅ script
  • 7.23 the login helper exits 0 after answering a refused request ✅ script
  • 7.24 the replaced notify and hat-buttons plugins are gone ✅ script
  • 7.25 the running daemon offers the row buttons ✅ script
  • 7.26 the map page: background, recovered colours, drag and zoom ✅ script
  • 7.27 Captured networks has its controls at the top ✅ script

8. Closing

  • 8.1 🖐 by hand: cut 1.0.12 stable (or the next beta); this device is offered it and applies it in place
This issue is public: results, logs and screenshots posted here use placeholders, never a key, passphrase, real address, network name or location. On-device checks for **1.0.12-beta.1**, built against 1.0.11. It is an **app-layer** release: it applies in place on a device running 1.0.11. It brings remote-train 0.2.0 (#129) and the new `census` plugin (#130, #131); 1.0.11's checks (#128) follow as regressions. Items the beta-check script judges are marked **✅ script** when it reports PASS; items it can't see are tagged **🖐 by hand**. Run the check twice, with the dashboard password: once after capture has been on for a while (with `remote-train` enabled, and the `census` enabled with the phone's tether up for at least two hours), and once after stopping capture from the dashboard (for 4.3). ### 1. Update to this beta - [x] 1.1 `/etc/kestrel/version` reads `1.0.12-beta.1` **✅ script** - [x] 1.2 the update applied in place (update-run status ok, installed `1.0.12-beta.1`) **✅ script** - [x] 1.3 no new failed units **✅ script** - [x] 1.4 no tracebacks this boot (daemon, agent, capture) **✅ script** - [ ] 1.5 settings unchanged by the update - [ ] 1.6 🖐 by hand: with the updates plugin's beta option off this beta is not offered; with it on it is offered and applies in place from the dashboard ### 2. remote-train 0.2.0: an unreachable host, and the remote-training service (#129) - [x] 2.1 the installed `remote-train` is 0.2.0 and provides the `remote-training` service **✅ script** - [x] 2.2 `remote-status.json` keeps the last contact and the last model (the agent's `.remote-staging` folder) **✅ script** - [ ] 2.3 🖐 by hand: make the training host unreachable (shut it down or stop its SSH server); the remote-train card reads "can't reach or log in to the host (last reached …)", and recovers when the host is back - [ ] 2.4 🖐 by hand: restart the daemon; the remote-train card still shows the last model pulled ### 3. The census plugin (#130, #131) Enable it from the Plugins page (it takes the acknowledgment) with the phone's Bluetooth tether connected. For quicker numbers while testing, set `poll_minutes` to 60 and `daily_mb` to 10. - [x] 3.1 `census.py` and its two helper files are installed, root-owned 0644 **✅ script** - [x] 3.2 `census` declares `network`, `ui` and `web`, provides `census`, and keeps its defaults (`poll_minutes` 90, `tether_only` on, `daily_mb` 5) **✅ script** - [x] 3.3 enabling it through the settings channel needs the authorized-use acknowledgment **✅ script** - [x] 3.4 an enabled `census` is loaded, with no error **✅ script** - [x] 3.5 its state folder is 0700 and its files 0600 **✅ script** - [x] 3.6 it reported this hour or the last, within its data budget **✅ script** - [x] 3.7 it read the census today, and its own report is in what it read **✅ script** - [ ] 3.8 with `tether_only` on, its socket is bound to the tether (`bnep0`) - [x] 3.9 the Census page shows what this device reports: release `1.0.12-beta.1`, and "the phone's Bluetooth tether only" **✅ script** - [ ] 3.10 🖐 by hand: turn the tether off; the Census page reads "Paused: waiting for the phone's Bluetooth tether."; turn it on and it says "Running." again within a few minutes - [x] 3.11 🖐 by hand: from a computer, `python3 tools/census-report/census_report.py` lists this device's release, and the card's numbers ("Kestrels online", "Active today", "desktop won X of Y training contests this week") match it after the device's next read ### 4. Regressions from 1.0.11: AngryOxide stopped cleanly (#126) - [x] 4.1 the capture unit signals only the launcher (`KillMode=mixed`), with a stop timeout **✅ script** - [ ] 4.2 the running AngryOxide catches SIGINT (its handler is installed, and SIGINT isn't ignored) - [x] 4.3 with capture stopped: the last stop exited cleanly (`rc=0`) and left no `kismet-journal` in the run folder **✅ script** - [x] 4.4 every agent relaunch and run-folder roll since the update stopped AngryOxide cleanly (`rc=0`, none killed after the timeout) **✅ script** - [ ] 4.5 🖐 by hand: stop capture from the dashboard and start it again; it comes back running ### 5. Regressions from 1.0.11-beta.2 - [x] 5.1 the fair-contest code is installed (held-out scheme, contest rule, contest runner, evaluation) and the old promotion rule is gone **✅ script** - [x] 5.2 the agent publishes the contest-shaped tally and its last decision **✅ script** - [x] 5.3 each on-device training run since the update was followed by a contest in the agent's log **✅ script** - [x] 5.4 with `remote-train` enabled, the training host trains the agent's own algorithm **✅ script** - [x] 5.5 the `/agent` card shows "Model contests" (or "Earlier adoptions" before the first contest), not "Promotions" **✅ script** - [ ] 5.6 🖐 by hand: after a day of capture, the `/agent` card's **Last contest** shows a result, and `pull-agent-diagnostics.sh --score` (from a computer) shows contests from both sources with their reasons - [x] 5.7 all seven files are in `/usr/local/share/kestrel/scripts/`, the `.sh` scripts 0755 and the README 0644, and the two retired scripts are gone **✅ script** - [ ] 5.8 🖐 by hand: copy `pull-health.sh` off the device and run it from a computer: one report with a verdict, AngryOxide's version, uptime and database lag, and no addresses, MAC addresses or names in it - [x] 5.9 `/status.json` reports the release version (`/etc/kestrel/version`) with the package version beside it **✅ script** - [x] 5.10 the dashboard header reads "plugin host · v1.0.12-beta.1" **✅ script** ### 6. Regressions from 1.0.11-beta.1 - [x] 6.1 `/usr/bin/angryoxide --version` reports 0.9.4 **✅ script** - [ ] 6.2 while capturing, the kismet database's newest row is within 60 s of the capture file's last write - [ ] 6.3 while capturing, AngryOxide uses under 30% of RAM - [ ] 6.4 🖐 by hand, if not done on beta 1: after an hour somewhere busy, `pull-health.sh` shows the database lag still small and AngryOxide's memory roughly flat, and the Environment card keeps its count - [ ] 6.5 while capturing, `capture-status.json` has a radio count less than 2 minutes old - [ ] 6.6 while capturing, the dashboard's Environment card shows a count, not *Unknown* - [x] 6.7 `eink.py` and its `_eink_*` helpers are gone; `eink-ws27` and its helpers are installed **✅ script** - [x] 6.8 `config.toml` has `[plugins.eink-ws27]` and no `[plugins.eink]`; no `eink` plugin is listed **✅ script** - [x] 6.9 `eink-ws27` isn't marked deprecated and declares its `variant` choices **✅ script** - [x] 6.10 an enabled `eink-ws27` loads with its Motion card and no deprecation in its health note **✅ script** - [x] 6.11 `ups-hat.py` is gone; `ups-ws.py` is installed **✅ script** - [x] 6.12 `config.toml` has `[plugins.ups-ws]` and no `[plugins.ups-hat]`; `ups-ws` is local only, provides `battery` at 0x42, and isn't marked deprecated **✅ script** - [x] 6.13 an enabled `ups-ws` loads, its card shows a status, and its health note has no deprecation **✅ script** - [x] 6.14 `[capture.output] mode` is `per-ap` **✅ script** - [x] 6.15 Advanced settings shows `per-ap` as the mode's default **✅ script** - [ ] 6.16 the store's handshake files are named per access point (counted, never listed) - [x] 6.17 Captured networks opens on the by-access-point view **✅ script** - [x] 6.18 every package in the device's venv matches `kestrel-constraints.txt` **✅ script** - [x] 6.19 `pytest` is not installed on the device **✅ script** ### 7. Regressions from 1.0.10 - [x] 7.1 plugin-only modules are gone from the installed package **✅ script** - [x] 7.2 the five plugin libraries are installed, root-owned 0644 **✅ script** - [x] 7.3 each library loads at the API its plugins ask for **✅ script** - [x] 7.4 no plugin-library load errors in this boot's daemon journal **✅ script** - [x] 7.5 all nineteen shipped plugins are present and readable; no `_` file or plugin named `lib` is listed **✅ script** - [x] 7.6 the e-ink plugins declare their choices, and a value outside them is refused through the settings channel **✅ script** - [x] 7.7 `ntfy` and `telegram` declare `network` and only their own secrets **✅ script** - [x] 7.8 `eink-ws27` declares the HAT key options, local only **✅ script** - [x] 7.9 `ups-wsc`, `ups-wsd` and `ups-wse` are local only, provide `battery`, say untested, and keep their defaults **✅ script** - [ ] 7.10 each enabled `ups-wsc`/`ups-wsd`/`ups-wse` loads and its card shows a status - [ ] 7.11 with both e-ink plugins enabled, one drives the panel and the other stands down, and none hits "pin … already in use" - [ ] 7.12 one e-ink card shows the panel, the other reads "used by" it - [x] 7.13 with no HAT, the journal says no panel is wired **✅ script** - [ ] 7.14 a generated `ntfy` topic file is private - [ ] 7.15 the alert queues read back - [x] 7.16 the dashboard certificate is made and private **✅ script** - [x] 7.17 `kestrel web fingerprint` matches the daemon's journal **✅ script** - [x] 7.18 HTTPS and the forwarder listen on each management address **✅ script** - [x] 7.19 loopback `/status.json` works with Basic credentials **✅ script** - [x] 7.20 responses carry `X-Content-Type-Options: nosniff` **✅ script** - [x] 7.21 Advanced settings lists `web.tls` and `web.tls_port` read-only **✅ script** - [x] 7.22 `web.tls` is refused through the settings channel (CLI only) **✅ script** - [x] 7.23 the login helper exits 0 after answering a refused request **✅ script** - [x] 7.24 the replaced `notify` and `hat-buttons` plugins are gone **✅ script** - [x] 7.25 the running daemon offers the row buttons **✅ script** - [x] 7.26 the map page: background, recovered colours, drag and zoom **✅ script** - [x] 7.27 Captured networks has its controls at the top **✅ script** ### 8. Closing - [ ] 8.1 🖐 by hand: cut 1.0.12 stable (or the next beta); this device is offered it and applies it in place
Author
Owner

The beta-check scripts for this beta are attached as beta-check-1.0.12-beta.1.zip. Run them from a computer, not the device:

unzip beta-check-1.0.12-beta.1.zip && cd beta-check-1.0.12-beta.1
EXPECT_VERSION=1.0.12-beta.1 OUT_DIR=<a folder outside any git checkout> bash pull-beta-check.sh <user>@<host> [ssh-port]

For the most coverage:

  • give the dashboard password when asked;
  • run it with remote-train enabled and set up;
  • run it with census enabled and the phone's tether up, after the census has run for an hour or two, so it has reported and read;
  • run it after capture has been on for a while, then once more with capture stopped from the dashboard (for 4.3).

The report is private: hand it over for review, don't attach it here.

This is the scripts' first run on a real device for this beta. They were checked off the device: lint, the config harness against staged copies and a weakened one, the census state reader against state written by the plugin's own worker, and the Census page markers against the rendered page.

The beta-check scripts for this beta are attached as **beta-check-1.0.12-beta.1.zip**. Run them from a computer, not the device: ``` unzip beta-check-1.0.12-beta.1.zip && cd beta-check-1.0.12-beta.1 EXPECT_VERSION=1.0.12-beta.1 OUT_DIR=<a folder outside any git checkout> bash pull-beta-check.sh <user>@<host> [ssh-port] ``` For the most coverage: - give the dashboard password when asked; - run it with `remote-train` enabled and set up; - run it with `census` enabled and the phone's tether up, after the census has run for an hour or two, so it has reported and read; - run it after capture has been on for a while, then once more with capture stopped from the dashboard (for 4.3). The report is private: hand it over for review, don't attach it here. This is the scripts' first run on a real device for this beta. They were checked off the device: lint, the config harness against staged copies and a weakened one, the census state reader against state written by the plugin's own worker, and the Census page markers against the rendered page.
Author
Owner

beta-check-1.0.12-beta.1.zip is replaced with an updated copy (from #137); the old zip is removed. Item 3.8 now counts the tether as up when bnep0 is up but reports its state as unknown, which a Bluetooth PAN link always does. Nothing else changed. Run it the same way, from a computer:

unzip beta-check-1.0.12-beta.1.zip && cd beta-check-1.0.12-beta.1
EXPECT_VERSION=1.0.12-beta.1 OUT_DIR=<a folder outside any git checkout> bash pull-beta-check.sh <user>@<host> [ssh-port]

Run it once with capture on for a while (with census enabled and the phone's tether up) to cover 3.8, 4.2, 6.2, 6.3, 6.5 and 6.6. The 3.8 change was checked off the device against staged interface states; this run is its first on a real device.

**beta-check-1.0.12-beta.1.zip** is replaced with an updated copy (from #137); the old zip is removed. Item 3.8 now counts the tether as up when `bnep0` is up but reports its state as `unknown`, which a Bluetooth PAN link always does. Nothing else changed. Run it the same way, from a computer: ``` unzip beta-check-1.0.12-beta.1.zip && cd beta-check-1.0.12-beta.1 EXPECT_VERSION=1.0.12-beta.1 OUT_DIR=<a folder outside any git checkout> bash pull-beta-check.sh <user>@<host> [ssh-port] ``` Run it once with capture on for a while (with `census` enabled and the phone's tether up) to cover 3.8, 4.2, 6.2, 6.3, 6.5 and 6.6. The 3.8 change was checked off the device against staged interface states; this run is its first on a real device.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aluminum-ice/kestrel#133
No description provided.