Update the beta check for 1.0.12-beta.1 #132

Merged
aluminum-ice merged 1 commit from beta-check-1.0.12-beta.1 into main 2026-11-01 01:57:07 +00:00
Owner

What this PR does

Updates tools/beta-check/beta-check-device.sh for 1.0.12-beta.1, an in-place update on 1.0.11. The CHECK ids match the beta's checklist issue.

  • Section 2, remote-train 0.2.0 (#129):
    • 2.1: the installed plugin is 0.2.0 and provides remote-training.
    • 2.2: remote-status.json keeps the last contact and last model. Read as the device user; ages and the algorithm only, never the host.
    • 2.3 and 2.4: by hand (an unreachable host on the card; the card after a daemon restart).
  • Section 3, the census plugin (#130, #131):
    • 3.1: the plugin and its two helper files are installed, root-owned 0644.
    • 3.2: its declarations and defaults (poll_minutes 90, tether_only on).
    • 3.3: enabling it through the settings channel needs the acknowledgment, tested on the throwaway config.
    • 3.4: an enabled census loads with no error.
    • 3.5: its state folder is 0700 and its files 0600.
    • 3.6: it reported this hour or the last, and the data used today.
    • 3.7: it read the census today and its own entry is in that read (#131).
    • 3.8: with tether_only, the daemon has a UDP socket bound to bnep0. Counted from ss, no addresses printed.
    • 3.9: the Census page shows this device's release and the tether line.
    • 3.10 and 3.11: by hand (the tether off and on; the desktop census report).
  • Sections 4–7: 1.0.11's sections 2–5 as regressions, renumbered. The closing step is now 8.1.
  • 7.5: the plugin count goes from eighteen to nineteen, with census added to the expected set.

The census checks print only counts, hours, modes, ages and markers: never a token, slot, node address or router address.

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.

The beta-check scripts aren't shipped, so this doesn't affect the release kind.

Notes for review

Checked off the device, per tools/beta-check/README.md:

  • Config harness: run against staged copies of plugins-ctl, config-set, the plugins and the shipped config.toml, never the repo's own files. 3.2 and 3.3 pass. A copy of plugins-ctl weakened to skip the network acknowledgment fails 3.3, and a census with its poll_minutes default changed fails 3.2.
  • State reader (3.5–3.7): run on a state folder written by the plugin's own worker against the test suite's fake DHT. It passes. It fails on a 0644 file, and on a read without the device's own entry. It reports INFO when there's no folder yet.
  • Page markers (3.9): checked against the plugin's rendered page.
  • 3.8's ss pattern: checked on a desktop with a socket bound to lo.
  • Redactor: needs no new pattern; nothing new prints a host, address or token.

These checks ran off the device only, so the first run on a device is still the script's first real test.

🤖 Generated with Claude Code

## What this PR does Updates `tools/beta-check/beta-check-device.sh` for **1.0.12-beta.1**, an in-place update on 1.0.11. The CHECK ids match the beta's checklist issue. - **Section 2, remote-train 0.2.0 (#129):** - 2.1: the installed plugin is 0.2.0 and provides `remote-training`. - 2.2: `remote-status.json` keeps the last contact and last model. Read as the device user; ages and the algorithm only, never the host. - 2.3 and 2.4: by hand (an unreachable host on the card; the card after a daemon restart). - **Section 3, the census plugin (#130, #131):** - 3.1: the plugin and its two helper files are installed, root-owned 0644. - 3.2: its declarations and defaults (`poll_minutes` 90, `tether_only` on). - 3.3: enabling it through the settings channel needs the acknowledgment, tested on the throwaway config. - 3.4: an enabled census loads with no error. - 3.5: its state folder is 0700 and its files 0600. - 3.6: it reported this hour or the last, and the data used today. - 3.7: it read the census today and its own entry is in that read (#131). - 3.8: with `tether_only`, the daemon has a UDP socket bound to `bnep0`. Counted from `ss`, no addresses printed. - 3.9: the Census page shows this device's release and the tether line. - 3.10 and 3.11: by hand (the tether off and on; the desktop census report). - **Sections 4–7:** 1.0.11's sections 2–5 as regressions, renumbered. The closing step is now 8.1. - **7.5:** the plugin count goes from eighteen to nineteen, with `census` added to the expected set. The census checks print only counts, hours, modes, ages and markers: never a token, slot, node address or router address. ## 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. The beta-check scripts aren't shipped, so this doesn't affect the release kind. ## Notes for review Checked off the device, per `tools/beta-check/README.md`: - **Config harness:** run against staged copies of `plugins-ctl`, `config-set`, the plugins and the shipped `config.toml`, never the repo's own files. 3.2 and 3.3 pass. A copy of `plugins-ctl` weakened to skip the network acknowledgment fails 3.3, and a census with its `poll_minutes` default changed fails 3.2. - **State reader (3.5–3.7):** run on a state folder written by the plugin's own worker against the test suite's fake DHT. It passes. It fails on a 0644 file, and on a read without the device's own entry. It reports INFO when there's no folder yet. - **Page markers (3.9):** checked against the plugin's rendered page. - **3.8's `ss` pattern:** checked on a desktop with a socket bound to `lo`. - **Redactor:** needs no new pattern; nothing new prints a host, address or token. These checks ran off the device only, so the first run on a device is still the script's first real test. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Update the beta check for 1.0.12-beta.1
All checks were successful
Lint / lint (push) Successful in 32s
Test / test (push) Successful in 29s
Lint / lint (pull_request) Successful in 32s
Test / test (pull_request) Successful in 27s
9a7d63fbfc
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
aluminum-ice deleted branch beta-check-1.0.12-beta.1 2026-11-01 01:57:07 +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!132
No description provided.