Files
alkane-toolkit/docs/aftermarket-parity-roadmap.md
T
noahandClaude Opus 4.8 3f55be4820
build-test-release / release (push) Successful in 6m3s
Round 17 A (part 1): committed write CLI (G1) + best-share reads (G9) + parity roadmap
Executing the aftermarket config+scan parity plan (docs/aftermarket-parity-roadmap.md,
from the ultracode writer/adversary workflow). This is Round A's foundation + first cheap win.

G1 - miner_probe is now a committed config+scan CLI, not a local-only diagnostic. Added
capability-gated write verbs: `light <ip> <on|off>`, `pause`, `resume`, `restart` (alongside
the existing setpl/setpools/led), a READ vs WRITE usage banner warning that write verbs mutate
(use the test-bed miners, not production), and best_share/session_best_share columns in `scan`.
Verified: `light on`/`light off` on a LuxOS corpus unit -> Ok(true) (reversible).

G9 - implement GetBestShare/GetSessionBestShare (were empty impls feeding two dead columns):
Braiins v26_04 reads miner/stats -> /miner_stats/best_share; LuxMiner v1 reads summary ->
/SUMMARY/0/Best Share + Best Session Share. Both reuse already-collected responses (no extra
calls). asic-rs patch 0013. Verified live read-only: BOS 10.4.1.83 = 130601978 (no session on
BOS); LuxOS 10.4.1.60 = 638881749/638881749, 10.4.1.67 = 497802665/497802665 -- exact API match.
(WhatsMiner stock summary exposes no best-share on the tested units; deferred. The roadmap's BOS
source "miner_stats" was a typo for the real "miner/stats" endpoint.)

Also commits the parity roadmap (docs/) as the plan of record for rounds A-F.
Round A remainder (G8 constraints reads, G13 LuxOS pool-op privileged fix, G14 telemetry
enrichment) follows; G13 needs a password-set LuxOS unit to fully verify.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
2026-09-21 22:36:59 -06:00

37 KiB

Aftermarket Toolkit Config + Scan Parity Roadmap

Scope: configuration and scanning/telemetry features only. Firmware flashing/installation flows are out of scope except where a toolkit exposes config as part of them. This is a plan document only; no repo source was edited and no live miner was mutated in producing it.

Repo: /home/noah/Ultron/projects/miner-firmware/alkane-toolkit

Sources merged: baseline audit of alkane-toolkit today, plus gap-closed per-toolkit specs for Braiins toolbox + Braiins OS REST API, LuxOS installer + luxminer :4028 JSON API, ePIC rig-runner + PowerPlay/UMC OS REST API (:4028), and WhatsMiner (btminer :4028 read + :8889 / 4028-token write path, WhatsMinerTool feature surface).


1. Executive summary

Our toolkit already covers the universal fleet-management basics on every make: discovery and make/model/firmware identification, core live telemetry (hashrate, expected hashrate, wattage, efficiency, temps, fans, pools, messages, uptime, locate light), and seven capability-gated write actions (fault light, pause, resume, restart, set power limit, set tuning percent, configure pools). Those write actions are wired into the GUI right-click menu but are almost entirely absent from the committed CLI (miner_probe at git HEAD has only scan; setpl / led / setpools / msgs / hashrate are uncommitted local-only additions).

Where we fall short of the aftermarket toolkits is the deep configuration surface each firmware exposes: structured autotuning (power/hashrate target, named presets, per-board overclock), cooling/thermal configuration, fan control, DPS / perpetual-tune / ATM auto-scaling, network config, timezone, change-password, factory reset, advanced keyed settings, and the richer scan reads that feed those dialogs (constraints/limits tables, PSU info, per-chip health/frequency, best-share, network config read). A recurring pattern: the asic-rs backend already implements a setter (change_password, factory_reset, set_timezone_config, set_temperature_config, set scaling/tuning config on some makes) but the GUI and CLI never surface it, so the gap is pure UI/CLI wiring rather than new protocol work. The other recurring pattern is a scan read that is fetched but discarded (BOS fan duty, per-pool extended stats, Lux per-chip health detail).

Headline parity (have = 1.0, partial = 0.5, missing = 0):

  • Antminer (union across BOS / LuxOS / VNish / ePIC / stock, 58 distinct features): have 15, partial 15, missing 28 -> weighted parity approximately 39%.
  • WhatsMiner (WhatsMinerTool + btminer API, 30 distinct features): have 12, partial 5, missing 13 -> weighted parity approximately 48%.

Biggest gaps, both makes: structured tuning (targets/presets/per-board), cooling + fan config, DPS/ATM/perpetual-tune auto-scaling, and the CLI being effectively read-only today.

