Rework the a113d flash module to match the NAND-enabled image: instead of
expecting an already-mounted ubifs volume, it detects the nvdata MTD from
/proc/mtd (the only MTD our DT exposes), ubiattach-es it, discovers the UBI
volume name (never assumed), mounts it, and overwrites the three OS files under
the alkane/ directory with staged + read-back md5 verification, then unmounts
and detaches. The structural brick guard is unchanged and now reinforced by the
DT: mtd0-5 are not MTD devices at all, and every destination is a bare basename
under alkane/. Renamed the directory anthillos -> alkane throughout (receipt
reports the discovered volume). New unit test for the /proc/mtd nvdata parse;
full flash suite 56 green.
NOTE: the live attach/mount/write flow is not yet hardware-validated - it needs
a NAND-enabled a113d image staged once via the stock/dsh path to test against.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B1W6qHxYpv7yf7Ah57g4rQ
Add the S21 Pro-class Amlogic A113D/AXG flash module to the toolkit, matching
the Zynq-7010 treatment, plus CLI routing for plan/preflight/install.
- crates/alkane-flash/src/boards/a113d.rs: A113dPlan::from_afw validates the
verified manifest (a113d, arm64, preserve, no fip/spl/tpl/u-boot member,
exactly kernel/dtb/rootfs with arm64-image/fdt/uimage formats, per-image
ceilings and total <= nvdata, plus independent magic checks and a
defense-in-depth refusal of any non-nvdata partition carrying an image).
The installer is file-only: it resolves the anthillos/ directory on a
mounted ubifs volume and copies the three files there with staged + read-back
md5 verification. The brick guard is structural - there is no flash_erase,
nandwrite or dd-to-/dev/mtd anywhere in the module, so the FIP (mtd0/1) and
stock boot (mtd4) and mtd2/3/5 can never be touched; every destination is
checked to be a bare basename.
- crates/alkane-flash/src/boards/mod.rs: register the module.
- crates/alkane-cli/src/main.rs: route a113d bundles through afw
plan/preflight/install.
- crates/alkane-artifacts/src/afw.rs: correct the a113d / a113d-s21pro board
profile from armv7 to arm64 (the A113D/AXG is an arm64 SoC).
8 new a113d unit tests; full suite: 55 alkane-flash, 12 alkane-artifacts, all
pass. End-to-end verified: make-afw.sh -> check-afw.py -> alkane-cli afw plan
on a stub a113d bundle.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B1W6qHxYpv7yf7Ah57g4rQ
The toolkit now flashes the Zynq update path through the CLI like am335x/cv1835.
- boards/zynq.rs: ZynqPlan::from_afw (validates the zynq-7010 .afw: armv7, preserve,
the kernel/dtb/rootfs image set, zimage/fdt/cpio-gzip formats, size ceilings,
rejects any bootloader/spl/BOOT.bin member and a non-zImage kernel), preflight
(alkane source, root, flash tools, mtd0/mtd1, BOOT.bin-preserve guard), install
(OFFSET-AWARE: nanddump/flash_erase/nandwrite --start at the device-relative
slot offset - kernel 0x2200000, dtb 0x2700000 in /dev/mtd0, rootfs in /dev/mtd1
- with per-region backup + md5 readback), and a hard guard that refuses any
/dev/mtd0 write below BOOTBIN_PRESERVE so BOOT.bin can never be clobbered.
- alkane-artifacts: add the strict 'zimage' image format (magic 0x016f2818 at 0x24).
- alkane-cli: route zynq-7010 through afw plan/preflight/install.
- 6 module tests (good plan, non-zImage, oversize, bootloader member, wrong
board/arch, every-mtd0-target-above-BOOT.bin). Full flash suite 47 green,
artifacts green; the real bundle renders its plan through the CLI.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B1W6qHxYpv7yf7Ah57g4rQ
Three fixes found running the real tier-3 preflight against the stock .64 board:
- preflight fingerprint ended in 'ls <our release files>' which exits 1 on a stock
board (none exist), failing the whole command; append '|| true'.
- classify() only knew the Amlogic stock kernel (4.9.38); the AM335x stock is
3.8.13+ with an Antminer model line - recognize both so source-os matches the
plan's stock-bitmain.
- the mtd-map check compared the vendor label (spl/u-boot/...) to the mtdN device
name and so always failed on real hardware; validate live geometry by index+size
against the plan's partitions instead (labels are board-specific, not in our map).
- dry-run message now lists the real write targets from the plan (was a hard-coded
'mtd8, mtd6 and mtd7' that omitted mtd4 on tier 3).
Preflight + dry-run now PASS against the live stock board (all 10 checks). Unit
suite still 41 green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B1W6qHxYpv7yf7Ah57g4rQ
The am335x flash module now selects a per-tier Profile from the bundle's board:
tier 2 (am335x, preserve) or tier 3 (am335x-stock, include). The byte-write
engine, preflight and readback are shared; only the policy, preserved set,
12-partition map (mtd4 becomes a write target) and image list differ.
- boards/am335x.rs: Profile/profile_for/owns_board; MTD_MAP_STOCK (mtd4 writable,
kernel at write_order 4 so U-Boot lands first); from_afw accepts am335x-stock,
permits exactly the u-boot bootloader member, still rejects any SPL member and
a u-boot member on tier 2; check_uimage expects firmware type 5 for u-boot;
the plan carries its board + preserved set; render is tier-aware.
- restore() takes the preserved set per profile; SPL copies (mtd0-3) are never a
restore target on any tier; mtd4 is restorable on tier 3.
- alkane-cli: route am335x-stock to the module (plan/preflight/install); restore
is profile-driven and adds --held-uboot (mtd4) for the from-stock set.
- alkane-artifacts: board_profile knows am335x-stock (arm, include).
- tests: tier-3 from_afw acceptance (4 targets, U-Boot before kernel, mtd4 not
preserved), wrong-U-Boot-type and SPL-write-target rejection, and a tier-3
restore test (mtd4 allowed, SPL refused). Full flash suite 41 green; tier-2 and
cv1835 unchanged. The real bundle parses and verifies through the CLI.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B1W6qHxYpv7yf7Ah57g4rQ
Parse and verify the fixed-order .afw container, add the CV1835 board
module and an SSH transport with the stock update-daemon root stage, a
read-only preflight, a held p1 backup, whole-partition read-back, live
verification and network restore. Add the headless afw CLI and offline
fixtures for good, tampered, wrong-board, truncated, traversal and
oversize bundles.
Co-Authored-By: DeepSeek Harness <noreply@deepseek.com>
A Bug report button between Export and Settings opens a dialog: a type
(Bug, UI change, Feature request), one text box whose first line
becomes the issue title, and "Include the recent activity log
(passwords removed)", ticked by default. Send posts the report to the
report relay (next commit), which files it as an issue in
blueflare/alkane-toolkit. The dialog then shows the issue number, and
Open issue opens it, or shows why the report was not sent with the text
kept.
The app holds no token. A report carries the app version, platform, OS
version, appearance, language and window size, plus the newest 80 log
lines (at most 16 KiB). Before the log leaves the machine,
bug_report::scrub removes values of password/token/secret-like names,
Authorization and Cookie headers, URL passwords and PEM private keys.
The request goes through the system curl, as the other HTTP actions
do. ALKANE_REPORT_URL overrides the relay address for testing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdKQBRg6YCM1XXQCTnD5GF
On macOS several table columns showed no values until a row was
clicked. wxOSX draws custom cells without clipping to the cell, and the
segment renderer paints its zebra background over an oversized rectangle
(a column width either side, 40 px up and down) that GTK and MSW clip
to the cell. On the Mac each cell's fill painted over its neighbours.
Selected rows skip the fill, so their text came back.
On macOS the zebra is now the table's native alternating rows. AppKit
paints them under every cell in the theme's colours, and no row
carries a background attribute, so the renderer never fills. Plain
segment text uses the theme-aware list text colour instead of the
control's foreground colour.
To check rendering without screen-recording permission, the self-test
takes ALKANE_SNAPSHOT=path (macOS) and writes a PNG of the window as
the app draws it (osx_native.mm: cacheDisplayInRect). Before/after
snapshots on the M1 confirm the fix in light and dark appearance.
wx-rs patch 0010. Also folds in PR #24 (build-gui-macos without
--locked).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdKQBRg6YCM1XXQCTnD5GF
- scripts/build-wx-macos.sh: static, monolithic, universal (arm64 +
x86_64) wxOSX/Cocoa 3.3.3 from the vendored tree, with wx's bundled
image/zlib/regex/expat so the app links only system frameworks.
Minimum macOS 11.0: current SDKs' libc++ supports nothing older.
- scripts/build-gui-macos.sh: builds both Rust targets against that
prefix and merges them with lipo.
- ci/package-macos.py: "Alkane Toolkit.app" (Info.plist, icon, local
network usage string), ad-hoc signed, zipped with ditto as
alkane-toolkit-vX.Y.Z-macos-universal.zip with LICENSE and README.
- crates/alkane-gui/macos: app icon (.icns) from the same glyph as the
Windows icon, plus the script that makes it.
- wx-rs patch 0009: macOS goes through wx-config (drops the universal
-arch flags, maps -framework), reports logical sizes like GTK/MSW
instead of narrowing floats to ints, and links clang's compiler
runtime for wxOSX's @available checks.
- docs/macos.md, README and the manual's install chapter.
Verified on an M1 running macOS 27.0.1: both slices build, all
workspace unit tests pass, and the headless UI self-test passes 52/52
on arm64.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Credentials dialog: new "SSH (restore)" row for the control-board SSH
login used by the Braiins restore-to-stock. The username defaults to
root; the password is masked and never re-displayed, and a blank
password keeps the saved one. Reset to defaults also clears it.
ssh-credentials.txt no longer has to be written by hand.
- Default scan range is now 192.168.1.1/24 (scans 192.168.1.0/24), and
the range dialog's examples use that subnet.
- Windows version info, zip README, LICENSE and docs name the publisher
as on the signing certificate: BlueFlare Energy Solutions Inc.
- Manual updated for all three.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AGENTS.md, HANDOFF.md, code-review-report.md, the implementation plan and the
aftermarket parity roadmap described the internal bench, its addresses and
in-house firmware; they now live in the private miner-firmware workspace and
are git-ignored here. The remaining docs and the fixture header no longer
point at them or at local infrastructure.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Build: the wx-rs build script chose the platform with cfg!(), which in a
build script describes the build host, so a Linux-to-Windows build took the
GTK path. It now reads CARGO_CFG_TARGET_*, and Windows/GNU builds through
wx-config exactly like GTK, against a static wxMSW from
scripts/build-wx-windows.sh. The C++ runtime is linked statically, so the
.exe imports only Windows system DLLs. crates/alkane-gui/build.rs embeds an
application manifest (Common Controls v6, per-monitor DPI v2, UTF-8 code
page, Windows 10/11), the icon and version info.
Bridge on wxMSW (patches 0007/0008):
- the upstream frame's invisible "OSX key events" child sat above the UI on
MSW and swallowed every click and key; it is no longer created there
- light/dark is chosen before the first window (wxMSW ignores it later) and
follows the Windows app mode, with dark grid rules for the data view
- the generic wxDataViewCtrl gets mouse input in its inner main window, so
drag-select and the per-cell / per-icon tooltips bind there (GTK keeps
its native GtkTreeView paths; the icon hit-test is shared)
- sizes cross the Rust/C++ boundary in DIPs (identity on GTK), so columns,
icons, KPI cards and the status bar scale at 125-200 %
- vector shapes go through GDI+ (anti-aliased like Cairo on GTK); selected
rows use the themed list-view text colour like the native renderer
- the frame never opens larger than the monitor work area; title-bar icon
from the executable; upstream menu insert no longer reads UTF-8 as UTF-16
App: OS differences live in alkane_core::platform (settings in
%APPDATA%\alkane-toolkit, owner-only secret files, NUL, console-less helper
processes). SSH password logins use SSH_ASKPASS with the toolkit itself as
the helper on every platform, replacing sshpass, which Windows lacks.
Release builds are GUI-subsystem; headless modes attach to the parent
console.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Round 21 (three reported items).
1. A hashboard that is still mining near full hashrate but has some failed chips
now shows yellow (degraded), not red. VNish emits per-board chip failures as
Warning while the board is mining (Error only when the board is not mining),
and board_healths() renders a warning-only board as Degraded instead of Down.
Verified live on 10.4.0.193 (mining ~83%, dead chips -> yellow).
2. New "Power limit" column: the configured power-target setpoint in watts
(MinerRow.power_limit_w, from a Power tuning target). WhatsMiner shows its
"Power Limit" (e.g. 2500 W); the value was already scanned but had no dedicated
column. Numeric (sortable/filterable), Performance category, opt-in.
3. Chip + hashboard model coverage:
- VNish hashboard model scanned from factory-info board_model (A3HB70601,
BHB42603, ...) -- 147-unit fleet gains HB model. Both VNish backends.
- WhatsMiner v1/v2 PSU serial scanned from get_psu serial_no (was hardcoded
None). 48-unit fleet gains PSU serial.
- Chip type derived from the detected model for Antminer hardware (VNish/stock/
LuxOS/Braiins/UMC never report a chip string on the wire), in naming.rs:
S21Pro->BM1370, S19jPro->BM1362, S19KPro->BM1366, S19/T19->BM1398, etc.
Only high-confidence mappings; WhatsMiner and unknown models stay blank.
PSU Vmin/Vmax remain Braiins/ePIC-only (not on the wire for WhatsMiner/VNish/
Antminer -- confirmed live).
asic-rs patch 0033. 95 unit tests pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
- Hashrate cell: a readable 0 hashrate now shows "0.00T" instead of a dash. The
dash is reserved for an unreadable/absent hashrate. New MinerRow.hashrate_known
records whether the miner reported a value; combined_si/num_value key off it,
and scan/fixtures set it from data.hashrate.is_some().
- Paused-miner Health icons: the control board (brain) and PSU keep their true
health (green when fine) instead of turning blue; fans turn blue only when
actually stopped (0 RPM) and stay green while spinning; hashboards stay blue
while paused (idle is the expected state).
- VNish per-hashboard faults: DataField::Messages now also reads the summary
chains (chip_statuses red/orange + per-chain state) and emits one message per
faulted board, attributed to MinerComponent::HashBoard{idx}, so the Health
column reds the specific board and its tooltip carries the fault instead of it
landing on the brain. Applied to v1_2_0 and v1_3_0. patch 0032.
Verified live: VNish 10.7.1.25 -> "Hashboard 2: 1 degraded chip(s)" on board idx
1; healthy 10.7.1.122 -> no messages. 93 unit tests pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
A miner an operator has stopped (e.g. 10.4.1.122, VNish miner_state "stopped" ->
OperatingState::Stopped) was read as broken: red hashboards and counted under "not
hashing" instead of "Paused".
Two causes:
1. is_paused() only matched the literal "pause" substring, so "Stopped"/"Stopping"/
"Suspended" -- every other firmware's word for an intentional, resumable halt --
fell through to not-paused. Now matches pause/stop/suspend (Error stays broken).
2. encode_component_health applied the paused-blue treatment to hashboards only
(round 19 #19), so a paused miner's idle fans/power still rendered red. A stopped
miner's off components are expected, not faults: colour every reported component
blue when paused (an undetected/Unreachable one still stays grey -- "not present"
is not "paused").
Verified live against 10.4.1.122 on a headless build: the row now shows all-blue
health (power grey, honestly unreachable) and counts under the Paused KPI, where it
previously showed red boards + "not hashing".
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
Round 19 #10 telemetry extension. Live-verified against the corpus miners, this
remodels the board temperature thresholds to item #10's target/hot/dangerous scheme
and adds the LuxOS and Braiins backends. Supersedes the ePIC-only critical/shutdown
model shipped in v0.72.0.
Core (asic-rs-core):
- MinerData: temp_critical/temp_shutdown -> temp_target/temp_hot/temp_dangerous.
- parse_temperature_limits (defaulted on the existing GetFluidTemperature trait)
now returns (target, hot, dangerous); parse_data wires all three fields.
Backends (each reads an already-fetched or single command; live-verified):
- LuxOS: new tempctrl RPC; ChipTarget/ChipHot/ChipDangerous (live 10.4.1.60 = 83/93/100).
- Braiins v25_07 + v26_04: configuration/constraints cooling_constraints defaults
(live 10.4.1.83 = 60/80/90); WEB_CONSTRAINTS already fetched for tuning caps.
- ePIC remap: Shutdown Temp -> hot, Critical Temp -> dangerous, no target.
- VNish (settings restart_temp/param) handled in a follow-up (needs settings auth);
Antminer/WhatsMiner expose no thresholds -> (None,None,None).
GUI: the two temp columns (Critical/Shutdown) become three (Target/Hot/Dangerous),
right-aligned, Temperature category, auto-hidden when empty. MinerRow gains
temp_target_c/temp_hot_c/temp_dangerous_c; to_row reads them. ALL_COLUMNS 70 -> 71.
Fixtures captured from live: luxminer tempctrl.json, braiins configuration_constraints.json.
Fixture tests for epic, luxminer, braiins v26_04 assert the parsed thresholds. Patch 0029.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
Round 19 #10 telemetry extension. Adds the board temperature safety thresholds
("board dangerous temp" from item #10).
Core (asic-rs-core):
- New DataField::TemperatureLimits; MinerData gains temp_critical and temp_shutdown
(Celsius).
- Rides the existing GetFluidTemperature trait via a defaulted parse_temperature_limits
method returning (critical, shutdown) -- no supertrait blast radius; parse_data
wires both fields in.
Backend:
- ePIC: summary /Misc Critical Temp + Shutdown Temp (already-fetched summary).
- Antminer/WhatsMiner expose no thresholds; LuxOS needs an unwired tempctrl command
(no fixture) and VNish/Braiins need live verification -> left for a live-verified
pass, all inherit (None, None).
GUI: two new columns (Critical temp / Shutdown temp), right-aligned, Temperature
category, auto-hidden when empty. MinerRow gains temp_critical_c / temp_shutdown_c;
to_row reads them. ALL_COLUMNS 68 -> 70.
Fixture test for epic asserts the parsed thresholds. Patch 0028.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
Round 19 #10 / #8 telemetry extension. Adds the fan duty cycle as a miner-level
percentage -- the normalized fan-load indicator the GUI wanted alongside per-fan
RPMs. No firmware exposes a maximum fan RPM, so a true actual/maximum pair is not
possible; the duty cycle is the closest normalized signal.
Core (asic-rs-core):
- New DataField::FanSpeedPercent; MinerData gains fan_speed_percent (Option<f64>).
- Modeled as a top-level miner-level value (most firmwares report a single duty),
so FanData is untouched -- no Eq removal / literal churn across its 17 crates.
- Rides the existing GetFans trait via a defaulted parse_fan_speed_percent method
(no supertrait blast radius); parse_data wires it in.
Backends (read already-fetched commands, no extra round-trips):
- ePIC: summary /Fans/Fans Speed (single %).
- LuxOS: max of FANS[].Speed.
- Braiins v25_07 + v26_04: max of cooling fans[].target_speed_ratio x 100.
- Antminer (pwm via config) and VNish (fan_duty) have no data fixtures -> left for a
live-verified pass; WhatsMiner is firmware-locked -> None.
GUI: new "Fan %" column (right-aligned, Cooling category, auto-hidden when empty).
MinerRow gains fan_speed_percent; to_row reads it. ALL_COLUMNS 67 -> 68.
Fixture tests: epic, luxminer, braiins v26_04 assert the parsed percentage. Patch 0027.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
Round 19 #10 telemetry extension, tier 2b. Adds the cumulative share statistics
from item #10 end to end: difficulty-weighted accepted/rejected work, raw stale
share count, and blocks found.
Core (asic-rs-core):
- New ShareSummary sub-struct (data/share.rs) with a parse_cgminer_share_summary
helper reading a cgminer/btminer SUMMARY[0] object.
- New DataField::ShareSummary; MinerData gains share_summary.
- Rides the existing GetBestShare trait via a defaulted parse_share_summary method
(no new supertrait bound, no per-backend empty impl); parse_data wires it in.
Backends (read the already-fetched SUMMARY, so no extra round-trips; these are
miner-level aggregates -> top-level MinerData fields, not per-pool PoolData):
- Antminer v2020 + v2023_07, LuxOS, WhatsMiner V1 + V2 override parse_share_summary.
- Braiins (no cumulative difficulty), ePIC (current difficulty only), WhatsMiner V3
and VNish expose none and inherit None -- fixtures confirm.
GUI: four new columns (Diff acc / Diff rej / Stale / Blocks), right-aligned, in the
Pools category, auto-hidden when empty. MinerRow gains the four fields; to_row reads
them from share_summary. ALL_COLUMNS 63 -> 67.
Fixture tests: whatsminer v1 and antminer v2020 assert the parsed values. Patch 0026.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
Round 19 #10 telemetry extension, tier 2. Adds the rolling average hashrate
windows the GUI asked for (1M/5M/15M/24H) end to end.
Core (asic-rs-core):
- New HashrateAverages sub-struct (data/hashrate.rs): avg_1m/5m/15m/24h, each an
Option<HashRate> carrying the same unit and algorithm as the current hashrate.
- New DataField::HashrateAverages; MinerData gains hashrate_averages.
- The windows ride the EXISTING GetHashrate trait via a new defaulted
parse_hashrate_averages method (default None), so no new supertrait bound and no
empty impl in every backend -- only the backends that expose the data override
it. parse_data wires it in.
Backends (all read a command the collector already fetches -> no extra round-trips;
each window is filtered to > 0 and the whole struct is dropped when every window is
absent, so a firmware that reports nothing keeps hashrate_averages = None):
- WhatsMiner V1: btminer summary MHS 1m/5m/15m (MegaHash); no 24h.
- WhatsMiner V3: get.miner.status summary hash-1min / hash-15min (TeraHash) only.
- LuxOS: summary GHS 1m/5m/15m/24h (GigaHash) -- full window set.
- Braiins v25_07 + v26_04: miner_stats real_hashrate last_1m/5m/15m/24h (GigaHash).
- Antminer (5s/30m/av only), WhatsMiner V2 (av only), ePIC/VNish (session average
only), sealminer: no standard 1/5/15 window -> inherit None. This is honest: the
fixtures confirm those firmwares do not expose the standard windows.
GUI: four new columns (HR 1m/5m/15m/24h), single TH/s value each, right-aligned,
blank when the window is not reported, auto-hidden when empty across the fleet.
MinerRow gains the four ths fields; to_row populates them from hashrate_averages.
Fixture tests: whatsminer v1 and braiins v26_04 gain assertions on the parsed
windows (value, unit, and the expected present/absent pattern). Patch 0025.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
Extend vendored asic-rs to scan more per-firmware telemetry (round 19 #10
follow-up, tier 1 sub-batch A). All new values ride on existing DataFields
(Psu/Hashboards/BestShare) and commands already fetched, so no new core
DataField plumbing and no extra network round-trips. Patch 0023.
Vendored (asic-rs):
- PsuInfo gains `serial`. Braiins v26_04 parse_psu corrected to read model_name
+ fw_version (it used the numeric type code as the model and dropped the fw
version) and to capture serial_number. ePIC / WhatsMiner v1/v2 report no serial.
- BoardData gains `chip_type` (e.g. "BM1370") + `hashboard_model` (e.g.
"A3HB70601"); Braiins miner/hw/hashboards populates both.
- best_share (all-time) wired for Antminer v2020 and WhatsMiner v1/v2 from the
already-fetched summary "Best Share" (those backends had the empty default).
- refresh-checksums --all; existing braiins/antminer/whatsminer fixture tests pass.
GUI:
- MinerRow gains chip_type, hashboard_model, psu_serial; populated in to_row.
- New columns: Chip, HB model, PSU serial. Best share now populates for Antminer
and WhatsMiner (column already existed).
Feasibility analysis (5-agent, all firmwares) recorded in memory; further tiers
(fan %, rolling hashrate averages, difficulty/shares, temp thresholds, WhatsMiner
V3 / VNish PSU serial) follow. Confirmed genuinely-unavailable: fan max RPM,
WhatsMiner/LuxOS real logs, chip type on Antminer/LuxOS.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
Health column (operator-reported): give every component-health icon a UNIFORM
fixed-width slot in the SegmentRenderer (GetSize + DrawShape), so power/control/
fan/board icons line up in fixed columns across rows regardless of glyph aspect,
and left-align the icon columns (Health/Access/Light) so the block anchors at a
consistent left edge. The per-icon tooltip hit-test uses the same uniform slot.
Code-review-harness fixes:
- High: isolate per-miner telemetry with catch_unwind so one miner's get_data
panic can't abort the whole scan (and strand the fast-path partial rows).
- Medium: fill the zebra stripe across the full cell for right-aligned colored
columns (was anchored at the content's left edge, leaving the left unstriped).
- Medium: lower the scan-concurrency ceiling 512 -> 256 (128 is fully reliable,
192 already dropped responders on the live fleet).
- Medium: board voltage/frequency sort key skips placeholder-zero boards
(avg_positive), matching how the cell renders them as "-".
- Low: saturating_add for accepted/rejected share sums; moved an orphaned doc
comment; corrected a stale comment.
CI: fix the README-badge push-back -- `git push -c http.extraheader` is invalid
(`-c` must precede the subcommand), so the badge/coverage/bench-baseline commit
never actually reached main; now `git -c http.extraheader=... push`. This also
lets the bench-delta baseline persist so the delta can compute.
Demo: the offline-demo paused miner now has detected (idle) hashboards so the
paused-blue Health icons (round 19 #19) are exercised.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
Table/columns:
- Fix the "columns shrink to tiny" bug on language change / add / hide (#3, #24):
the rebuild-time capped autosize read column widths before GTK's measurement
landed. Columns keep their default widths; autosize is on-demand only.
- Right-align every column except IP (#21): new alignment param on the bridge
append calls; the SegmentRenderer and the tooltip hit-test honour it.
- "Auto-size all columns" header menu item; Ctrl+A selects all rows (#4).
- Remove the Boards (dots) column (#7).
- Split the slash-joined Fan column into per-fan columns Fan 1-4 (#8).
- Efficiency: unit moved into the value and made algorithm-aware (J/TH for
SHA256 families, J/kSol for Equihash), fixing the blank/garbage figure on
non-SHA256 miners (#9, #23).
- Pool account column before Worker by default (#22).
Scan:
- Fast scan (#18): emit a lightweight identity row the instant a miner is
identified, then upsert the full telemetry row when get_data completes.
- User-adjustable scan concurrency with a bounded max (#25).
- Surface more scanned values as columns (#10): current tuning target, accepted
/ rejected shares + reject %, and per-hashboard hashrate / voltage / frequency.
Logs (#11-16): fetch the miner log through asic-rs's per-backend read_logs()
instead of the narrow curl paths, fixing Braiins / LuxOS / Z15 / BixBit / stock
Antminer; WhatsMiner keeps the fault-code fallback (no API log). Removed the
summary tidbits from the log viewer (#13).
Misc: fix per-icon health tooltips (advance math matched to the renderer) (#2);
paused miners show blue hashboard icons, healthy stays green (#19); state-aware
Pause/Resume in the right-click menu (#20); export opens a column-picker dialog
(#6) and the default filename carries a UTC timestamp (#5); the scan status bar
says "Scan Paused" / "Scan Stopped" and no longer overwrites Stop with paused
(#17); the bench badge shows the weighted-average microbench delta vs the
previous release (#1).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
Fifth (final) review round; this clears its functional findings:
- HIGH config actions / pool writes could run concurrently with a live scan
(start_action / apply_pools guarded flash + restore but not scanning); added
the self.scanning guard, and begin_scan now defers while an action/restore runs,
closing the race symmetrically.
- HIGH blanking a per-firmware credential row saved a live ("","") override that
then broke that firmware's auth fleet-wide; a fully-blank row now clears the
override (use the shipped default).
- HIGH a ChangePassword action never updated the toolkit's own saved credentials,
so after a fleet-wide change it locked itself out; on full success it now updates
the saved global password (and on a partial change logs a reconcile note rather
than guessing).
- HIGH/perf fill_rows re-rated: a scan's streaming rows triggered a whole-table
refill on every fast tick. New rows_dirty latch flushes the refill at most once
per second during a scan (immediately once it ends).
- MED an indeterminate access-probe result no longer blanks a miner's already-known
locked/unlocked state.
- LOW compute-version.sh header doc corrected to match the broadened rule;
release.yml sets WX_RS_WXCONFIG once at job level instead of per step.
Accepted (documented) perf items that remain: per-render health recompute and
per-column cell-string allocation (small, fleet-scale), the linear upsert scan,
and synchronous scan-range parsing (bounded by the range caps).
99 tests + clippy-clean + selftest green. This was review round 5 (the harness's
iteration cap); every confirmed critical/high across all five rounds is fixed.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
Fourth review round found further issues, two being gaps in earlier fixes; this
clears the actionable ones:
- HIGH board_healths() painted a genuinely-undetected board RED when a fault text
also named it (e.g. "chain 2 not found" -> Board(2)); an undetected board now
stays grey, matching the documented grey-vs-red invariant. Regression-tested.
- HIGH the Change-password prompt used an unmasked field (the Credentials dialog
was masked in wave 1 but this prompt was missed) -> masked for PromptKind::Password.
- MED the WhatsMiner access probe aborted all remaining password candidates on one
transient error -> transient errors now skip to the next candidate and never
report a confident "locked" when the answer was really indeterminate.
- MED config actions / refresh / pools / flash ignored the operator's configured
scan timeout (used asic-rs's 10s default) -> configured_factory now applies it,
so a slow-link action reaches the same miners a longer-timeout scan found.
- MED the auto-rescan loop set a bogus "scanning..." status even when the scan was
deferred (mid-flash) -> begin_scan reports whether it started.
- LOW is_aml_140mm matched every S21, not just the S21 Pro its doc names -> fixed.
- Offline fixtures now reuse scan::infer_pic instead of a diverging copy.
Accepted (documented) from this round: miner_probe's argv secrets (diagnostic CLI),
the rebuild_table/update_headers sort-marker duplication, the LuxOS substring
success check (command-specific reply), restore/flash target snapshot (dialogs are
modal), non-cancellable restore/probe batches, Braiins host-key (LAN reflash), and
the perf items (per-tick refill, health recompute, linear upsert, cell formatting).
99 tests + clippy-clean + selftest green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
Third review round (over the wave 3/4 fixes) surfaced further findings, mostly in
new code paths; this clears them:
- HIGH the fully-built "Boards" column (Column::Hashboards: renderer, sort/filter
logic, tests, a self-test check) was missing from ALL_COLUMNS, so it was
unreachable in the UI and its self-test check was dead. Added to ALL_COLUMNS
(opt-in; Health still shows composite board health by default) and the self-test
now makes it visible -- the dot-sentinel check is live again.
- HIGH apply_pools() could start a pool write during a restore-to-stock (it sets
self.action directly, bypassing start_action's guard) -> same restore guard.
- HIGH superseding an in-flight action/pools job left the old miners' Health cells
frozen on the "…ing" label forever (the replaced handle's drain never runs) ->
clear the superseded action's op-status.
- HIGH clean_antminer() byte-sliced a miner-supplied model string without a
char-boundary check (panic DoS) -> use get(..9).
- MED access-probe errors were silently discarded -> surfaced in the indicator.
- MED the pool-password file was briefly world-readable before chmod -> created
0600 from the start (OpenOptions mode).
- MED a miner-controlled log response was buffered unbounded (OOM DoS) -> capped.
- MED the language-menu id range was hardcoded (and 790-794 collided with the
pool-preset / fw-preset dialog ids!) -> derived from Lang::all() and moved the
dialog ids to a clear block.
- LOW restore_vnish now sends the unlock body via stdin (password off argv), and
the LuxOS restore treats a reboot-dropped/empty reply as success.
Remaining round-3 findings are the previously-accepted perf tradeoffs (bulk-serial
writes, per-tick refill, per-render health recompute, linear upsert), documented
in code and in code-review-report.md.
99 tests + clippy-clean + selftest green (Boards-column check now live).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
Clears the rest of the second review round's confirmed findings:
- HIGH the Boards numeric filter compared the composite sort score (online*100+
total) instead of the board count, so a filter like "Boards <= 3" matched
nothing on healthy 3-board miners. num_value now returns the detected count;
regression-tested with per-board health present (the path the old test missed).
- HIGH the WhatsMiner access probe ignored the operator's saved scan password
(tried only admin/super), mis-reporting writable miners as locked. It now tries
the caller's password first.
- HIGH firmware flash and config actions were not blocked during a restore-to-
stock; start_action and both flash guards now refuse while a restore runs.
- MED log tail() could panic slicing at a non-UTF8 char boundary -> nudge to a
boundary first (regression-tested).
- MED board_index_from_text grabbed an unrelated number far past the keyword
(e.g. a temperature) -> only accept a number immediately after the keyword.
- MED a restore worker-thread spawn failure wedged the restore subsystem forever
-> emit Done on spawn failure and treat a disconnected channel as done.
- MED LuxOS restore reported failure when the miner rebooted mid-reply -> an empty
reply or dropped connection after a successful logon is the expected reboot.
- MED two tests raced on the process-global $HOME -> a shared serialization lock.
- LOW CSV export now neutralizes spreadsheet formula-injection prefixes on
miner-supplied fields.
- Made miner_probe's global-only credential resolution explicit (it can't share
the GUI's per-firmware configured_factory across the bin boundary).
99 tests (+3 regression tests) + clippy-clean + selftest green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
Second review round (over the wave 1/2 fixes) surfaced further, mostly new-path
findings; this clears the substantive ones:
- HIGH log_scan.rs passed miner admin credentials on the curl command line (same
class as the access-probe leak fixed in wave 1). Its curl() now takes optional
stdin: the Antminer digest login goes through a curl config on stdin (-K -),
the VNish unlock password through the POST body on stdin (-d @-), and the
timeout path reaps the child so it no longer leaks a zombie.
- MEDIUM JSON injection/breakage: the VNish unlock body and the LuxOS
uninstall command spliced a password / miner-supplied SessionID into JSON with
format!. Both now build the JSON with serde_json, which escapes correctly.
- MEDIUM column scan cost: fill_rows computed table_columns() twice (my wave-2
built_columns check added one), and with auto-hide-empty on that scans every
cell of every row each time. It is now computed once and reused.
Accepted, documented tradeoffs from this round: miner_probe's setpools takes the
pool password as a CLI arg (inherent to a diagnostic CLI; it is the low-sensitivity
mining worker password), MinerRow::upsert_into's linear scan is fine at the tool's
fleet scale (hundreds), and bulk config-action writes stay serial deliberately.
96 tests + clippy-clean + selftest green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
Continuing the recursive review's confirmed findings:
- HIGH scan telemetry was serial: the consumer awaited each responder's to_row
(get_data + presets, several REST calls) inline in the identification stream
loop, so telemetry ran one miner at a time. Now buffer_unordered runs it
concurrently up to SCAN_CONCURRENCY_LIMIT; identification (which buffers
internally) is unaffected, and telemetry only hits live responders.
- HIGH table columns diverged from the built widget with auto-hide-empty on:
(1) drag-reorder was silently rejected because column_reordered fed
table_columns() (empty-filtered) to apply_visible_reorder, which compared it to
display_columns() (unfiltered) -- apply_visible_reorder now reorders the shown
subset in place; (2) a column flipping non-empty mid-scan left the widget stale,
so fill_rows now rebuilds when the shown set no longer matches built_columns.
Both covered by a new unit test.
- HIGH viewing a miner's log blocked the wx UI thread for up to ~20s. The fetch
now runs on a background thread; the viewer opens from the tick drain when the
result lands (tick returns the dialog for dispatch to show modally).
- LOW start_pools_action's fake branch now honours the cancel flag like its
siblings.
- Documented the intentional tradeoffs the review flagged: scan-restart uses
cooperative cancellation (a hard join would freeze the UI), and the aftermarket
re-probe stays per-scan for freshness (firmware can change between scans).
96 tests (+subset-reorder) + clippy-clean + selftest green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
From the recursive multi-agent review (18 confirmed findings). This wave clears
the critical, four highs, and several mediums/lows:
- CRITICAL restore.rs: a Braiins SSH restore reported SUCCESS on a wrong password
or unreachable miner. run_with_timeout now captures the exit code and drains
stderr on its own thread (also fixing the medium stderr-pipe stall), and a new
testable classify_braiins() treats an ssh auth/connection failure (stderr
diagnostic, empty stdout, non-zero exit) as failure while still reading a
dropped connection / timeout as the expected reboot. Unit-tested.
- HIGH restore exclusivity: apply_restore_confirm now refuses when a scan/refresh/
action/flash or another restore is in flight, so this destructive action never
overlaps or orphans a running restore handle.
- HIGH secrets off the command line: Braiins SSH uses `sshpass -e` (env, not -p),
and the access-probe curl passes credentials through a config on stdin (-K -)
instead of `-u user:pass`; both were visible in the process list. New masked
password field (wxTE_PASSWORD bridge) so the Credentials dialog no longer
renders saved passwords in the clear.
- MEDIUM correctness: per-board Chip-temp readings are now index-aligned with the
boards (a missing middle board shows "-" instead of shifting later boards left).
- MEDIUM: saved pool lists (which can hold a pool password) are chmod 0600.
- LOW: access-probe curl timeout now reaps the child (no zombie).
95 tests (+classify_braiins) + clippy-clean + selftest green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
Cleared all clippy findings in alkane-gui (cargo clippy --no-deps): mechanical
fixes via clippy --fix (redundant imports, useless format!, manual_contains,
manual_is_multiple_of, unnecessary_map_or, unused parens) plus manual fixes:
- type_complexity: factored the segment tuple into model::{Rgb, Segment} aliases.
- large_enum_variant: #[allow] on ScanMsg/RefreshMsg with a note -- Row is the
common variant, so boxing it to shrink the rare Started/Done would add an
allocation per miner on the hot path.
- dead code: removed unused SHAPE_PULSE_DOT, ColorKind::Accent, clear_op_status,
and RestoreMsg's unread `total`; kept the restore/access-probe cancel handles
(workers honour cancellation; UI stop control pending) under #[allow].
- question_mark, needless_range_loop, drop_non_drop, doc_lazy_continuation fixes.
Only vendored wx-rs warnings remain (out of scope). Added LICENSE-MIT and
LICENSE-APACHE (Cargo.toml already declares MIT OR Apache-2.0). 94 tests +
selftest green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
Surfaces the per-hashboard configured voltage (V) and frequency (MHz) that
asic-rs already reads into BoardData but the toolkit dropped. Added
MinerRow.board_voltages / board_frequencies (index-aligned with the boards,
0.0 where unreported), populated at scan time, and appended to the per-board
Health tooltip as extra middot segments after actual/expected hashrate.
Verified live on LuxOS S19j Pro (10.4.1.60): boards report 12.73 V (frequency
is None in LuxOS's live stats path -- a pre-existing backend gap; the tooltip
omits absent values). miner_probe `msgs` now prints board freq/volt too.
The G7 WRITE path (per-board V/F override) stays deferred: no firmware accepts
Manual targets today and a bad voltage can damage a board, so per the parity
roadmap it is bench-only and not shipped.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
The flagship structured-tuning parity item: list and select a firmware's named
profiles/presets, not just map a watts number onto one.
Backend (vendored asic-rs, patch 0022): LuxOS now implements SupportsPresets
(get_presets reads the live `profiles` RPC) and a real SupportsTuningConfig
(set_tuning_config routes Preset(name) -> profileset, Power -> set_power_limit).
Unit-tested (parse_profiles_to_presets); verified live-read on two production
LuxOS S19j Pro (10.4.1.60/.67). VNish already exposed presets.
GUI: MinerCaps.supports_presets + MinerRow.presets (read live at scan time for
preset-capable miners; ~1 RPC per such miner per 300 s rescan). New "Set
profile..." right-click item opens a selector populated from the profiles
common to the whole selection (so the chosen name is valid on every target),
applied via the new ConfigAction::Preset. Offline fixtures seed demo presets.
CLI: `miner_probe presets <ip>` (list) and `setpreset <ip> <name>` (select).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
The pool-field "+" menu previously offered a one-shot "Add new" (append
the current box value) plus a "Remove saved value" submenu. Both are now
replaced by "Add new...", which opens a small manager window: a multiline
editable list of all saved values for that field, seeded with the current
box value as the last line. Save rewrites the whole saved list at once.
- pool_prefs: new save_all() rewrites a field's saved list; the trim /
drop-empties / drop-presets / de-dup step is factored into a pure
dedupe_saved() with unit tests. Removed the now-unused add_saved /
remove_saved.
- ui: build_pool_presets_dialog + apply_pool_presets, wired to
ID_POOL_PRESETS_SAVE/CANCEL; "+" menu shows "Add new..." and no longer
builds the remove submenu; ID_POOL_MENU_REMOVE_BASE dropped.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
Columns previously always opened at generous fixed defaults, wasting
horizontal space. Now, the first time the table is populated after a
(re)build, each column is sized to the smaller of its content-fit width
(wxCOL_WIDTH_AUTOSIZE, floored at 24px) and its configured default (the
cap). Done once per rebuild via a new columns_autosized latch, so a
user's later manual resize is preserved -- scan-update refills skip it.
New bridge: wxbr_dvlc_autosize_col_capped (SetWidth AUTOSIZE, read back,
floor, clamp to cap, SetWidth) + Widget::dvlc_autosize_col_capped.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
- #5 Antminer-hardware firmwares (stock/VNish/Braiins/LuxOS) report faults with no
component, so a real per-board fault landed on the control-board tooltip instead
of the board it names. messages_to_faults now recovers the board index from the
self-describing message text ("Chain 2 ...", "hashboard 0 ...", "Slot 1 ...") so
the issue shows on the right hashboard's tooltip. WhatsMiner (which does attribute
HashBoard{idx}) is unchanged.
- #8a The pools dialog is widened so the rightmost "+" preset buttons (Password
column) are no longer clipped off a too-narrow dialog.
- #8c The pool column headers now span field-width + the 34px "+" button, so the
"Address/Account/Worker/Password" titles line up with the boxes below them.
board_index unit test + SELFTEST pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
- #4a Health-column tooltips now reposition per icon: the query-tooltip handler
scopes GTK's tip area to the hovered icon's slot, so moving across icons hides
the old tooltip and shows a fresh one at the new position (was stuck in place).
- #6 Plain Antminer Z15 firmware omits the expected hashrate (the Z15j reports it),
so it's filled from the model nameplate (420 KSol/s) -- the actual/expected
column + colour now work for Z15 like every other miner.
- #7 Equihash hashrate now shows correct units: Sol/s (not TH/s). The stored value
is Sol/s/1e12, so ths*1e12 recovers the Sol/s count; the per-board tooltip and
the hashrate KPI card now label Equihash as Sol/s with an SI prefix.
Unit tests (equihash_hashrate_units) + health tests pass; SELFTEST PASS.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
- #2 A PSU fault while the miner is mining is now a warning (yellow) not a failure
(red); a fault on a non-mining miner stays red. Fixes WhatsMiners flagged red
while running fine.
- #4b A PSU fault no longer greys the hashboards. Board colour reflects the board's
own state: running -> green, faulted (e.g. WhatsMiner 540/560) -> red, and grey
ONLY when the board is genuinely not detected. Stall-reddened boards the fault
codes don't name are still exonerated to green; undetected boards stay grey.
- #3 The per-board tooltip shows actual / expected hashrate (e.g. "2 . 33.5 / 35.0
TH/s"); a not-detected board shows "not detected". Adds MinerRow.board_expected_
hashrates (from BoardData.expected_hashrate) + an algorithm-aware hashrate unit
(Equihash -> Sol/s, groundwork for #7).
Health tests updated + pass; SELFTEST PASS.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
- #1 The control-board (brain) Health icon is drawn at 82% in its full slot, like
the fan, so it no longer reads oversized (slot advance + tooltip hit-test unchanged).
- #9 The right-click menu now shows a single state-based light toggle: "Stop
flashing lights" when any selected miner's locate light is on, else "Flash lights".
- #11 The PIC column is blank for every unknown case (non-Antminer makes and
unclassifiable Antminer models) -- no more "?".
SELFTEST PASS; pic test updated.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
Bixbit and Hiveon keep the stock Antminer web API, so asic-rs identifies them as
"AntMiner Stock". Distinguish them at scan time from the cgminer `version` reply:
Bixbit tags it with BixFirmware/BixMiner/BixAPIVersion (definitive; verified live on
a Bixbit S19j Pro at 10.4.1.70); Hiveon carries a "hiveon" marker (best-effort --
no live Hiveon unit to confirm the exact signature yet). A real stock miner (no
marker) stays "Stock".
Firmware column colours: Bixbit -> pinkish-red (223,62,102, their logo); Hiveon ->
darker logo orange (228,112,24), with "hiveon" added to the existing hive/hiveos
alias. The probe is a short, timeout-bounded cgminer query run only for Antminer
miners that first identified as stock.
SELFTEST PASS. Hiveon detection to be re-verified once a Hiveon miner is available.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6