Send the board family with the census #177
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "census-board"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What this PR does
Census: the board family. Each device's daily census token now carries its Raspberry Pi family, read from
/proc/device-tree/model: Zero 2 W, Pi 3 family, Pi 4 family (4, 400, CM4), Pi 5 family (5, 500, CM5), another board, or unknown. Only the family code leaves the device, never the name, revision or serial number.marker(2) | board(1) | random(5)(_census_proto.make_token/token_board; the board byte isfamily(4) | ram(3) | spare(1), withramsent as 0). Nothing else in the 20-byte entry changes, so devices on 1.0.13 and earlier read, merge and count these reports unchanged, and it stayskestrel-census/1. Their own random tokens read as "not reported".Tallycounts boards and on-device contests per family from the tokens;history.jsonkeeps them per day, and older history loads without them.census-protocol.md(the token's layout, the family table, a reworded change rule and a History section),census-setup.md, the guide's census section, the report README and CLAUDE.md.deferred.mdgains Send a RAM size with the census board.phone-census-boardsfigure,since = "1.0.14".Checklist
make lint(ansible--syntax-check,yamllint,shellcheck --severity=error, and the real-data check). The Lint workflow runs this on the PR.make test(thekestrel_pipytest suite and the real-data check's tests). The Test workflow runs this on the PR..envfiles, 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.docs/, and the on-device operator guide (GUIDE_MDinkestrel_pi/userguide.py) where it applies.Release impact
kestrel_pipackage,plugins/*.py, systemd units, the journald drop-in, a lib script already in the engine'sLIB_SCRIPTS, or the CLI.config.txt/cmdline, kernel modules, the base image or partition size,builder/config.json,builder/config.yml, theMakefile, the Release workflow (.forgejo/workflows/main.yml), a shipped config default (config.toml/default.conf), or a brand-new lib script.Notes for review
Tallyboards and per-family contests (capped entries left out), a new day's token, a day kept from before the update, the page's Boards card and own-report line, history from before boards, and the report's tables.🤖 Generated with Claude Code