Top ~12 highest-priority gaps (detail in section 3):

  1. Commit the full write CLI in miner_probe (light/pause/resume/restart/pools/power + new config verbs). CLI is read-only today; every UI action lacks a committed command.
  2. Structured tuning: power target + hashrate target + tuner-mode + reset (BOS; stock Antminer / WhatsMiner mining-mode; unifies with per-make backends).
  3. Named preset / profile select (LuxOS 21 profiles, VNish presets, ePIC tune-presets) via SupportsPresets + SupportsTuningConfig::Preset.
  4. Cooling configuration (BOS cooling modes/temps/fan-pause; LuxOS tempctrl+fanctrl; ePIC fanspeed/shutdowntemp/critical-temp) - largest single missed config family.
  5. Manual fan control (LuxOS fanset, ePIC fanspeed, antminer/epic backend SupportsFanConfig).
  6. Auto-scaling: BOS DPS + LuxOS ATM + ePIC PerpetualTune (needs a dedicated auto-tuning config trait; ScalingConfig cannot carry it).
  7. Per-board voltage/frequency override (LuxOS voltageset/frequencyset, ePIC /tune/clock + /tune/voltage) via TuningTarget::Manual.
  8. Timezone config (BOS/VNish/ePIC backends complete; UI/CLI missing) - pure wiring.
  9. Change password (BOS/VNish/antminer/ePIC backends complete; UI/CLI missing) - pure wiring; add for WhatsMiner (backend gap).
  10. Factory reset (BOS/VNish/antminer backends complete; UI/CLI missing) + WhatsMiner restore_factory backend gap.
  11. Best-share + session-best-share scan (two columns exist, no backend fills them; BOS/LuxOS/WhatsMiner summary all carry the value).
  12. Network config read + write (all makes) and PSU-info scan (BOS/ePIC/WhatsMiner) - new core structs/traits.

File written: /tmp/claude-1000/-home-noah/312805ea-e1aa-4f86-9144-632f3a9c1252/scratchpad/aftermarket-parity-roadmap.md


2. Parity matrices

Legend: our_support = have / partial / missing. UI = exposed in GUI right-click menu today. CLI = exposed in committed miner_probe today (uncommitted local-only additions are marked local). Toolkit columns: B = Braiins toolbox/BOS, L = LuxOS/luxminer, V = VNish, E = ePIC/ PowerPlay, S = stock Antminer. A dot means that toolkit exposes the feature.

2a. Antminer parity matrix

Category C = config, T = telemetry/scan.

