On-device checklist for 1.0.14-beta.1 #176

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

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

On-device checks for 1.0.14-beta.1, built against 1.0.13. It is an app-layer release: it applies in place on a device running 1.0.13 or any 1.0.13 beta. It carries the learning agent's changes (#175): it tries other scans now and then, trains a model from scratch now and then, doesn't take untried scans on trust, and keeps every scan within the [agent.action] lists. It also carries the GPS change that tags captures only with a current location (#174). 1.0.13's checks (#150, #158, #166, #172) and the older ones 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.

The agent items (2-5) need the learning agent on a trained model: sudo kestrel agent policy learned (exploring only happens under a learned policy). Leave it capturing for at least half a day before the first run, so there are four or more training runs and some exploring windows to look at.

An AP-less handshake is one from a phone answering the capture tool for a network it remembers; AngryOxide files all of a capture run's under one made-up rogue address. The by-hand items in 10 and 11 need a device that has some, ideally with a recovered result for one (from wpa-sec or an import). By-hand items already done on 1.0.13's betas don't need repeating unless the code behind them changed.

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 24.3). The sign-in check (17.4) makes a few wrong attempts over loopback and runs last; for a minute or so afterwards the dashboard may ask a browser on the device itself to wait.

1. Update to this beta

  • 1.1 /etc/kestrel/version reads 1.0.14-beta.1 ✅ script
  • 1.2 the update applied in place (update-run status ok, installed 1.0.14-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

2. The learning agent tries other scans (#175)

  • 2.1 the installed agent has the explorer (agent/explore.py), and its status reports exploring at its defaults: 5% of windows, each held for 2 windows, 32 scans allowed with the shipped lists ✅ script
  • 2.2 since the update, the episode log has windows marked as exploring under the learned policy, each with the chance its scan was picked, in runs of two windows of the same scan ✅ script
  • 2.3 no window run under the scripted sweep (policy = baseline) is marked as exploring ✅ script
  • 2.4 the agent's journal has an "explore: trying …" line for each exploring window in the log (so two for a run of two), counted over the span the journal still holds ✅ script
  • 2.5 under a learned policy, the /agent page shows the Exploring row ("5% of windows · N of 32 actions tried · N in the last hour"), and its metrics table an exploring line once there are exploring windows ✅ script
  • 2.6 🖐 by hand: on the phone, the Agent page's Exploring row reads normally, its tried count climbs over a day or two, and during an exploring window the agent's note says "trying …"
  • 2.7 🖐 by hand, optional: add explore_rate = 0 to [agent] and restart the agent (sudo systemctl restart kestrel-agent); the Exploring row reads "off" and no new "explore: trying" lines appear; then remove the line and restart again

3. Training from scratch now and then (#175)

  • 3.1 the installed agent's from-scratch settings are at their defaults (fresh_every 4, stuck_contests 3, fresh_timesteps 0, so three times train_timesteps), and the installed trainer accepts --seed and --no-warm-start ✅ script
  • 3.2 among the on-device training runs since the update, a run from scratch comes at least every 4th run: the journal says "training from scratch" (INFO until there have been four runs) ✅ script
  • 3.3 every contest since the update ends with "same choice as the active model on N% of rows", and a from-scratch candidate's is marked "(from scratch)" ✅ script
  • 3.4 a candidate trained from scratch records that, with its seed ✅ script
  • 3.5 once a from-scratch candidate has been judged, the agent's contest tally counts from-scratch wins and losses, and the /agent page's Model contests row shows "from scratch X of Y won" ✅ script
  • 3.6 🖐 by hand: sudo kestrel agent train-now --fresh starts a run the journal calls "manual training from scratch (asked for, N steps)", and a plain sudo kestrel agent train-now still fine-tunes the current model
  • 3.7 🖐 by hand: after a day or two, the Agent page's Last contest says how often the new model chose like the active one, and a from-scratch candidate's figure is well under 100%

4. Untried scans aren't taken on trust (#175)

  • 4.1 the installed trainer scores a scan with fewer than 8 logged windows at the mean of the weakest well-tried scan, not the overall mean ✅ script
  • 4.2 a candidate trained since the update lists the scans it had too little data on ✅ script

5. Scan limits apply to every agent scan (#175)

  • 5.1 the installed agent maps every scan it runs (the model's, the sweep's, an exploring one) to the nearest one the [agent.action] lists allow ✅ script
  • 5.2 with transmit_modes = ["passive"] in a throwaway copy of config.toml, the installed agent allows only the 16 listen-only scans, and the real file is unchanged ✅ script
  • 5.3 every window logged since the update ran a scan the configured lists allow ✅ script
  • 5.4 🖐 by hand, optional: set transmit_modes = ["passive"] in [agent.action] and restart the agent; the Exploring row reads "of 16", and every new "explore: trying" line says passive; then put the line back and restart again

6. GPS: captures tagged only with a current location (#174)

  • 6.1 the installed gps plugin stops sharing its position once the fix is lost or more than 30 seconds old ✅ script
  • 6.2 🖐 by hand: with a GPS fix, capture until a handshake gets a location; then unplug the receiver (or lose the fix indoors); after about half a minute the GPS card shows no fix, and handshakes captured meanwhile get no location (no .gps.json beside them, nothing new on the map); plug it back in, and tagging resumes with the next fix

7. The user guide (#175)

  • 7.1 /guide has the "Exploring and training from scratch" section ✅ script
  • 7.2 🖐 by hand: the dashboard's "What's new" for this beta reads normally

8. Regressions from 1.0.13: captured networks search (#167)

  • 8.1 the installed package matches a by-access-point search to BSSIDs only when it looks like one (hex digits and :, - or ., with a separator or at least six digits) ✅ script
  • 8.2 a by-access-point search for a name no network has, whose only hex letter is "e", matches nothing (the old search matched every BSSID with an "e") ✅ script
  • 8.3 🖐 by hand: on the phone, search the by-access-point view for one of your network names; only rows with that name are listed; paste part of a BSSID (like AA:BB:CC) and it still finds the radio

9. Regressions from 1.0.13: the agent's coverage figure (#169)

  • 9.1 the installed agent leaves AP-less handshakes out of its "new networks / hour" figure (they still count as handshakes) ✅ script

10. Regressions from 1.0.13: recovered passphrases matched by network (#161)

  • 10.1 the installed package matches recovered passphrases by network (address and name, plus the client for an AP-less capture), and the dashboard's count and the map use that match ✅ script
  • 10.2 the dashboard's "recovered N of M access points" is there, with N no more than M ✅ script
  • 10.3 🖐 by hand: with a recovered result for an AP-less capture, Captured networks shows it only under its own network name, labelled "· client …", and the other names under that rogue address show no recovered badge
  • 10.4 🖐 by hand: results imported before this beta still show for ordinary access points; import a wpa-sec file again and kestrel recovered list counts it

11. Regressions from 1.0.13: rogue addresses aren't access points (#162)

  • 11.1 the installed package leaves rogue addresses out of the access-point counts and locations, and the map doesn't draw them ✅ script
  • 11.2 the by-access-point page's "N access point(s) captured" matches the dashboard's access points ✅ script
  • 11.3 🖐 by hand: in the by-access-point view, a rogue address's row says "Not an access point" and shows no location; it isn't on the map; the e-ink AP counter matches the dashboard

12. Regressions from 1.0.13: wigle skips AP-less handshakes (#163)

  • 12.1 the installed wigle skips AP-less handshakes (neither uploaded nor looked up) ✅ script

13. Regressions from 1.0.13: census: a fresh socket after the tether reconnects (#156)

  • 13.1 the installed census checks its socket's binding before every send, and opens a fresh socket at the start of a cycle when the tether has reconnected ✅ script
  • 13.2 with tether_only on and the tether up, the census socket is bound to the tether (bnep0) ✅ script
  • 13.3 🖐 by hand: with the census on and the tether up, turn the tether off and on again; at the census's next cycle (within the hour) the journal shows "census: the tether reconnected; opening a fresh socket" (or "the link went down mid-cycle"), the census reports again, and a rerun of the check passes 13.2

14. Regressions from 1.0.13: map: Last 24 hours and Reset view (#154)

  • 14.1 the map's filters include Last 24 hours ✅ script
  • 14.2 on a zoomed map, Reset view is drawn on the map (both renderings), not in the filter row ✅ script
  • 14.3 🖐 by hand: on the phone, the filters fit the screen; zoom in, and Reset view sits in the map's top-left corner, keeps the filter you chose, and brings back the whole map

15. Regressions from 1.0.13: plugins page: View buttons (#155)

  • 15.1 the census and wpa-sec rows on the Plugins page offer a View button (not Census or Show) ✅ script

16. Regressions from 1.0.13: privileged helpers (#145)

  • 16.1 updates declares beta, timeout and backup_timeout_seconds as root-only, and remote-train declares agent_dir as root-only ✅ script
  • 16.2 each of those is refused through the settings channel (nothing written) ✅ script
  • 16.3 the Plugins page shows them read-only ✅ script
  • 16.4 the agent's trigger files, where present (train-request, .remote-train-now), are regular files owned by pi
  • 16.5 the login helper's state folder /run/kestrel-auth, where present, is root-only (0700) ✅ script
  • 16.6 🖐 by hand: sudo kestrel agent train-now still starts a training run, and sudo kestrel remote-train now still asks for a pull (the agent's and remote-train's logs show them)
  • 16.7 🖐 by hand: sudo kestrel plugins set updates timeout=30 works from the terminal, and the dashboard can't change it
  • 16.8 🖐 by hand: beta updates are now switched from the terminal: sudo kestrel plugins set updates beta=false stops offering betas, and beta=true offers this one again

17. Regressions from 1.0.13: the dashboard: sign-in and limits (#146)

  • 17.1 the daemon unit runs with PrivateTmp=yes and LimitNOFILE=4096 ✅ script
  • 17.2 a request body over 64 KB to the loopback dashboard gets 413 ✅ script
  • 17.3 /guide renders, with its headings ✅ script
  • 17.4 after repeated wrong Basic credentials over loopback, the dashboard answers 429 with Retry-After, the right credentials still get in, and the journal logs the failures with their address ✅ script
  • 17.5 🖐 by hand: on the phone, sign in with a wrong password several times; the page says "Too many attempts. Try again in N seconds.", and the right password works once you wait
  • 17.6 🖐 by hand: import a potfile from Captured networks; it still imports, and a file over its limit ([recovered] max_import_mb) gets "That file is too large to import."
  • 17.7 🖐 by hand: the dashboard's "What's new" for this beta reads normally

18. Regressions from 1.0.13: updates (#140, #148)

  • 18.1 the installed update engine follows redirects only to https, at most five, and keeps the token on the release host ✅ script
  • 18.2 the installed CLI's token clone follows no redirect (http.followRedirects false) ✅ script
  • 18.3 🖐 by hand, only if you update from a private repository with a token: the stable release (or next beta) still clones and applies

19. Regressions from 1.0.13: census (#141, #147)

  • 19.1 the Census page's Status shows the tether, whether the census can be reached, and the dated last push and last read ✅ script
  • 19.2 the installed census helpers keep at most one slot's worth from each slot and a full census (12,544) a day ✅ script
  • 19.3 no day in the census seen.json holds more than 12,544 entries ✅ script
  • 19.4 🖐 by hand: restart the daemon; the Census page still shows the last push and read times

20. Regressions from 1.0.13: plugin pages (#142–#144)

  • 20.1 the Census page, and every other enabled plugin page the script can open, starts with the "← Plugins · Dashboard" links ✅ script
  • 20.2 🖐 by hand: on the phone, open each plugin's page from its row on the Plugins page and come back with the links

21. Regressions from 1.0.13: building your own image (#149)

  • 21.1 🖐 by hand, optional: build with sudo make image MY_PI_PASSWORD_HASH='<your hash>'; the build log says "login: custom hash" and never shows the hash, and the image's pi line in /etc/shadow carries it

22. Regressions from 1.0.12: remote-train 0.2.0 (#129)

  • 22.1 the installed remote-train is 0.2.0 and provides the remote-training service ✅ script
  • 22.2 remote-status.json keeps the last contact and the last model (the agent's .remote-staging folder) ✅ script
  • 22.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
  • 22.4 🖐 by hand: restart the daemon; the remote-train card still shows the last model pulled

23. Regressions from 1.0.12: 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.

  • 23.1 census.py and its two helper files are installed, root-owned 0644 ✅ script
  • 23.2 census declares network, ui and web, provides census, and keeps its defaults (poll_minutes 90, tether_only on, daily_mb 5) ✅ script
  • 23.3 enabling it through the settings channel needs the authorized-use acknowledgment ✅ script
  • 23.4 an enabled census is loaded, with no error ✅ script
  • 23.5 its state folder is 0700 and its files 0600 ✅ script
  • 23.6 it reported this hour or the last, within its data budget ✅ script
  • 23.7 it read the census today, and its own report is in what it read ✅ script
  • 23.8 the Census page shows what this device reports: release 1.0.14-beta.1, and "the phone's Bluetooth tether only" ✅ script
  • 23.9 🖐 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
  • 23.10 🖐 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

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

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

25. Regressions from 1.0.11-beta.2

  • 25.1 the fair-contest code is installed (held-out scheme, contest rule, contest runner, evaluation) and the old promotion rule is gone ✅ script
  • 25.2 the agent publishes the contest-shaped tally and its last decision ✅ script
  • 25.3 each on-device training run since the update was followed by a contest in the agent's log ✅ script
  • 25.4 with remote-train enabled, the training host trains the agent's own algorithm ✅ script
  • 25.5 the /agent card shows "Model contests" (or "Earlier adoptions" before the first contest), not "Promotions" ✅ script
  • 25.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
  • 25.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
  • 25.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
  • 25.9 /status.json reports the release version (/etc/kestrel/version) with the package version beside it ✅ script
  • 25.10 the dashboard header reads "plugin host · v1.0.14-beta.1" ✅ script

26. Regressions from 1.0.11-beta.1

  • 26.1 /usr/bin/angryoxide --version reports 0.9.4 ✅ script
  • 26.2 while capturing, the kismet database's newest row is within 60 s of the capture file's last write ✅ script
  • 26.3 while capturing, AngryOxide uses under 30% of RAM ✅ script
  • 26.4 🖐 by hand, if not done on 1.0.11-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
  • 26.5 while capturing, capture-status.json has a radio count less than 2 minutes old ✅ script
  • 26.6 while capturing, the dashboard's Environment card shows a count, not Unknown ✅ script
  • 26.7 eink.py and its _eink_* helpers are gone; eink-ws27 and its helpers are installed ✅ script
  • 26.8 config.toml has [plugins.eink-ws27] and no [plugins.eink]; no eink plugin is listed ✅ script
  • 26.9 eink-ws27 isn't marked deprecated and declares its variant choices ✅ script
  • 26.10 an enabled eink-ws27 loads with its Motion card and no deprecation in its health note ✅ script
  • 26.11 ups-hat.py is gone; ups-ws.py is installed ✅ script
  • 26.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
  • 26.13 an enabled ups-ws loads, its card shows a status, and its health note has no deprecation ✅ script
  • 26.14 [capture.output] mode is per-ap ✅ script
  • 26.15 Advanced settings shows per-ap as the mode's default ✅ script
  • 26.16 the store's handshake files are named per access point (counted, never listed)
  • 26.17 Captured networks opens on the by-access-point view ✅ script
  • 26.18 every package in the device's venv matches kestrel-constraints.txt ✅ script
  • 26.19 pytest is not installed on the device ✅ script

27. Regressions from 1.0.10

  • 27.1 plugin-only modules are gone from the installed package ✅ script
  • 27.2 the five plugin libraries are installed, root-owned 0644 ✅ script
  • 27.3 each library loads at the API its plugins ask for ✅ script
  • 27.4 no plugin-library load errors in this boot's daemon journal ✅ script
  • 27.5 all nineteen shipped plugins are present and readable; no _ file or plugin named lib is listed ✅ script
  • 27.6 the e-ink plugins declare their choices, and a value outside them is refused through the settings channel ✅ script
  • 27.7 ntfy and telegram declare network and only their own secrets ✅ script
  • 27.8 eink-ws27 declares the HAT key options, local only ✅ script
  • 27.9 ups-wsc, ups-wsd and ups-wse are local only, provide battery, say untested, and keep their defaults ✅ script
  • 27.10 each enabled ups-wsc/ups-wsd/ups-wse loads and its card shows a status
  • 27.11 with both e-ink plugins enabled, one drives the panel and the other stands down, and none hits "pin … already in use" ✅ script
  • 27.12 one e-ink card shows the panel, the other reads "used by" it
  • 27.13 with no HAT, the journal says no panel is wired ✅ script
  • 27.14 a generated ntfy topic file is private
  • 27.15 the alert queues read back
  • 27.16 the dashboard certificate is made and private ✅ script
  • 27.17 kestrel web fingerprint matches the daemon's journal ✅ script
  • 27.18 HTTPS and the forwarder listen on each management address ✅ script
  • 27.19 loopback /status.json works with Basic credentials ✅ script
  • 27.20 responses carry X-Content-Type-Options: nosniff ✅ script
  • 27.21 Advanced settings lists web.tls and web.tls_port read-only ✅ script
  • 27.22 web.tls is refused through the settings channel (CLI only) ✅ script
  • 27.23 the login helper exits 0 after answering a refused request ✅ script
  • 27.24 the replaced notify and hat-buttons plugins are gone ✅ script
  • 27.25 the running daemon offers the row buttons ✅ script
  • 27.26 the map page: background, recovered colours, drag and zoom ✅ script
  • 27.27 Captured networks has its controls at the top ✅ script

28. Closing

  • 28.1 🖐 by hand: cut 1.0.14 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, password, real address, network name or location. On-device checks for **1.0.14-beta.1**, built against 1.0.13. It is an **app-layer** release: it applies in place on a device running 1.0.13 or any 1.0.13 beta. It carries the learning agent's changes (#175): it tries other scans now and then, trains a model from scratch now and then, doesn't take untried scans on trust, and keeps every scan within the `[agent.action]` lists. It also carries the GPS change that tags captures only with a current location (#174). 1.0.13's checks (#150, #158, #166, #172) and the older ones 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**. The agent items (2-5) need the learning agent on a trained model: `sudo kestrel agent policy learned` (exploring only happens under a learned policy). Leave it capturing for at least half a day before the first run, so there are four or more training runs and some exploring windows to look at. An *AP-less* handshake is one from a phone answering the capture tool for a network it remembers; AngryOxide files all of a capture run's under one made-up *rogue address*. The by-hand items in 10 and 11 need a device that has some, ideally with a recovered result for one (from wpa-sec or an import). By-hand items already done on 1.0.13's betas don't need repeating unless the code behind them changed. 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 24.3). The sign-in check (17.4) makes a few wrong attempts over loopback and runs last; for a minute or so afterwards the dashboard may ask a browser on the device itself to wait. ### 1. Update to this beta - [x] 1.1 `/etc/kestrel/version` reads `1.0.14-beta.1` **✅ script** - [x] 1.2 the update applied in place (update-run status ok, installed `1.0.14-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 ### 2. The learning agent tries other scans (#175) - [x] 2.1 the installed agent has the explorer (`agent/explore.py`), and its status reports exploring at its defaults: 5% of windows, each held for 2 windows, 32 scans allowed with the shipped lists **✅ script** - [x] 2.2 since the update, the episode log has windows marked as exploring under the learned policy, each with the chance its scan was picked, in runs of two windows of the same scan **✅ script** - [x] 2.3 no window run under the scripted sweep (`policy = baseline`) is marked as exploring **✅ script** - [x] 2.4 the agent's journal has an "explore: trying …" line for each exploring window in the log (so two for a run of two), counted over the span the journal still holds **✅ script** - [x] 2.5 under a learned policy, the `/agent` page shows the **Exploring** row ("5% of windows · N of 32 actions tried · N in the last hour"), and its metrics table an *exploring* line once there are exploring windows **✅ script** - [ ] 2.6 🖐 by hand: on the phone, the Agent page's Exploring row reads normally, its tried count climbs over a day or two, and during an exploring window the agent's note says "trying …" - [ ] 2.7 🖐 by hand, optional: add `explore_rate = 0` to `[agent]` and restart the agent (`sudo systemctl restart kestrel-agent`); the Exploring row reads "off" and no new "explore: trying" lines appear; then remove the line and restart again ### 3. Training from scratch now and then (#175) - [x] 3.1 the installed agent's from-scratch settings are at their defaults (`fresh_every` 4, `stuck_contests` 3, `fresh_timesteps` 0, so three times `train_timesteps`), and the installed trainer accepts `--seed` and `--no-warm-start` **✅ script** - [x] 3.2 among the on-device training runs since the update, a run from scratch comes at least every 4th run: the journal says "training from scratch" (INFO until there have been four runs) **✅ script** - [x] 3.3 every contest since the update ends with "same choice as the active model on N% of rows", and a from-scratch candidate's is marked "(from scratch)" **✅ script** - [x] 3.4 a candidate trained from scratch records that, with its seed **✅ script** - [x] 3.5 once a from-scratch candidate has been judged, the agent's contest tally counts from-scratch wins and losses, and the `/agent` page's **Model contests** row shows "from scratch X of Y won" **✅ script** - [ ] 3.6 🖐 by hand: `sudo kestrel agent train-now --fresh` starts a run the journal calls "manual training from scratch (asked for, N steps)", and a plain `sudo kestrel agent train-now` still fine-tunes the current model - [ ] 3.7 🖐 by hand: after a day or two, the Agent page's **Last contest** says how often the new model chose like the active one, and a from-scratch candidate's figure is well under 100% ### 4. Untried scans aren't taken on trust (#175) - [x] 4.1 the installed trainer scores a scan with fewer than 8 logged windows at the mean of the weakest well-tried scan, not the overall mean **✅ script** - [x] 4.2 a candidate trained since the update lists the scans it had too little data on **✅ script** ### 5. Scan limits apply to every agent scan (#175) - [x] 5.1 the installed agent maps every scan it runs (the model's, the sweep's, an exploring one) to the nearest one the `[agent.action]` lists allow **✅ script** - [x] 5.2 with `transmit_modes = ["passive"]` in a throwaway copy of `config.toml`, the installed agent allows only the 16 listen-only scans, and the real file is unchanged **✅ script** - [x] 5.3 every window logged since the update ran a scan the configured lists allow **✅ script** - [ ] 5.4 🖐 by hand, optional: set `transmit_modes = ["passive"]` in `[agent.action]` and restart the agent; the Exploring row reads "of 16", and every new "explore: trying" line says `passive`; then put the line back and restart again ### 6. GPS: captures tagged only with a current location (#174) - [x] 6.1 the installed `gps` plugin stops sharing its position once the fix is lost or more than 30 seconds old **✅ script** - [ ] 6.2 🖐 by hand: with a GPS fix, capture until a handshake gets a location; then unplug the receiver (or lose the fix indoors); after about half a minute the GPS card shows no fix, and handshakes captured meanwhile get no location (no `.gps.json` beside them, nothing new on the map); plug it back in, and tagging resumes with the next fix ### 7. The user guide (#175) - [x] 7.1 `/guide` has the "Exploring and training from scratch" section **✅ script** - [ ] 7.2 🖐 by hand: the dashboard's "What's new" for this beta reads normally ### 8. Regressions from 1.0.13: captured networks search (#167) - [x] 8.1 the installed package matches a by-access-point search to BSSIDs only when it looks like one (hex digits and `:`, `-` or `.`, with a separator or at least six digits) **✅ script** - [x] 8.2 a by-access-point search for a name no network has, whose only hex letter is "e", matches nothing (the old search matched every BSSID with an "e") **✅ script** - [ ] 8.3 🖐 by hand: on the phone, search the by-access-point view for one of your network names; only rows with that name are listed; paste part of a BSSID (like `AA:BB:CC`) and it still finds the radio ### 9. Regressions from 1.0.13: the agent's coverage figure (#169) - [x] 9.1 the installed agent leaves AP-less handshakes out of its "new networks / hour" figure (they still count as handshakes) **✅ script** ### 10. Regressions from 1.0.13: recovered passphrases matched by network (#161) - [x] 10.1 the installed package matches recovered passphrases by network (address and name, plus the client for an AP-less capture), and the dashboard's count and the map use that match **✅ script** - [x] 10.2 the dashboard's "recovered N of M access points" is there, with N no more than M **✅ script** - [ ] 10.3 🖐 by hand: with a recovered result for an AP-less capture, Captured networks shows it only under its own network name, labelled "· client …", and the other names under that rogue address show no recovered badge - [ ] 10.4 🖐 by hand: results imported before this beta still show for ordinary access points; import a wpa-sec file again and `kestrel recovered list` counts it ### 11. Regressions from 1.0.13: rogue addresses aren't access points (#162) - [x] 11.1 the installed package leaves rogue addresses out of the access-point counts and locations, and the map doesn't draw them **✅ script** - [x] 11.2 the by-access-point page's "N access point(s) captured" matches the dashboard's access points **✅ script** - [ ] 11.3 🖐 by hand: in the by-access-point view, a rogue address's row says "Not an access point" and shows no location; it isn't on the map; the e-ink `AP` counter matches the dashboard ### 12. Regressions from 1.0.13: wigle skips AP-less handshakes (#163) - [x] 12.1 the installed `wigle` skips AP-less handshakes (neither uploaded nor looked up) **✅ script** ### 13. Regressions from 1.0.13: census: a fresh socket after the tether reconnects (#156) - [x] 13.1 the installed census checks its socket's binding before every send, and opens a fresh socket at the start of a cycle when the tether has reconnected **✅ script** - [x] 13.2 with `tether_only` on and the tether up, the census socket is bound to the tether (`bnep0`) **✅ script** - [ ] 13.3 🖐 by hand: with the census on and the tether up, turn the tether off and on again; at the census's next cycle (within the hour) the journal shows "census: the tether reconnected; opening a fresh socket" (or "the link went down mid-cycle"), the census reports again, and a rerun of the check passes 13.2 ### 14. Regressions from 1.0.13: map: Last 24 hours and Reset view (#154) - [x] 14.1 the map's filters include **Last 24 hours** **✅ script** - [x] 14.2 on a zoomed map, **Reset view** is drawn on the map (both renderings), not in the filter row **✅ script** - [ ] 14.3 🖐 by hand: on the phone, the filters fit the screen; zoom in, and Reset view sits in the map's top-left corner, keeps the filter you chose, and brings back the whole map ### 15. Regressions from 1.0.13: plugins page: View buttons (#155) - [x] 15.1 the census and wpa-sec rows on the Plugins page offer a **View** button (not *Census* or *Show*) **✅ script** ### 16. Regressions from 1.0.13: privileged helpers (#145) - [x] 16.1 `updates` declares `beta`, `timeout` and `backup_timeout_seconds` as root-only, and `remote-train` declares `agent_dir` as root-only **✅ script** - [x] 16.2 each of those is refused through the settings channel (nothing written) **✅ script** - [x] 16.3 the Plugins page shows them read-only **✅ script** - [ ] 16.4 the agent's trigger files, where present (`train-request`, `.remote-train-now`), are regular files owned by `pi` - [x] 16.5 the login helper's state folder `/run/kestrel-auth`, where present, is root-only (0700) **✅ script** - [ ] 16.6 🖐 by hand: `sudo kestrel agent train-now` still starts a training run, and `sudo kestrel remote-train now` still asks for a pull (the agent's and remote-train's logs show them) - [ ] 16.7 🖐 by hand: `sudo kestrel plugins set updates timeout=30` works from the terminal, and the dashboard can't change it - [ ] 16.8 🖐 by hand: beta updates are now switched from the terminal: `sudo kestrel plugins set updates beta=false` stops offering betas, and `beta=true` offers this one again ### 17. Regressions from 1.0.13: the dashboard: sign-in and limits (#146) - [x] 17.1 the daemon unit runs with `PrivateTmp=yes` and `LimitNOFILE=4096` **✅ script** - [x] 17.2 a request body over 64 KB to the loopback dashboard gets `413` **✅ script** - [x] 17.3 `/guide` renders, with its headings **✅ script** - [x] 17.4 after repeated wrong Basic credentials over loopback, the dashboard answers `429` with `Retry-After`, the right credentials still get in, and the journal logs the failures with their address **✅ script** - [ ] 17.5 🖐 by hand: on the phone, sign in with a wrong password several times; the page says "Too many attempts. Try again in N seconds.", and the right password works once you wait - [ ] 17.6 🖐 by hand: import a potfile from Captured networks; it still imports, and a file over its limit (`[recovered] max_import_mb`) gets "That file is too large to import." - [ ] 17.7 🖐 by hand: the dashboard's "What's new" for this beta reads normally ### 18. Regressions from 1.0.13: updates (#140, #148) - [x] 18.1 the installed update engine follows redirects only to https, at most five, and keeps the token on the release host **✅ script** - [x] 18.2 the installed CLI's token clone follows no redirect (`http.followRedirects` false) **✅ script** - [ ] 18.3 🖐 by hand, only if you update from a private repository with a token: the stable release (or next beta) still clones and applies ### 19. Regressions from 1.0.13: census (#141, #147) - [x] 19.1 the Census page's Status shows the tether, whether the census can be reached, and the dated last push and last read **✅ script** - [x] 19.2 the installed census helpers keep at most one slot's worth from each slot and a full census (12,544) a day **✅ script** - [x] 19.3 no day in the census `seen.json` holds more than 12,544 entries **✅ script** - [ ] 19.4 🖐 by hand: restart the daemon; the Census page still shows the last push and read times ### 20. Regressions from 1.0.13: plugin pages (#142–#144) - [x] 20.1 the Census page, and every other enabled plugin page the script can open, starts with the "← Plugins · Dashboard" links **✅ script** - [ ] 20.2 🖐 by hand: on the phone, open each plugin's page from its row on the Plugins page and come back with the links ### 21. Regressions from 1.0.13: building your own image (#149) - [ ] 21.1 🖐 by hand, optional: build with `sudo make image MY_PI_PASSWORD_HASH='<your hash>'`; the build log says "login: custom hash" and never shows the hash, and the image's `pi` line in `/etc/shadow` carries it ### 22. Regressions from 1.0.12: remote-train 0.2.0 (#129) - [x] 22.1 the installed `remote-train` is 0.2.0 and provides the `remote-training` service **✅ script** - [x] 22.2 `remote-status.json` keeps the last contact and the last model (the agent's `.remote-staging` folder) **✅ script** - [ ] 22.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 - [ ] 22.4 🖐 by hand: restart the daemon; the remote-train card still shows the last model pulled ### 23. Regressions from 1.0.12: 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] 23.1 `census.py` and its two helper files are installed, root-owned 0644 **✅ script** - [x] 23.2 `census` declares `network`, `ui` and `web`, provides `census`, and keeps its defaults (`poll_minutes` 90, `tether_only` on, `daily_mb` 5) **✅ script** - [x] 23.3 enabling it through the settings channel needs the authorized-use acknowledgment **✅ script** - [x] 23.4 an enabled `census` is loaded, with no error **✅ script** - [x] 23.5 its state folder is 0700 and its files 0600 **✅ script** - [x] 23.6 it reported this hour or the last, within its data budget **✅ script** - [x] 23.7 it read the census today, and its own report is in what it read **✅ script** - [x] 23.8 the Census page shows what this device reports: release `1.0.14-beta.1`, and "the phone's Bluetooth tether only" **✅ script** - [ ] 23.9 🖐 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 - [ ] 23.10 🖐 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 ### 24. Regressions from 1.0.11: AngryOxide stopped cleanly (#126) - [x] 24.1 the capture unit signals only the launcher (`KillMode=mixed`), with a stop timeout **✅ script** - [x] 24.2 the running AngryOxide catches SIGINT (its handler is installed, and SIGINT isn't ignored) **✅ script** - [x] 24.3 with capture stopped: the last stop exited cleanly (`rc=0`) and left no `kismet-journal` in the run folder **✅ script** - [x] 24.4 every agent relaunch and run-folder roll since the update stopped AngryOxide cleanly (`rc=0`, none killed after the timeout) **✅ script** - [ ] 24.5 🖐 by hand: stop capture from the dashboard and start it again; it comes back running ### 25. Regressions from 1.0.11-beta.2 - [x] 25.1 the fair-contest code is installed (held-out scheme, contest rule, contest runner, evaluation) and the old promotion rule is gone **✅ script** - [x] 25.2 the agent publishes the contest-shaped tally and its last decision **✅ script** - [x] 25.3 each on-device training run since the update was followed by a contest in the agent's log **✅ script** - [x] 25.4 with `remote-train` enabled, the training host trains the agent's own algorithm **✅ script** - [x] 25.5 the `/agent` card shows "Model contests" (or "Earlier adoptions" before the first contest), not "Promotions" **✅ script** - [ ] 25.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] 25.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** - [ ] 25.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] 25.9 `/status.json` reports the release version (`/etc/kestrel/version`) with the package version beside it **✅ script** - [x] 25.10 the dashboard header reads "plugin host · v1.0.14-beta.1" **✅ script** ### 26. Regressions from 1.0.11-beta.1 - [x] 26.1 `/usr/bin/angryoxide --version` reports 0.9.4 **✅ script** - [x] 26.2 while capturing, the kismet database's newest row is within 60 s of the capture file's last write **✅ script** - [x] 26.3 while capturing, AngryOxide uses under 30% of RAM **✅ script** - [ ] 26.4 🖐 by hand, if not done on 1.0.11-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 - [x] 26.5 while capturing, `capture-status.json` has a radio count less than 2 minutes old **✅ script** - [x] 26.6 while capturing, the dashboard's Environment card shows a count, not *Unknown* **✅ script** - [x] 26.7 `eink.py` and its `_eink_*` helpers are gone; `eink-ws27` and its helpers are installed **✅ script** - [x] 26.8 `config.toml` has `[plugins.eink-ws27]` and no `[plugins.eink]`; no `eink` plugin is listed **✅ script** - [x] 26.9 `eink-ws27` isn't marked deprecated and declares its `variant` choices **✅ script** - [x] 26.10 an enabled `eink-ws27` loads with its Motion card and no deprecation in its health note **✅ script** - [x] 26.11 `ups-hat.py` is gone; `ups-ws.py` is installed **✅ script** - [x] 26.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] 26.13 an enabled `ups-ws` loads, its card shows a status, and its health note has no deprecation **✅ script** - [x] 26.14 `[capture.output] mode` is `per-ap` **✅ script** - [x] 26.15 Advanced settings shows `per-ap` as the mode's default **✅ script** - [ ] 26.16 the store's handshake files are named per access point (counted, never listed) - [x] 26.17 Captured networks opens on the by-access-point view **✅ script** - [x] 26.18 every package in the device's venv matches `kestrel-constraints.txt` **✅ script** - [x] 26.19 `pytest` is not installed on the device **✅ script** ### 27. Regressions from 1.0.10 - [x] 27.1 plugin-only modules are gone from the installed package **✅ script** - [x] 27.2 the five plugin libraries are installed, root-owned 0644 **✅ script** - [x] 27.3 each library loads at the API its plugins ask for **✅ script** - [x] 27.4 no plugin-library load errors in this boot's daemon journal **✅ script** - [x] 27.5 all nineteen shipped plugins are present and readable; no `_` file or plugin named `lib` is listed **✅ script** - [x] 27.6 the e-ink plugins declare their choices, and a value outside them is refused through the settings channel **✅ script** - [x] 27.7 `ntfy` and `telegram` declare `network` and only their own secrets **✅ script** - [x] 27.8 `eink-ws27` declares the HAT key options, local only **✅ script** - [x] 27.9 `ups-wsc`, `ups-wsd` and `ups-wse` are local only, provide `battery`, say untested, and keep their defaults **✅ script** - [ ] 27.10 each enabled `ups-wsc`/`ups-wsd`/`ups-wse` loads and its card shows a status - [x] 27.11 with both e-ink plugins enabled, one drives the panel and the other stands down, and none hits "pin … already in use" **✅ script** - [ ] 27.12 one e-ink card shows the panel, the other reads "used by" it - [x] 27.13 with no HAT, the journal says no panel is wired **✅ script** - [ ] 27.14 a generated `ntfy` topic file is private - [ ] 27.15 the alert queues read back - [x] 27.16 the dashboard certificate is made and private **✅ script** - [x] 27.17 `kestrel web fingerprint` matches the daemon's journal **✅ script** - [x] 27.18 HTTPS and the forwarder listen on each management address **✅ script** - [x] 27.19 loopback `/status.json` works with Basic credentials **✅ script** - [x] 27.20 responses carry `X-Content-Type-Options: nosniff` **✅ script** - [x] 27.21 Advanced settings lists `web.tls` and `web.tls_port` read-only **✅ script** - [x] 27.22 `web.tls` is refused through the settings channel (CLI only) **✅ script** - [x] 27.23 the login helper exits 0 after answering a refused request **✅ script** - [x] 27.24 the replaced `notify` and `hat-buttons` plugins are gone **✅ script** - [x] 27.25 the running daemon offers the row buttons **✅ script** - [x] 27.26 the map page: background, recovered colours, drag and zoom **✅ script** - [x] 27.27 Captured networks has its controls at the top **✅ script** ### 28. Closing - [ ] 28.1 🖐 by hand: cut 1.0.14 stable (or the next beta); this device is offered it and applies it in place
Author
Owner

The beta-check script for this beta is attached: beta-check-1.0.14-beta.1.zip (from #178). Run it from a computer, from a folder outside any git checkout:

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

Enter the dashboard password when asked; without it, the dashboard checks are skipped (2.5, 3.5 and 7.1 among them).

  • Switch the agent to a learned policy first (sudo kestrel agent policy learned) and leave it capturing for at least half a day: until then, most of sections 2-4 report SKIP or INFO.
  • Run it once with the census on and the tether up, and once more after stopping capture from the dashboard (for 24.3).
  • The checks for sections 2-7 (#174, #175) are new, so this is their first run on a device.

The report is private: keep it off this issue and hand it over for review.

The beta-check script for this beta is attached: [beta-check-1.0.14-beta.1.zip](https://git.3ntropy.io/attachments/a73f7c86-d5ac-403e-b2c4-80fd937bd511) (from #178). Run it from a computer, from a folder outside any git checkout: ``` unzip beta-check-1.0.14-beta.1.zip && cd beta-check-1.0.14-beta.1 EXPECT_VERSION=1.0.14-beta.1 OUT_DIR=<folder outside any git checkout> bash pull-beta-check.sh <user>@<host> [ssh-port] ``` Enter the dashboard password when asked; without it, the dashboard checks are skipped (2.5, 3.5 and 7.1 among them). - Switch the agent to a learned policy first (`sudo kestrel agent policy learned`) and leave it capturing for at least half a day: until then, most of sections 2-4 report SKIP or INFO. - Run it once with the census on and the tether up, and once more after stopping capture from the dashboard (for 24.3). - The checks for sections 2-7 (#174, #175) are new, so this is their first run on a device. The report is private: keep it off this issue and hand it over for review.
Author
Owner

An updated beta-check script is attached: beta-check-1.0.14-beta.1.zip (from #179). It replaces the first one, now named beta-check-1.0.14-beta.1-superseded.zip; use this one for the remaining run.

The only change is check 2.4: the agent logs an "explore: trying" line for every exploring window, so the check now compares the lines with the exploring windows in the episode log, counted from the agent's first journal line since the update. Item 2.4 above is reworded to match.

Run it the same way, from a folder outside any git checkout:

unzip beta-check-1.0.14-beta.1.zip && cd beta-check-1.0.14-beta.1
EXPECT_VERSION=1.0.14-beta.1 OUT_DIR=<folder outside any git checkout> bash pull-beta-check.sh <user>@<host> [ssh-port]
  • The run with capture stopped is done. This one is with capture on for a while (and the census on with the tether up), for 24.2, 26.2, 26.3, 26.5 and 26.6.
  • The new 2.4 hasn't run on a device yet, so this is its first real test.

The report is private: keep it off this issue and hand it over for review.

An updated beta-check script is attached: [beta-check-1.0.14-beta.1.zip](https://git.3ntropy.io/attachments/b5d9318a-4a2f-4aa6-b803-1a03ea742bbc) (from #179). It replaces the first one, now named `beta-check-1.0.14-beta.1-superseded.zip`; use this one for the remaining run. The only change is check 2.4: the agent logs an "explore: trying" line for every exploring window, so the check now compares the lines with the exploring windows in the episode log, counted from the agent's first journal line since the update. Item 2.4 above is reworded to match. Run it the same way, from a folder outside any git checkout: ``` unzip beta-check-1.0.14-beta.1.zip && cd beta-check-1.0.14-beta.1 EXPECT_VERSION=1.0.14-beta.1 OUT_DIR=<folder outside any git checkout> bash pull-beta-check.sh <user>@<host> [ssh-port] ``` - The run with capture stopped is done. This one is with capture on for a while (and the census on with the tether up), for 24.2, 26.2, 26.3, 26.5 and 26.6. - The new 2.4 hasn't run on a device yet, so this is its first real test. The report is private: keep it off this issue and hand it over for review.
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#176
No description provided.