Dashboard (src/dashboard.rs): the on-box UI now renders from schema/alkane-bb.json through flare-ui and wschema. The sidebar, the tab strip and all 20 settings controls come from the schema; the host boundary does what the crates require - validate the submitted batch with wschema before persisting, ignore keys that are not in the schema, and never write on a rejected form. Settings live in /etc/alkane/settings.json (temp dir when the root is read-only). Web: GET /<section> and /<section>/<tab> render the dashboard, /assets/* serves the crate's embedded token/component/theme stylesheets, POST /settings applies a form. The existing JSON API routes are untouched. Settings wired (all from real runtime knobs): tuning target mode and its four values, frequency ceiling, the PID gains and limits in milli-units (the schema has integer kinds only), fan zones/duty/sweep, detection ports and budget, profile database path, board name. Tests: 10 dashboard tests (schema loads, all settings present, page renders inputs, valid submit persists and reloads, out-of-range rejected with nothing written, unknown keys ignored, percent decoding) plus the existing 162. 172 pass. Packaging (ci/make-afw.sh): .afw modelled on the Warden .wfw bundle - strict POSIX ustar, manifest first, payload verified by size and sha256 - with three deliberate differences: the payload is gzip-compressed, the manifest carries and x86_64, and both appear in the file name (alkane-os-0.1.0-am335x-bb-armv7.afw) so a bundle cannot be mistaken for another family. Signature is declared in the manifest until a release key exists; the sha256 is the only integrity claim today.
Alkane OS
Rust mining and tuning core for Alkane control boards. The SDK builds board images and provides the hardware backend. The miner has no on-board web frontend.
Status
The host miner supports BM1362 and BM1366 through the SDK's simulator HAL and Stratum V1. Tests have replayed 33 captured BM1366 shares and one BM1362 share to a loopback pool with matching ACCEPT responses. Production board control is still under development.
The BM1370 module encodes a captured S21 Pro job and parses captured nonce frames. Work-ID mapping, chain control, and pool acceptance remain open.
The HAL client requests PSU shutdown on sensor faults and reserves work IDs until a confirmed reset or shutdown. A production backend still needs a power lease, watchdog, and validated temperature limits. SHA-256d and Litecoin Scrypt proof verification are implemented; Scrypt chip report handling and mining remain open.
Run alkane-os --list-targets for the target matrix. Set POOL_PASSWORD to
the pool password, then mine with a simulator HAL socket and Stratum V1 pool:
ALKANE_POOL_PASSWORD="$POOL_PASSWORD" alkane-os --mine-simulator HAL_SOCKET POOL_ADDRESS WORKER BM1366
Use BM1362 for that chip. Set ALKANE_API_LISTEN=127.0.0.1:4028 for
read-only summary and version commands; reach it remotely through SSH.
Release gate
main runs tests, benchmarks, and conformance before release; next builds
release candidates. The release gate is red. It requires all 64 same-vendor
pairings (52 Bitmain, 12 WhatsMiner), unmodified stock firmware, captured
silicon nonces, difficulty-1 pool acceptance, and bench-validated models.
Stock firmware may faithfully reject a pairing; Alkane OS must mine it.
See the evidence contract.
Badges cover host code, not board conformance. See the public benchmark history.
Local checks
CARGO_TARGET_DIR=/var/tmp/alkane-os-target cargo test --locked
Use an executable target directory if the source mount is noexec.
License
MIT. Vendored dependencies keep their own licenses.