# Feature Cat B L V E S our_support asic-rs trait UI CLI
1 Discovery + make/model/fw ID T . . . . . have MinerFactory + Validate + GetDeviceInfo yes scan
2 Device identity (mac/serial/host/ctrl-board/versions/PIC) T . . . . . have GetMAC/GetHostname/GetSerialNumber/GetControlBoardVersion/GetApiVersion/GetFirmwareVersion yes scan
3 Live telemetry core (hr/exp-hr/watts/eff/temps/fans/state/uptime/light) T . . . . . have GetHashrate/GetExpectedHashrate/GetWattage/GetHashboards/GetFans/GetOperatingState/GetIsMining/GetUptime/GetLightFlashing yes no
4 Per-hashboard telemetry (board_name/chip_type/multi-window) T . . . . . partial GetHashboards yes no
5 Fan RPM + commanded duty ratio T . . . . . partial GetFans yes no
6 Pool list + extended per-pool share stats T . . . . . partial GetPools yes no
7 Best share + session best share T . . . . . missing GetBestShare/GetSessionBestShare (empty impls) no no
8 PSU info (model/hw/fw/voltage range) T . . . . missing none (new GetPsuInfo) no no
9 Fluid / immersion temperature T . . . partial GetFluidTemperature (BOS empty; VNish impl) yes no
10 Tuning target read (configured + scaled) T . . . . partial GetTuningTarget/GetScaledTuningTarget yes no
11 Tuner / power / hashrate constraints read T . . . partial GetTuningCapabilities (BOS have; Lux limits missing) yes no
12 Cooling constraints read T . . . missing none (new GetCoolingCapabilities) no no
13 DPS / hashboard / scaling constraints read T . . . missing none (new) no no
14 Advanced keyed settings read (22 keys) T . missing none (new AdvancedSettings) no no
15 Network config read (ip/mask/gw/dns/proto) T . . . . partial partial (GetMAC/GetHostname drop the rest) no no
16 Diagnostics data-collection archive T . . partial ReadLogs (compose) no no
17 Firmware update check (read only) T . . . . have UpgradeFirmware::check_firmware_update no no
18 Structured messages / events / appeals T . . . . . have GetMessages yes no
19 Per-chip health detail (score/errors) T . partial DataField::Chips (reduced) no no
20 Per-chip frequency array T . missing none (frequencyget unused) no no
21 Temp-control targets read T . . . . missing none (Lux tempctrl / ePIC shutdowntemp unmapped) no no
22 Limits / bounds read T . . missing none (Lux limits / ePIC capabilities partial) no no
23 Operating-state / paused (derived) T . . . . partial GetOperatingState (Lux missing/derivable) yes no
24 Perpetual-tune / ATM / DPS status read T . . . missing none (ePIC perpetualtune / Lux atm unmapped) no no
25 Scheduler / idle-periods read T . missing none no no
26 Fault / locate light on-off C . . . . . have SetFaultLight yes local
27 Pause mining C . . . . . have Pause yes no
28 Resume mining C . . . . . have Resume yes no
29 Restart / reboot C . . . . . have Restart yes no
30 Configure pools (write) C . . . . . have SupportsPoolsConfig yes local
31 Set power limit / power target (watts) C . . . . . have SetPowerLimit (VNish masked) yes local
32 Set tuning percent / throttle C . have SetTuningPercent yes no
33 Set hashrate target + tuner-mode + reset + steps C . . . . missing SupportsTuningConfig (BOS false) no no
34 Named preset / profile select C . . . partial SupportsPresets + SupportsTuningConfig::Preset no no
35 Custom profile create / remove C . missing none (profilenew/profilerem) no no
36 Per-board voltage + frequency override C . . . missing SupportsTuningConfig::Manual (unwired) no no
37 Cooling config (mode/temps/fan-pause/min-fans/range) C . . . . missing partial (SupportsTemperatureConfig/FanConfig defaults) no no
38 Manual fan control C . . . missing SupportsFanConfig (antminer/epic true; unwired UI) no no
39 Temperature / thermal-limit config C . . . . partial SupportsTemperatureConfig (VNish only) no no
40 DPS / auto-scaling config C . . missing SupportsScalingConfig (epic true; BOS false) no no
41 ATM auto-thermal-tuning (min/max profile + windows) C . missing none (new SupportsAutoTuningConfig) no no
42 Perpetual-tune config (algo + target) C . missing none (new; overlaps auto-tuning trait) no no
43 Timezone config C . . . partial SupportsTimezoneConfig (backends done, UI/CLI missing) no no
44 Change password C . . . partial ChangePassword (backends done, UI/CLI missing) no no
45 Factory reset C . . partial FactoryReset (backends done, UI/CLI missing) no no
46 Network config write (dhcp/static) C . . . . missing none (new SupportsNetworkConfig) no no
47 Advanced keyed settings write C . missing none (new AdvancedSettings) no no
48 Remove tuned profiles (force retune) C . missing none no no
49 Stock miner mode (high/normal/low/sleep) C . . missing SupportsTuningConfig::MiningMode (stock impl, unwired) no no
50 Chip health check trigger C . missing none (healthchipset) no no
51 Reset miner (process restart, no reboot) C . missing none (reset_miner unwired) no no
52 Kill (hard-stop) C . missing none no no
53 Hostname set C . . . . missing none (mostly install-time on Lux) no no
54 Coin type select C . missing none (/coin) no no
55 Board enable / disable C . missing none (/boardenable) no no
56 Scheduler / idle-periods write C . missing none (/scheduler) no no
57 Shutdown-temp / critical-temp / overdrive / idle-on-loss C . missing none (ePIC misc setters) no no
58 Custom contract apply (Braiins pool) C . missing none (niche) no no

Antminer totals: have 15, partial 15, missing 28 (of 58).

2b. WhatsMiner parity matrix

Toolkit column W = WhatsMinerTool / btminer API (:4028 read + :8889 or 4028-token write). btminer notes: :4028 is anonymous read-only; privileged writes go to :8889 (AES-ECB + md5-crypt token) or 4028 with host_sign token. Confirmed writes on stock BTMiner: update_pools, restart_btminer, set_power_pct, reboot, poweroff, update_network, update_password, restore_factory, restore_dhcp, update_power_mode, update_coin_type. Confirmed NOT on stock 4028: set_freq, set_voltage, set_led, adjust_power (LED/per-board tuning live in the ~40% uncharted :8889 space).

