Update the beta check for 1.0.14-beta.3 #185

Merged
aluminum-ice merged 1 commit from beta-check-1.0.14-beta.3 into main 2026-11-12 06:34:59 +00:00
Owner

What this PR does

Updates the on-device beta check for 1.0.14-beta.3 (checklist #184). The new section 2 checks capture adapter detection (#183). It runs the installed adapter check, auto-detection and the CLI's network-capability check against a stand-in iw/ethtool/plugins-ctl that print a long answer one line per write, in the work folder, so the real iw is never called. It then looks at this device's own USB adapter from /sys and the capture journal only. The new section 3 checks the guide's pwnagotchi credit (#182), both in the installed package and on the rendered /guide, printing yes/no facts only and no URLs. Beta 2's sections and everything before them move down two places, so every item id shifts by 2 from section 2 on, matching #184.

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: nothing shipped changes.
  • 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, the Release workflow (.forgejo/workflows/main.yml), a shipped config default (config.toml / default.conf), or a brand-new lib script.

Neither: tools/beta-check/ isn't shipped, so this doesn't affect the release kind.

Notes for review

  • Off-device checks, per tools/beta-check/README.md:
    • Section 2 against the repo's common.sh/kestrel.sh: 2.1-2.3 pass, and 2.4 is skipped (no adapter). Against beta 2's files, 2.1-2.3 fail as they should (found monitor mode 0 of 10 times).
    • Check 3.1 against a staged guide: it passes on the new guide and fails on beta 2's. 3.2's logic against the repo's renderer finds the credit before the first heading, with 3 links.
    • Config harness against staged copies of plugins-ctl, config-set, the plugins and config.toml: 13 of 13 pass, and with the root_only refusal removed from a copy, 20.2 fails. The staged config.toml is unchanged.
    • Redactor fed an invented report with the new lines: placeholder MACs, IPs, coordinates and the account name are masked; the new lines carry only driver names and yes/no facts.
  • The new checks haven't run on a device yet, so the first run on the test device is their first real test.

🤖 Generated with Claude Code

## What this PR does Updates the on-device beta check for 1.0.14-beta.3 (checklist #184). The new section 2 checks capture adapter detection (#183). It runs the installed adapter check, auto-detection and the CLI's network-capability check against a stand-in `iw`/`ethtool`/`plugins-ctl` that print a long answer one line per write, in the work folder, so the real `iw` is never called. It then looks at this device's own USB adapter from `/sys` and the capture journal only. The new section 3 checks the guide's pwnagotchi credit (#182), both in the installed package and on the rendered `/guide`, printing yes/no facts only and no URLs. Beta 2's sections and everything before them move down two places, so every item id shifts by 2 from section 2 on, matching #184. ## 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. - [ ] **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: nothing shipped changes. - [x] 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`, the Release workflow (`.forgejo/workflows/main.yml`), a shipped config default (`config.toml` / `default.conf`), or a brand-new lib script. Neither: `tools/beta-check/` isn't shipped, so this doesn't affect the release kind. ## Notes for review - Off-device checks, per `tools/beta-check/README.md`: - **Section 2** against the repo's `common.sh`/`kestrel.sh`: 2.1-2.3 pass, and 2.4 is skipped (no adapter). Against beta 2's files, 2.1-2.3 fail as they should (found monitor mode 0 of 10 times). - **Check 3.1** against a staged guide: it passes on the new guide and fails on beta 2's. **3.2's logic** against the repo's renderer finds the credit before the first heading, with 3 links. - **Config harness** against staged copies of `plugins-ctl`, `config-set`, the plugins and `config.toml`: 13 of 13 pass, and with the `root_only` refusal removed from a copy, 20.2 fails. The staged `config.toml` is unchanged. - **Redactor** fed an invented report with the new lines: placeholder MACs, IPs, coordinates and the account name are masked; the new lines carry only driver names and yes/no facts. - The new checks haven't run on a device yet, so the first run on the test device is their first real test. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Update the beta check for 1.0.14-beta.3
All checks were successful
Lint / lint (push) Successful in 29s
Test / test (push) Successful in 53s
Lint / lint (pull_request) Successful in 30s
Test / test (pull_request) Successful in 54s
c54a78097b
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
aluminum-ice deleted branch beta-check-1.0.14-beta.3 2026-11-12 06:34:59 +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!185
No description provided.