Repository navigation
Description
What's the problem
The wizard's rig step collapses to "a pool address, a worker name and an optional stratum password" (renderRigFields in dashboard/mining_dashboard/web/static/wizard/setup.mjs and formparts.mjs, posting to _submit_rig in wizard/server.py): Pithead-only wording, no scheme or TLS choice, and no way to say "this is not my Pithead". The confirmation card (stages.mjs, using rigCardFields/rigCardNote from dashboard/mining_dashboard/web/static/workers/rigcardlogic.mjs) frames the control token only for the paired-Pithead case and never says the token travels over plain HTTP on the LAN. A failed pool dial today surfaces as a stopping error; #4009's contract turns it into a warning you continue past, and this issue shows it.
What it impacts
Every operator setting up a rig; especially public-pool owners — the field mislabels a user-or-wallet as a worker, TLS cannot be chosen, and the token card hides its LAN exposure.
How I found it
Split from #4009 (owner decision 2026-11-10, item 4), reading the files named above.
How important is it
High for 2.1.0 — it is the user-facing half of making the rig stand alone.
Acceptance criteria
- The rig step offers My Pithead (prefilled when the host's discovery answered an address) and Another pool; it is a choice, never inferred from what the user typed.
- Another pool: the second field is labelled user-or-wallet (label only — the wire field and its hostname default are unchanged), the password stays optional, a TLS on/off choice is offered, and with TLS on an optional fingerprint-pin input appears (client shape check, 64 hex; the server re-checks with the contract's 400).
- My Pithead submits paired true, Another pool submits paired false, plus tls/tls_fingerprint per the contract. Host and port shape validation stays exactly as is.
- The
rig-warning.txtsidecar from the contract surfaces on the confirmation screen as a warning, and the card can still be acknowledged — a failed dial does not stop the flow. - The token card shows in both cases, worded for each, and states that the token travels over plain HTTP on the LAN; the Another-pool wording says no Pithead adopts this rig automatically. Exact sentences are the implementer's; both cases showing is the criterion.
- No Pithead-only field becomes mandatory; the coordinator flow stays byte-for-byte untouched. rigcardlogic wording updates its node tests and both consumers that render it.
- Tests fail without the change: node --test for the rig field shape and the submission body in both modes and for the warning on the confirmation screen; browser-journey coverage for the new step in the way the existing wizard journeys are registered with CI.
Possible solutions
- A two-option choice in the rig step, defaulting to My Pithead when discovery answered, Another pool otherwise.
- Keep the spool fields flat per the contract; the form reshape is the only new UI.
Parent: #4009
Worker brief: Test tier: tiers 1-3 on GitHub — the dashboard node --test modules, the browser journeys, and frontend lint on the files touched; name that row in the PR body. There is no bench row of its own; if a tier4-kvm rig-phase job covers the full head in a sibling child, link it as corroboration, do not duplicate it.
Depends on: the #4009 contract child for the wire fields (tls, tls_fingerprint, paired in rig-request.json, _submit_rig's 400s, and the rig-warning.txt sidecar surfaced as an additive wizard-state field — coordinate the exact field name if that PR lands first).
Read renderRigFields (setup.mjs/formparts.mjs), the Done/confirmation card (wizard/stages.mjs), rigCardFields/rigCardNote (workers/rigcardlogic.mjs), and _submit_rig (wizard/server.py). Sovereign-UI rule: touch only the wizard flow — never the dashboard UI being deleted at the 2.1.0 cutover; rigcardlogic's note must stay true for every consumer that renders it. Run the wizard modules' node --test and biome on your changed frontend files on the Mac; never Docker here. No comments in code. Branch from origin/develop-v2.1.0; PR base develop-v2.1.0.
Activity
pithead-developer commentedon Nov 24, 2026
Blocked on #4065. I made no edits. I read #4067 and #4068, their parent #4009 and the wizard server code on develop-v2.1.0, and neither issue can start. The #4065 pool-kind contract (
paired,tls,tls_fingerprint, and therig-warning.txtsidecar surfaced as a wizard-state field) is not on develop-v2.1.0. Its PR #4189 is still open, and_submit_righas nopairedor TLS handling. #4067 needs those wire fields and the exact name of the warning field in wizard state. Building the UI against an unmerged PR would mean guessing both. #4068 says to stop and report if any of the three other #4009 children (#4065 contract, #4066api_allow_frombranch, #4067 wizard UI) has not landed, and none has. I am blocking on #4065 because it comes first in the chain and #4067 can proceed once it lands. #4066 must also land before #4068 can run, and #4068 needs #4067 as well. Nothing is finished yet. Next step: when #4189 merges, resume this session, branch from develop-v2.1.0, and do #4067 (wizard UI plus node and browser tests, tiers 1-3). Do #4068 (tier4-kvm rig leg) only after #4066 and #4067 have merged. If the group should be split, release #4068 now. It also depends on #4066, which is not started, so it would return to the queue unblocked only when that lands.The runner resumes this issue when that one closes.