Make per-ap the default capture output mode #116
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/per-ap-default"
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
Makes
per-apthe default capture output mode, as planned indeferred.md: one<ssid>_<bssid>.hc22000per access point, so unrelated APs that reuse a network name (everyAndroidAP, POS or printer default) never share a file.[capture.output] mode = "per-ap"inconfig.toml, with its comment reordered.capture-collect.py(output_config),capture-launch.sh(thesinglecheck),web.py(the networks page's default view), andconfig_catalog.py(the Advanced page's default, withper-apfirst in the list, mirrored inplugins-ctl.pyfor the drift test).per-ssidandsinglework as before.docs/developer/capture-interface.md): the shipped layout's file names change. The layouts themselves don't; a consumer that reads every*.hc22000(the daemon, the agent and the shipped plugins all do) is unaffected. Also fixes the opening paragraph, which said the contract "stayed at version 3" across the AngryOxide v0.9.4 bump.capture-setup.md(which didn't listper-apat all),config-reference.md,working-with-captures.md,architecture.md, andGUIDE_MD. They note that devices flashed before 1.0.11 keepper-ssidafter an in-place update untilconfig.tomlis changed.per-ssidexplicitly, and a new test checks that an unset mode opens the by-access-point view.per-apthe default output mode" entry (and its now-empty section) fromdeferred.md.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,.forgejo/workflows/, a shipped config default (config.toml/default.conf), or a brand-new lib script.Notes for review
config.tomldefault changes;update_kind=autowon't see it, and 1.0.11-beta.1 is forced toreflashanyway.per-ssid(itsconfig.tomlholds it), and the code fallbacks only apply when the key is missing, which the shipped config never leaves it.test_gps_serial_reader_recovers_from_a_stalled_linkfails only on my machine, onmaintoo, and passes in CI.🤖 Generated with Claude Code