# Feature Cat W our_support asic-rs trait UI CLI
1 Discovery + make/model/fw ID T . have MinerFactory + Validate yes scan
2 Device identity (mac/serial/model/control-board) T . have GetMAC/GetSerialNumber/GetDeviceInfo yes scan
3 Live telemetry core (hr/exp/watts/eff/temps/fans/uptime) T . have GetHashrate/GetWattage/GetHashboards/GetFans/GetUptime yes no
4 Ambient / environment temperature T . have GetFluidTemperature (ambient) yes no
5 PSU fan RPM T . have GetFans (PSU fan, WhatsMiner-only) yes no
6 Pool list + accepted/rejected T . have GetPools yes no
7 Best share + session best share T . missing GetBestShare/GetSessionBestShare (empty) no no
8 PSU info (get_psu: model/vout/true-power) T . missing none (new GetPsuInfo) no no
9 Error codes / health messages (get_error_code) T . have GetMessages yes no
10 Operating state / paused T . missing GetOperatingState (not populated for WM) no no
11 Power-mode read (high/normal/low) T . missing none no no
12 Per-board detail (freq/chips/serial/voltage) T . partial GetHashboards yes no
13 Fault / locate light on-off C . have SetFaultLight (supports=true) yes local
14 Restart / reboot C . have Restart yes no
15 Pause mining C . have Pause yes no
16 Resume mining C . have Resume yes no
17 Configure pools (write, 3 slots) C . have SupportsPoolsConfig yes local
18 Set power limit (watts) C . partial SetPowerLimit (v1/v2/v3; error-swallow bug r15 #4) yes local
19 Power-mode set (high/normal/low/sleep) C . partial SupportsTuningConfig (v2/v3 true; MiningMode unwired) no no
20 Set power percent C . missing none (set_power_pct; SetTuningPercent false for WM) no no
21 Poweroff device C . missing none (distinct from pause) no no
22 Change password (update_password) C . missing ChangePassword (WM supports=false) no no
23 Network config (update_network / restore_dhcp) C . missing none (new SupportsNetworkConfig) no no
24 Factory reset (restore_factory) C . missing FactoryReset (WM supports=false) no no
25 Coin type select (update_coin_type) C . missing none no no
26 Timezone / NTP config C . missing SupportsTimezoneConfig (WM false) no no
27 Fan / cooling config C . missing SupportsFanConfig (WM false) no no
28 Per-board freq / voltage tuning C . missing none (not on stock 4028; :8889 uncharted) no no
29 Structured tuning config (target) C . partial SupportsTuningConfig (v2/v3 true; unwired UI/CLI) no no
30 Restore miner setting (revert config) C . missing none no no

WhatsMiner totals: have 12, partial 5, missing 13 (of 30).


3. Prioritized gap list (missing + partial)

Each gap gives: asic-rs backend work, ui.rs ConfigAction / action wiring, miner_probe/CLI surface, clean-integration note, hardware verification plan (IP/model + read-back + restore), and priority. Standard UI wiring for any NEW capability (a compile break otherwise), applied throughout below: (1) add bool to struct MinerCaps (model.rs); (2) add to MinerCaps::intersect and any_control(); (3) set it in the caps literal in scan.rs to_row from the matching supports_*(); (4) add a ConfigAction variant with label()/progress_label(); (5) add an apply_action arm calling the &dyn Miner trait method; (6) add ID_CTX_* const + a gated menu.menu_append block + a handler arm in ui.rs; (7) add a miner_probe subcommand. Any NEW setter trait must join the SupportsConfigs supertrait bundle (traits/miner.rs) and get a ConfigField variant (config/collector.rs) or it will not dispatch on &dyn Miner.

HARD constraint reflected in every verification plan: config-WRITE tests run on a bench/lab unit or a unit pulled from production during a maintenance window, NEVER on the live production units that are read-only (BOS .83/.27, LuxOS .60/.67, ePIC .6/.10, the WhatsMiner fleet). Read paths verify against those live units.

PRIORITY: HIGH

G1. Commit a full write CLI in miner_probe (all makes).

  • Backend: none (reuse existing traits).
  • CLI: promote uncommitted local-only modes into committed subcommands and add config verbs: light <ip> <on|off>, pause, resume, restart, setpools <ip> <url> <user> <pass>, config power <ip> <watts> (was setpl), plus every new config verb below. Each does arg-parse + capability gate + constraint clamp before the call.
  • Integration: the CLI mirrors the GUI ConfigAction set one-to-one; a shared apply layer keeps them from diverging.
  • HW verify: read-only verbs vs live units (miner_probe scan, hashrate). LED is reversible even on production (does not disturb hashing): set on -> read state true -> set off -> read false. Disruptive verbs (pause/restart/power) on bench only.
  • Priority: HIGH (unblocks scripted fleet ops; every UI action is CLI-invisible today).

G2. Structured tuning: power target + hashrate target + tuner-mode + reset + relative steps.

  • Backend: implement SupportsTuningConfig for BraiinsV2604 (set_tuning_config: HashRate -> PUT performance/hashrate-target, Power -> reuse SetPowerLimit path; switching target type flips tuner_mode); flip supports_tuning_config -> true. Stock Antminer v2020/v2023_07 already map TuningTarget::MiningMode Low/Normal/High (unwired). WhatsMiner v2/v3 already true.
  • UI: ConfigAction::HashrateTarget(f64) (or unified TuningTarget action) + MinerCaps.tuning_config gate + dialog offering power|hashrate|default clamped to tuner_constraints.
  • CLI: config hashrate <ip> <ths>, config tuner <ip> default, config mode <ip> <high|normal|low>.
  • Integration: one generic tuning action routes to per-make backends; clamp via GetTuningCapabilities.
  • HW verify: bench BOS S19J Pro (hashrate_target 70.75-252.57 TH/s) - record tuner_mode+target, set, read back configuration/miner + tuner-state, restore original. NEVER on .83/.27.
  • Priority: HIGH.

G3. Named preset / profile select.

  • Backend: LuxOS - impl SupportsPresets::get_presets from profiles (21 dynamic steps, list live never hardcoded) and SupportsTuningConfig::set_tuning_config(Preset(name)) -> rpc.profileset (flip privileged=true; see G16). VNish get_presets already true. ePIC - map Tune Presets from /capabilities and POST /tune / POST /perpetualtune.
  • UI: MinerCaps.tuning_config + ConfigAction::Preset(String) + ID_CTX_PRESET dialog populated live from get_presets(). Note the existing GUI "Presets" button is unrelated (view layouts).
  • CLI: presets <ip> (list), setpreset <ip> <name>.
  • HW verify: LuxOS bench (.67 shows config Profile=495MHz/Step -2) - snapshot Profile, profileset another, read back, restore. NEVER on .60/.67 production.
  • Priority: HIGH.

G4. Cooling configuration (largest missed config family).

  • Backend: BOS - impl SupportsTemperatureConfig (hot/dangerous/target) + SupportsFanConfig (Auto{target_temp,idle_speed} / Manual{fan_speed}) + a NEW cooling-mode trait/enum CoolingMode{Auto,Manual,Immersion} + fan-pause (mode/runtime/pwm) + min-required-fans + custom-fan-range on a CoolingConfig aggregate (endpoint from a web capture; do not execute). LuxOS - add rpc.tempctrlset + wire tempctrl/fanctrl. ePIC - POST /fanspeed, /fans/minimum, /shutdowntemp, /criticaltemp.
  • UI: ConfigAction::Cooling(CoolingConfig) + gate + dialog whose ranges come from cooling constraints (new CoolingCapabilities read, G8).
  • CLI: config cooling <ip> --mode ... --target-temp ... --hot-temp ....
  • HW verify: bench BOS/LuxOS/ePIC - record cooling/state + config temps + fan duty, set (e.g. target-temp to current), read back, restore. NEVER on production.
  • Priority: HIGH.

G5. Manual fan control.

  • Backend: LuxOS impl SupportsFanConfig -> rpc.fanset(speed|-1, min_fans) (already privileged=true); antminer/epic backends already report supports_fan_config=true (unwired). ePIC POST /fanspeed.
  • UI: MinerCaps.fan + ConfigAction::Fan(FanConfig) + ID_CTX_FAN dialog (Auto vs Manual %, clamped to limits FanSpeed range).
  • CLI: fans <ip> (read FANCTRL) + setfan <ip> <speed|-1>.
  • HW verify: LuxOS bench (.60 FANCTRL FanMinSpeed 20, MinFans 1) - snapshot, fanset 80, read ~80, restore fanset -1 (auto). Never below thermally safe speed. NEVER on production.
  • Priority: HIGH.

G6. Auto-scaling config: BOS DPS + LuxOS ATM + ePIC PerpetualTune.

  • Backend: BOS impl SupportsScalingConfig::set_scaling_config (power_step/min_power_target/ shutdown/duration); note ScalingConfig lacks hashrate_step/on_start_percent/mode - extend it or carry via set_tuning_config's Option. LuxOS + ePIC need a dedicated core SupportsAutoTuningConfig trait + AtmConfig/PerpetualTuneConfig struct (min/max profile, three temp windows, startup/post-ramp timings, algorithm select) added to the SupportsConfigs bundle with a ConfigField::Atm so the collector iterates it. ePIC: POST /perpetualtune{,/algo,/reset, /errorthrottle} with algorithms VoltageOptimizer/BoardTune/ChipTune/PowerTune (min/max from /capabilities).
  • UI: ConfigAction::Dps / ConfigAction::Atm / ConfigAction::PerpetualTune + gates + dialogs fed by the constraints reads (G8).
  • CLI: config dps <ip> on|off [...], atm <ip> / setatm <ip> ..., config perpetualtune <ip> ....
  • HW verify: bench per make - record current config, set current-equivalent params, read back, restore off/original. NEVER on production.
  • Priority: HIGH.

G7. Per-board voltage + frequency override.

  • Backend: LuxOS add rpc.voltageset/frequencyset/frequencystop; handle TuningTarget::Manual{boards:(freq,voltage)} in set_tuning_config (exact type match, no new trait). ePIC POST /tune/clock/{all,board,chip}, /tune/voltage, /tune/config/chip. Determine per-board vs per-chip grammar on the bench first (Lux frequencyget returns 126 per-chip freqs).
  • UI: reuse tuning-config dialog with an Advanced manual per-board mode, clamped to limits.
  • CLI: setmanual <ip> <board> <freq> <voltage>.
  • HW verify: bench with CONSOLE access only (bad voltage can damage a board) - snapshot voltageget/frequencyget, apply small delta, read back, restore via profileset(default).
  • Priority: HIGH.

G8. Constraints / limits / capabilities scan reads (plumbing for every dialog above).

  • Backend: BOS parse cooling_constraints + dps_constraints + hashboards_constraints from the already-fetched WEB_CONSTRAINTS response into new CoolingCapabilities/ScalingCapabilities/ HashboardCapabilities. LuxOS parse limits (PowerTarget 1000-4000, AtmMinutes 1-1440, AtmTemp 1-10, FanSpeed -1..100, MinFans 0-4, Frequency 100-1000 step 5-25, BypassVoltage 11.5-15.5). ePIC parse /capabilities (Default Clock/Voltage/Hashrate, Tune Presets, PerpetualTune min/max, Psu Info).
  • UI/CLI: not necessarily a visible column; required to validate/clamp dialog inputs. limits <ip>, capabilities <ip>.
  • HW verify: read-only on live units (already captured on .83, .60, .6). No restore.
  • Priority: HIGH (blocks safe write dialogs).

G9. Best share + session best share scan.

  • Backend: BOS impl GetBestShare from WEB_MINER_STATS /miner_stats/best_share (or best_share_str for large diffs; verified 130601978 live on .83; session stays None - BOS has no session field). LuxOS add DataField::BestShare -> summary /SUMMARY/0/Best Share and SessionBestShare -> /SUMMARY/0/Best Session Share (verified 638881749 live on .60). WhatsMiner map btminer summary best-share. All reuse already-fetched responses.
  • UI: populates the two existing MinerRow columns that no backend fills today.
  • CLI: appears in scan extended output.
  • HW verify: read-only vs live units, assert equals the API value. No restore.
  • Priority: HIGH (cheap, two dead columns).

PRIORITY: MEDIUM

G10. Timezone config (BOS/VNish/ePIC).

  • Backend: COMPLETE (SupportsTimezoneConfig; BOS GraphQL setTimezone, ePIC POST /timezone). No asic-rs work.
  • UI: ConfigAction::Timezone(Tz) + MinerCaps.timezone gate + dialog populated from get_timezone_config's available list.
  • CLI: config timezone <ip> <IANA>.
  • HW verify: bench - read current tz, set to same, read back, restore. Low risk.
  • Priority: MEDIUM (pure wiring).

G11. Change password (BOS/VNish/antminer/ePIC; WhatsMiner needs backend).

  • Backend: COMPLETE for BOS/VNish/antminer/ePIC (ChangePassword; re-auths on success). WhatsMiner gap - impl update_password over the :8889/4028-token path (supports currently false).
  • UI: ConfigAction::ChangePassword(String) + gate + dialog; GUI must update saved credentials on success (change_password takes &mut self and re-auths).
  • CLI: config password <ip> <newpass>.
  • HW verify: bench only - change to temp password then back; verify get_data() still authenticates. NEVER on production (a failed change locks the toolkit out).
  • Priority: MEDIUM.

G12. Factory reset (BOS/VNish/antminer; WhatsMiner needs backend).

  • Backend: COMPLETE for BOS/VNish/antminer (FactoryReset; distinct from restore.rs stock-firmware flow). WhatsMiner gap - impl restore_factory (supports currently false).
  • UI: ConfigAction::FactoryReset + gate + STRONG double-confirm dialog.
  • CLI: config factory-reset <ip> --yes.
  • HW verify: bench only, destructive - read config before/after. NEVER on production.
  • Priority: MEDIUM (low frequency, but backend already there).

G13. Pool config completeness + LuxOS session-bug fix.

  • Backend: LuxOS - flip addgroup/groupquota/removegroup/addpool/switchpool/enablepool/disablepool to privileged=true (they currently send no session_id, so writes fail on password-set units); add the missing rpc.removepool. Extend build_pools_dialog with incremental ops (switch/enable/disable/quota/remove) beyond wholesale replace-all.
  • UI: richer pools dialog; caps.pools already wired.
  • CLI: committed setpools already planned in G1; add per-op verbs.
  • HW verify: sacrificial bench NOT pointed at a production pool - reproduce the "Missing session_id" error on a password-set bench unit, then confirm privileged=true fixes it; restore original pools.
  • Priority: MEDIUM (correctness bug on locked units).

G14. Enrich per-hashboard / fan / pool telemetry (fetched-but-discarded fields).

  • Backend: BOS add fan target_speed_ratio (commanded duty) to FanData; add stale_shares/ last_difficulty/generated_work/last_share_time/per-pool best_share to PoolData; add board_name/ chip_type to BoardData. LuxOS retain per-chip Score/ReadErrors/WriteErrors/BadHashCount from healthchipget. All from already-fetched responses.
  • UI: tooltips / detail panels; additive.
  • CLI: extended scan / healthchip <ip>.
  • HW verify: read-only vs live units, assert new fields populate (BOS fan duty 0.63 on .83, Lux per-chip Score 88-102 on .60). No restore.
  • Priority: MEDIUM.

G15. PSU info scan (BOS/ePIC/WhatsMiner).

  • Backend: add core PsuInfo struct (model, hw/fw version, min/max voltage, serial, true-power) + GetPsuInfo trait + MinerData field. BOS reads WEB_MINER_DETAILS /psu_info; ePIC /capabilities Psu Info; WhatsMiner get_psu (unauth read).
  • UI: MinerRow detail/tooltip.
  • CLI: appears in scan detail.
  • HW verify: read-only (BOS .83 psu APW121215d/e 11.96-15.2V; ePIC .6 PSU Type 117). No restore.
  • Priority: MEDIUM.

G16. Network config read + write (all makes).

  • Backend: add core NetworkInfo struct + GetNetworkInfo (read) and NetworkConfig struct + SupportsNetworkConfig (write, added to the SupportsConfigs bundle + ConfigField::Network). BOS GET/PUT /network; LuxOS config read + rpc.netset; ePIC GET/POST /network + /wifi; WhatsMiner update_network / restore_dhcp. Confirm grammar on bench first.
  • UI: address/protocol MinerRow columns (read); ConfigAction::Network(NetworkConfig) + ID_CTX_NETWORK dialog (write) behind explicit confirm + warning. Pre-fill from the read.
  • CLI: net <ip> (read), config network <ip> dhcp|static [...] --yes.
  • HW verify: read-only for the read side vs live units. Write on a bench unit with SERIAL/CONSOLE access ONLY (a wrong static config strands the miner; note the LuxOS fleet uses 1:1 NAT so netset rewrites the miner's real interface). Change hostname (benign) then restore; do NOT change IP on a remotely-managed unit.
  • Priority: MEDIUM (read side); network-write is high-risk, gate hard.

G17. Structured messages / per-chip health / temp-target / operating-state reads (LuxOS + ePIC).

  • Backend: LuxOS map tempctrl targets (Target/Hot/ChipTarget/WaterInlet) + derive GetOperatingState from config CurtailMode/IsTuning/SystemStatus + frequencyget per-chip array. ePIC map PerpetualTune status + Scheduler read + HBStatus.
  • UI: optional columns + detail panels; operating-state feeds the Paused column with real state.
  • CLI: tempctrl <ip>, freqs <ip>.
  • HW verify: read-only vs live (Lux .60 tempctrl Target 45/ChipTarget 83; CurtailMode/IsTuning present). Derived paused state verified after a bench curtail sleep. No restore for reads.
  • Priority: MEDIUM.

G18. WhatsMiner power-mode set + set-power-percent + poweroff.

  • Backend: wire WhatsMiner v2/v3 SupportsTuningConfig MiningMode (high/normal/low) via update_power_mode; add set_power_pct path; add poweroff (distinct from pause). Note the r15 #4 set_power_limit error-swallow bug should be fixed while here.
  • UI: mode selector via the generic tuning action (G2); poweroff as a maintenance menu item with strong confirm.
  • CLI: config mode <ip> <high|normal|low>, config power-pct <ip> <pct>, poweroff <ip> --yes.
  • HW verify: bench WhatsMiner (M30S-class) - read summary, set mode, read back, restore; poweroff characterized on bench then power-cycle to recover. NEVER on the live fleet.
  • Priority: MEDIUM.

PRIORITY: LOW

G19. BOS advanced keyed settings (read + write, 22 keys with danger-gating).

  • Backend: new AdvancedSettings trait (keyed map + static metadata: type/default/status/min_version/ enum/min-max/depends-on from advanced list); read is safe/additive, write requires danger confirm. Transport from a web capture; do not execute writes.
  • UI: Advanced-settings editor panel validating against metadata, explicit confirm for status=dangerous keys.
  • CLI: advanced-get <ip> [--key K|--all], advanced set <ip> <key=value> [--force], advanced reset.
  • HW verify: read-only vs .83 (22 keys captured). Write on bench, benign key (mdns_enabled) only.
  • Priority: LOW-MEDIUM (read side medium, write low).

G20. LuxOS maintenance: reset-miner / kill / chip-health-check / custom-profile create-remove.

  • Backend: add rpc.reset_miner wiring (CLI-only), rpc.healthchipset, rpc.profilenew/profilerem. kill semantics to be characterized on bench first (recommend omit from fleet GUI).
  • UI: profile create/delete under the preset submenu; reset-miner/kill CLI-only.
  • CLI: resetminer <ip>, healthchip <ip> [set ...], profilenew/profilerem.
  • HW verify: bench only.
  • Priority: LOW.

G21. ePIC misc setters: coin type, board enable/disable, scheduler/idle-periods, shutdown/critical temp, overdrive, idle-on-connection-lost, hostname.

  • Backend: POST /coin, /boardenable + /disableboardonfailure + /enableboardsonidle, /scheduler + /scheduler/idleperiods, /shutdowntemp + /criticaltemp, /overdrive, /idleonconnectionlost, /hostname.
  • UI: grouped under an ePIC advanced/maintenance submenu (most are ePIC-specific, gate on make).
  • CLI: matching config <verb> <ip> ....
  • HW verify: bench ePIC (.6/.10 are read-only production).
  • Priority: LOW.

G22. Diagnostics collect + firmware update-check surfacing + BOS custom-contract.

  • Backend: none new (compose get_data + read_logs + config + constraints into a tarball); surface check_firmware_update current-vs-latest. Custom-contract is niche Braiins-pool - document/defer.
  • UI: "Collect diagnostics..." menu item; optional update badge.
  • CLI: collect <ip> [-o dir].
  • HW verify: read-only compose vs .83.
  • Priority: LOW.

Round A - CLI foundation and cheap wins (unblocks everything else):

  • G1 (commit write CLI), G9 (best-share/session-best-share), G8 (constraints/limits/capabilities reads), G14 (fetched-but-discarded telemetry), G13 backend session-bug fix (LuxOS privileged=true). Rationale: G8 is required plumbing for the write dialogs; G1/G9/G14 are low-risk and immediately visible; the LuxOS session fix is a correctness bug.

Round B - pure UI/CLI wiring of complete backends:

  • G10 (timezone), G11 (change password, non-WM), G12 (factory reset, non-WM). Rationale: backends already implemented; only UI ConfigAction + CLI verbs + dialogs needed.

Round C - structured tuning (the flagship parity family):

  • G2 (power/hashrate target + tuner-mode + stock mining-mode), G3 (preset/profile select), G7 (per-board override). Rationale: single generic tuning action + per-make backends; the biggest config-parity closer.

Round D - cooling and auto-scaling:

  • G4 (cooling config), G5 (fan control), G6 (DPS/ATM/PerpetualTune). Rationale: depends on Round A constraints reads; largest remaining missed family.

Round E - WhatsMiner config depth:

  • G18 (power-mode/power-pct/poweroff), G11+G12 WhatsMiner backends (change_password, restore_factory), G16 WhatsMiner network (update_network/restore_dhcp).

Round F - network + advanced + long tail:

  • G16 (network read everywhere + gated write), G15 (PSU info), G17 (Lux/ePIC extra reads), G19 (BOS advanced), G20 (LuxOS maintenance), G21 (ePIC misc), G22 (diagnostics/update/contract).

5. Verification coverage note

Confirmed on real hardware, read-only, this run:

  • Braiins OS: 10.4.1.83 and 10.4.1.27 (Antminer S19J Pro NoPic, BOS 26.09-plus, API 1.8.0). Verified live: version/details/network/miner_stats/hashboards/cooling-state/pools/tuner-state/constraints, best_share 130601978, tuner_constraints (power 944-6435 W, hashrate 70.75-252.57 TH/s), cooling + dps + hashboards constraints, PSU info, fan duty 0.63, configured-tuning-target None in default power mode (both units), advanced 22-key read via braiins-toolbox.
  • LuxOS: 10.4.1.60 (Profile default) and 10.4.1.67 (Profile 495MHz/Step -2), Antminer S19j Pro, LUXminer 2026.9.21, API 3.7, IsPowerTargetSupported=false. Verified live: version/summary/stats/ devs/devdetails/temps/fans/pools/events, 21 profiles, full limits bounds table, atm, tempctrl, fanctrl (FANCTRL), healthchipget per-chip, frequencyget (126 freqs), voltageget, config network + Update* + CurtailMode/IsTuning/SystemStatus, best-share 638881749; check-command matrix (Exists/ Access) for led/profileset/atmset/fanset/tempctrlset/voltageset/frequencyset/curtail/rebootdevice/ resetminer/kill/netset and the N/N set hostnameset/passwd/timezone/timezoneset/factoryreset.
  • ePIC / PowerPlay UMC: 10.4.1.6 and 10.4.1.10 (AntMiner S19j Pro, BM1362), UMC API v1.36.0, 63 OpenAPI paths captured. Verified live read-only: /summary, /capabilities (Tune Presets + PerpetualTune algorithms VoltageOptimizer/BoardTune/ChipTune/PowerTune with min/max + Psu Info), /perpetualtune status, /network, /ethernet, /temps, /timezone, /scheduler, /otelsettings, /hashratesplit config+status.
  • WhatsMiner: fleet scanned read-only across 10.7.1.0/24 and 10.8.1.0/24 via miner_probe scan (M30S-class, H6OS/H616 control boards, mix of watts and supports_power_limit flags). btminer :4028 anonymous reads (summary/get_token/get_error_code) confirmed as the read surface.

Taken from docs / --help / source / reverse-engineering only (not executed live this run):

  • Every config-WRITE path on every make (hard rule: no live mutation). Write endpoints and grammars are described from braiins-toolbox --help, luxminer RPC docs, the ePIC OpenAPI POST definitions, and the WhatsMiner btminer RE wiki (8889 command table + 4028 token flow).
  • BOS firmware-update-check (hits the vendor release server), custom-contract, and the advanced-set transport (needs a web capture to pin the exact GraphQL/REST call).
  • WhatsMiner :8889 privileged writes (update_pools/set_power_pct/restart confirmed in prior RE sessions; LED/per-board tuning live in the ~40% uncharted :8889 command space and are unverified).
  • Stock Antminer / MicroBT miner set-mode was confirmed in the asic-rs source (mapping present) but not probed against a live stock unit this run.