Update the beta check for 1.0.11-beta.1 #118

Merged
aluminum-ice merged 1 commit from beta-check/1.0.11 into main 2026-10-31 05:57:31 +00:00
Owner

What this PR does

Updates tools/beta-check/beta-check-device.sh for 1.0.11-beta.1, a reflash beta built against 1.0.10. The generic parts are unchanged: the header and helpers, the optional dashboard login, the throwaway-config harness, the loopback dashboard read and the redactor. The per-release checks are new, and their CHECK ids match the checklist issue I'll open once the beta is published:

  1. Flash this beta: version, a fresh flash (no in-place update recorded), no failed units, no tracebacks; the updates plugin, when enabled, offers nothing newer.
  2. AngryOxide v0.9.4 (#111):
    • the stock binary reports 0.9.4, and a test build set through a drop-in is noted;
    • while capturing, the kismet database's newest row stays within 60 s of the capture file's last write, measured the way pull-health.sh does, so a quiet spot isn't read as lag;
    • AngryOxide stays under 30% of RAM;
    • with capture off, no kismet-journal is left behind.
  3. Environment from the capture file (#108): capture-status.json has a fresh radio count, and the dashboard's Environment card has one while capturing.
  4. pull-health.sh (#107, #110): installed read-only; the two scripts it replaced are gone.
  5. eink removed (#112): its plugin and helpers are gone; eink-ws27 is installed, its table is in config.toml, and nothing calls it deprecated.
  6. ups-hat removed (#113): the same for ups-ws.
  7. per-ap by default (#116):
    • the mode, and the Advanced page's default;
    • how many store files follow each layout (counts only, never a name);
    • Captured networks opens on the by-access-point view.
  8. Pinned packages (#115): every venv package matches kestrel-constraints.txt; pytest isn't installed.
  9. Regressions from 1.0.10: the cheap checks, renumbered, with eink and ups-hat dropped and twenty plugins now eighteen.

Items the script can't judge (the flash itself, an hour somewhere busy, the HATs, the agent, the stable release as the closing step) are MANUAL and listed at the end of the report.

Checklist

  • Lint passes — make lint (ansible --syntax-check, yamllint, shellcheck --severity=error, and the real-data check). The Lint workflow runs this on the PR.
  • Tests pass — make test (the kestrel_pi pytest suite and the real-data check's tests). The Test workflow runs this on the PR.
  • Nothing real: no secrets, no personal information, no real data. This is a public repository. The diff contains no real account passwords or hashes, Wi-Fi passphrases, private keys, API tokens, .env files, real names, personal emails, device serials, and no real captured or device data: SSIDs, MAC addresses, GPS coordinates, capture files, diagnostics bundles, logs, or screenshots of a real device — placeholders only. The real-data check catches MACs, emails, keys and capture files; real SSIDs, coordinates and screenshots are on you.
  • Consent gates intact. Capture and network plugins still ship disabled, enabling them still takes the authorized-use acknowledgment (never pre-ticked or given by code), and the capture whitelist is still enforced.
  • Docs updated in the same PR, if this changes something an operator sees or configures: the README package table, the relevant page under docs/, and the on-device operator guide (GUIDE_MD in kestrel_pi/userguide.py) where it applies.
  • Commit messages are short and imperative.

Release impact

  • App-layer-safe — changes only files the in-place update engine carries: the kestrel_pi package, plugins/*.py, systemd units, the journald drop-in, a lib script already in the engine's LIB_SCRIPTS, or the CLI.
  • Reflash-class — touches a build input the engine does not carry onto a running device: apt or pip packages, boot options / config.txt / cmdline, kernel modules, the base image or partition size, builder/config.json, builder/config.yml, the Makefile, .forgejo/workflows/, a shipped config default (config.toml / default.conf), or a brand-new lib script.

Notes for review

  • The scripts aren't shipped in the image, so this doesn't change the release kind (tools/ only).
  • The README's rules hold. Read-only throughout:
    • no nmcli/bluetoothctl/ip/rfkill/iw, and no service started or stopped;
    • config.toml is only ever written as a checksummed throwaway copy;
    • capture data is counts and times only (one read-only MAX(ts_sec) query, file-name counts by layout), never a hashline, name or address;
    • pi-owned files are read as the device user; the root-owned run folder is read as root.
  • Checked off the device:
    • make lint (shellcheck and the real-data check on both scripts);
    • the config harness against staged copies of 1.0.11's plugins-ctl, plugins and config.toml: all checks pass and the staged config is unchanged;
    • the harness against a weakened copy (a planted eink.py and [plugins.eink] table, and a plugins-ctl that accepts everything): 5.2, 9.6 and 9.22 fail, and 9.5 names the extra plugin;
    • the redactor on an invented report: placeholder MACs, IPv4/IPv6, coordinates, a fingerprint, a store file name with a space, and planted wpa-sec/ntfy secrets and a backup host are all masked, and this beta's new lines pass through unchanged.
  • The first run on a real device is still the scripts' first real test.

🤖 Generated with Claude Code

## What this PR does Updates `tools/beta-check/beta-check-device.sh` for **1.0.11-beta.1**, a reflash beta built against 1.0.10. The generic parts are unchanged: the header and helpers, the optional dashboard login, the throwaway-config harness, the loopback dashboard read and the redactor. The per-release checks are new, and their CHECK ids match the checklist issue I'll open once the beta is published: 1. **Flash this beta:** version, a fresh flash (no in-place update recorded), no failed units, no tracebacks; the `updates` plugin, when enabled, offers nothing newer. 2. **AngryOxide v0.9.4 (#111):** - the stock binary reports 0.9.4, and a test build set through a drop-in is noted; - while capturing, the kismet database's newest row stays within 60 s of the capture file's last write, measured the way `pull-health.sh` does, so a quiet spot isn't read as lag; - AngryOxide stays under 30% of RAM; - with capture off, no `kismet-journal` is left behind. 3. **Environment from the capture file (#108):** `capture-status.json` has a fresh radio count, and the dashboard's Environment card has one while capturing. 4. **`pull-health.sh` (#107, #110):** installed read-only; the two scripts it replaced are gone. 5. **`eink` removed (#112):** its plugin and helpers are gone; `eink-ws27` is installed, its table is in `config.toml`, and nothing calls it deprecated. 6. **`ups-hat` removed (#113):** the same for `ups-ws`. 7. **`per-ap` by default (#116):** - the mode, and the Advanced page's default; - how many store files follow each layout (counts only, never a name); - Captured networks opens on the by-access-point view. 8. **Pinned packages (#115):** every venv package matches `kestrel-constraints.txt`; `pytest` isn't installed. 9. **Regressions from 1.0.10:** the cheap checks, renumbered, with `eink` and `ups-hat` dropped and twenty plugins now eighteen. Items the script can't judge (the flash itself, an hour somewhere busy, the HATs, the agent, the stable release as the closing step) are `MANUAL` and listed at the end of the report. ## Checklist - [x] **Lint passes** — `make lint` (ansible `--syntax-check`, `yamllint`, `shellcheck --severity=error`, and the real-data check). The **Lint** workflow runs this on the PR. - [x] **Tests pass** — `make test` (the `kestrel_pi` pytest suite and the real-data check's tests). The **Test** workflow runs this on the PR. - [x] **Nothing real: no secrets, no personal information, no real data.** This is a public repository. The diff contains no real account passwords or hashes, Wi-Fi passphrases, private keys, API tokens, `.env` files, real names, personal emails, device serials, and no real captured or device data: SSIDs, MAC addresses, GPS coordinates, capture files, diagnostics bundles, logs, or screenshots of a real device — placeholders only. The real-data check catches MACs, emails, keys and capture files; real SSIDs, coordinates and screenshots are on you. - [x] **Consent gates intact.** Capture and network plugins still ship disabled, enabling them still takes the authorized-use acknowledgment (never pre-ticked or given by code), and the capture whitelist is still enforced. - [x] **Docs updated in the same PR**, if this changes something an operator sees or configures: the README package table, the relevant page under `docs/`, and the on-device operator guide (`GUIDE_MD` in `kestrel_pi/userguide.py`) where it applies. - [x] Commit messages are short and imperative. ## Release impact - [x] **App-layer-safe** — changes only files the in-place update engine carries: the `kestrel_pi` package, `plugins/*.py`, systemd units, the journald drop-in, a lib script already in the engine's `LIB_SCRIPTS`, or the CLI. - [ ] **Reflash-class** — touches a build input the engine does not carry onto a running device: apt or pip packages, boot options / `config.txt` / `cmdline`, kernel modules, the base image or partition size, `builder/config.json`, `builder/config.yml`, the `Makefile`, `.forgejo/workflows/`, a shipped config default (`config.toml` / `default.conf`), or a brand-new lib script. ## Notes for review - The scripts aren't shipped in the image, so this doesn't change the release kind (`tools/` only). - **The README's rules hold.** Read-only throughout: - no `nmcli`/`bluetoothctl`/`ip`/`rfkill`/`iw`, and no service started or stopped; - `config.toml` is only ever written as a checksummed throwaway copy; - capture data is counts and times only (one read-only `MAX(ts_sec)` query, file-name counts by layout), never a hashline, name or address; - pi-owned files are read as the device user; the root-owned run folder is read as root. - **Checked off the device:** - `make lint` (shellcheck and the real-data check on both scripts); - the config harness against staged copies of 1.0.11's `plugins-ctl`, plugins and `config.toml`: all checks pass and the staged config is unchanged; - the harness against a weakened copy (a planted `eink.py` and `[plugins.eink]` table, and a `plugins-ctl` that accepts everything): 5.2, 9.6 and 9.22 fail, and 9.5 names the extra plugin; - the redactor on an invented report: placeholder MACs, IPv4/IPv6, coordinates, a fingerprint, a store file name with a space, and planted `wpa-sec`/`ntfy` secrets and a backup host are all masked, and this beta's new lines pass through unchanged. - The first run on a real device is still the scripts' first real test. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Update the beta check for 1.0.11-beta.1
All checks were successful
Test / test (pull_request) Successful in 24s
Lint / lint (pull_request) Successful in 33s
Test / test (push) Successful in 23s
Lint / lint (push) Successful in 33s
867c1faa98
Check this reflash beta's changes: a fresh flash, AngryOxide v0.9.4 and its
database lag, the Environment count from the capture file, pull-health.sh,
eink and ups-hat gone, per-ap by default and the pinned venv packages.
Keep 1.0.10's cheap checks as regressions, without the removed plugins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
aluminum-ice deleted branch beta-check/1.0.11 2026-10-31 05:57:31 +00:00
Sign in to join this conversation.
No reviewers
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!118
No description provided.