Repository navigation
Description
What's the problem
The old finding no longer holds. It said wallets, view keys, rigs, login, onion, alerts, topology and backups were host-CLI-only, so a shell-less appliance could not change them after first boot. Since then, encrypted backup export, restore at setup and the removable-media config channel shipped (#908, #909, #910); #913 shipped doctor detail and a log tail, but not secret or onion rotation; the Telegram approval route (#911) was closed as not planned after #2076 removed it; and since 2.0.0 the host gate commits payout, node and other sensitive changes from the dashboard behind a typed APPLY and, for a payout address, its last characters. The ssh options stay physical-only, and rig descriptors accept an adopt only (edit and removal belong to #912, deferred).
The remaining risk is the lean cutover. The operator rescoped this tracker on 2026-10-21: parity applies only to what survives the lean pass (#3566 sections D, F, G, H, J), and the current dashboard is deleted at the 2.1.0 cutover (#2547). A capability the old tabs have but the four-page UI drops would send a DIY user to the CLI or an appliance owner to a reset. This tracker owns that check. It builds nothing and adds nothing to the current UI.
What it impacts
- Appliance owners (no shell) and DIY owners with a dashboard login, who must be able to configure and maintain the stack from the new pages alone.
- DIY without a login stays read-only by design (one notice naming the CLI route, v2.1.0 lean UI spec: four pages, one profile control, an Advanced drawer #3566 J); that is not a gap.
- The page owners: Settings Sovereign: organize mining and advanced settings without losing fields #2530, Machines Sovereign: make the machines view usable for 2, 50 and 100 workers #2517, Maintenance Sovereign: build maintenance health and contextual troubleshooting #2540 (hosting [Feature] Appliance: reboot and power off from the dashboard #2384) and the wizard Sovereign: redesign setup token, role and essential configuration steps #2543.
How I found it
Read the old body, the 2026-08-13 decision record, the 2026-10-21 block and rescope comments and the sub-issue states (#908, #909, #910, #913 closed; #911 closed not planned; #912 open and deferred) against #3566, the 2.0.0 changelog and the host commit gate on develop. Nothing was run in a browser or on a bench. Unknown: whether #2540 will carry secret rotation, onion rotation and reset; #3566 lists health check, support bundle, server health and topology for Maintenance only.
How important is it
Medium (roadmap P3). It gates no build and no release, but the old UI is deleted at the 2.1.0 cutover, so a dropped capability found afterwards costs real users a CLI trip or a reset. The check should finish before the cutover PR merges.
Acceptance criteria
- A parity table is posted on this issue, one row per row of the old gap table: payout wallet; payout confirmation keys; rig add and edit; dashboard password and onion; Telegram and Healthchecks; node mode and remote hosts; backup and restore; support bundle, doctor detail and secrets rotation. Each row names the new-UI location and the landed issue or PR for the appliance and for DIY with a login, or one recorded disposition: shipped earlier, dropped by the lean pass, deferred (Fleet descriptor editing behind the approval channel #912), or console/CLI-only.
- Settings and Advanced (Sovereign: organize mining and advanced settings without losing fields #2530): on the appliance and on DIY with a login, every key kept as Essential or Advanced can be changed from the dashboard through the preview-and-confirm dialog, with typed APPLY and the payout-suffix check unchanged, and no page tells a DIY user to run
./pithead apply. Evidence is a passing fixture test per platform in the owning issue. - DIY without a login shows Settings read-only with one notice naming the CLI route and no write control.
- Machines (Sovereign: make the machines view usable for 2, 50 and 100 workers #2517): a rig can be adopted from the inspector's Advanced section with typed APPLY on both platforms. Repointing or removing a rig descriptor stays with Fleet descriptor editing behind the approval channel #912 and is listed as a deferral, not a gap.
- Maintenance (Sovereign: build maintenance health and contextual troubleshooting #2540, [Feature] Appliance: reboot and power off from the dashboard #2384): health check and support-bundle download are in Advanced > Maintenance on both platforms; reboot and power off appear on the appliance only.
- Backup and restore: "Back up now" in Settings keeps the shipped encrypted-only export, with a passphrase shown once and never stored on the box, on the appliance and on DIY with a login; the wizard (Sovereign: redesign setup token, role and essential configuration steps #2543) keeps restore from an encrypted backup on the appliance.
- Secret rotation, onion rotation and reset each have a recorded disposition: a dashboard home in Sovereign: build maintenance health and contextual troubleshooting #2540, or a documented console or CLI route. If neither exists, file one bounded issue for it.
- Close this tracker when Sovereign: organize mining and advanced settings without losing fields #2530, Sovereign: make the machines view usable for 2, 50 and 100 workers #2517, Sovereign: build maintenance health and contextual troubleshooting #2540, [Feature] Appliance: reboot and power off from the dashboard #2384, Sovereign: redesign setup token, role and essential configuration steps #2543 and Turn the dashboard settings editor on for DIY installs whenever a login is set #3579 are closed and every table row has a landed location or a disposition. No parity code, no second checker and nothing in the current UI.
Possible solutions
- Recommended: keep this as a tracker with no code of its own. Fill the table as the page PRs land; each owner's PR description states which row it closes.
- Reuse the Sovereign: verify complete feature coverage, accessibility and migration #2547 coverage run as evidence for the rows it already covers instead of writing a second checker.
- If a row has no owner, extend the nearest page issue (Sovereign: organize mining and advanced settings without losing fields #2530 for settings, Sovereign: build maintenance health and contextual troubleshooting #2540 for operations) rather than opening a parity issue.
- Unknown, settle in the table: whether secret and onion rotation get a dashboard home (they never shipped; they waited on the removed approval route) or stay console or CLI-only on the appliance.
Earlier scope, kept as evidence only (superseded 2026-10-27; do not implement from it)
What's the problem
The finding
The control gate's design is correct and must not be weakened: wallets, view keys, auth,
onion exposure, tokens, per-rig descriptors and the security perimeter are deliberately
host-CLI-only — the dashboard container must never be able to commit them, because a
compromised container could then swap a payout wallet or exfiltrate a view key.
But the design's escape hatch is "edit config.json on the host and run ./pithead apply" —
and the appliance HAS no host access: no shell, SSH disabled. Every host-only item is
therefore not "inconvenient" on the appliance, it is impossible after first boot. The
wizard covers most of them at setup; changing them later means a reinstall.
What an appliance operator cannot do today
| Lost capability | DIY path | Severity |
|---|---|---|
| Change the payout wallet | edit + apply | The most important operator action over a machine's life |
| Enable/change payout confirmation (view keys, scan heights) | edit + apply | Flagship feature, post-setup |
| Add/edit a rig in workers.list (per-rig control/upgrade) | edit + apply | Fleet management |
| Change the dashboard password, enable the onion | edit + apply | Security lifecycle |
| Add/change Telegram or Healthchecks after setup | edit + apply | Alerting lifecycle |
| Switch node mode local↔remote, change remote hosts | edit + apply | Topology changes |
| Encrypted backup / restore (wallet settings, Tor keys, config) | pithead backup/restore | Disaster recovery — currently NOTHING exports state off an appliance |
| Support bundle, doctor detail, secrets rotation | CLI | Supportability |
The designed answer, and the appliance-native one
The gate's own comments name the plan: #338 out-of-band approval (Telegram approve/deny
with deny-on-timeout) drops in where the refusal happens today, turning perimeter changes
into dashboard-initiated + second-factor-approved. That is the right general mechanism.
An appliance-native complement worth designing alongside it: physical presence as the
second factor — the machine already reads pithead-config.json from a FAT partition at
first boot; extending that to "a config on inserted removable media, confirmed on the
console, applies on any boot" gives holders-of-the-hardware a host-equivalent channel with
no network trust at all. That is what host-CLI-only actually means operationally: someone
with hands on the machine.
Backup/restore needs its own dashboard surface regardless (download an encrypted
backup.tar.zst; restore at wizard time from an uploaded one — the restore half naturally
belongs to the wizard's pre-seed path).
Sequencing
Pre-GA blockers, in order of user pain: (1) backup export, (2) #338 or the physical-presence
channel for wallet/keys/workers changes, (3) restore-at-setup. The dashboard OS-update
action is tracked separately and compounds with (2).
what it impacts
Impact is not separately established in the existing report; confirm the affected users or behavior.
How I found it
Discovery details are not separately established in the existing report; preserve and verify the evidence already recorded.
how important is it
Importance has not been assessed explicitly; triage must state the priority and its reason.
acceptance criteria
Acceptance is not isolated in the existing report; the agent must identify a testable outcome before implementation.
possible solutions
No distinct solution options are recorded; investigate the existing report before choosing an approach.
Activity
docs: name the appliance's post-setup limit honestly (#786)
feat(os): SSH as a host-only config flag, console login = dashboard p…
VijitSingh97 commentedon Aug 1, 2026
Decomposition proposal. Everything below is derived from the code on
develop(the gate:pithead~L5315–5500) andfeat/phase2-bakery-image(the wizard,os/,docs/appliance.md) — not from this issue's table. Corrections to the table are called out first, then the sub-issues.1. The host-only set as the code defines it today
The commit gate (
control_approval_gate) allows exactly two key sets and refuses everything else, fail-closed:Already dashboard-committable — not lost on the appliance:
CONTROL_DASHBOARD_EDITABLE_KEYS): p2pool flags/port,xvb.enabled+xvb.donation_level,dashboard.tari_required/fail_closed/check_for_updates/ timezone, mem limits, prep threads, hashrate-drop thresholds, the daily-summary time, and all ~26telegram.events.*toggles.CONTROL_DASHBOARD_CONFIRM_KEYS, Config editability: confirm-gate the operationally-disruptive fields (keep the perimeter host-only) #719): the four data-dir moves,p2pool.stratum_port,monero.clearnet_initial_sync/tari.clearnet_initial_sync, prune enable.dashboard.energy.*(config.json-only, explicitly allowed).Refused today — the actual appliance gap, grouped:
monero.wallet_address,tari.wallet_addressmonero.view_key+payout_scan_height;tari.view_key+spend_public_key+payout_scan_birthdayworkers.list[]/dashboard.workers[](refused as a block, per-rig hosts+tokens),workers.api_port/api_auth/api_tokendashboard.auth.*,dashboard.onion.*,dashboard.control.enabled,network.tor_egress_firewall,p2pool.stratum_password/stratum_tls/stratum_bind,ssh.enabled/ssh.authorized_keymonero.mode/tari.mode(DEST-refused),*.remote.*,monero.node_username/node_password,xvb.url/donor_id/tor,network.subnet,dashboard.host/port/secure, the LAN-access toggles,local_miner.enabled(ties to #796)telegram.enabled/bot_token/chat_id,telegram.commands.*/telegram.control.*,healthchecks.ping_url,notifications.webhooks/ntfy.*/tortelegram.events.wallet_changed,telegram.events.clearnet_exposed— excluded from the allowlist on purpose: they are the alarms on the very channel an approval flow would ridePlus the non-config CLI operations:
backup/restore,rotate-secrets,rotate-dashboard-onion,onion-client-key,doctor,reset-dashboard,logs.Corrections to this issue's table:
enabled,bot_token,chat_id) and thecommands/controlblocks. Healthchecks (ping_url) is host-only as stated, andnotifications.*(webhooks, ntfy) belongs on the list too.develop. Nothing to lose; if one is wanted it is a new feature, not parity.provision_console_login, bakery branch), and/data/pitheadholds the full CLI on a writable partition — so someone at the machine with a keyboard has a raw escape hatch today. It is a root shell, not a designed surface, anddocs/appliance.mddeliberately doesn't present it as one. Same for key-only SSH when enabled at setup.#338is closed and shipped (v1.5): per-action Telegram confirmation with deny-on-timeout, per-operator rate limit,telegram.control.allowed_ids/confirm_timeout— but only for the fixed verbs/restartand/apply-current-config. The gate's comment names Telegram two-way control commands (restart / apply) with access control #338 as the drop-in design; the actual gate extension is unbuilt, so it needs a new issue (sub-issue C below), not a reopen.2. Proposed sub-issues
A. Backup export from the dashboard. New fixed control verb
backupon the #33 host runner, next torestart/apply/upgrade: host-side runs the existingstack_backupmachinery, encrypted only (refuse a passphrase-less request outright — the CLI's--no-encryptstays CLI-only), archive lands in a mount the container can serve for download. Mechanism: dashboard surface over the existing spool; no gate change. Coverage: tier 1 for the verb/refusal logic (tests/stack + pytest, like the existing verbs), one tier-4 release-checklist item for the real download. Depends on: nothing. The archive format already exists (pithead-backup-*.tar.gz.enc, #374).B. Restore at setup. The wizard accepts an uploaded encrypted backup + passphrase as an alternative to the config form; host side decrypts and extracts onto
/databefore provisioning, riding the existing firstboot spool ("container asks, host decides") and the pre-seed contract (a rejected archive falls back to the normal form, never blocks). Mechanism: wizard/pre-seed extension on the bakery branch. Coverage: tier 1 for stage/spool logic (test_wizard.pypattern), the KVM install gate for the boot leg. Depends on: A's format only — which already exists, so B is buildable independently; A+B together close the disaster-recovery loop.C. Out-of-band approval at the commit gate. The gate's two refusal classes (non-allowlisted key, DEST row) become a pending approval instead of a flat refusal: prompt shows the exact porcelain diff ("change payout wallet to 4A…xyz — approve?"), deny-on-timeout, per-operator rate limit — the #338 semantics, reusing its shipped config surface (
telegram.control.*). Two hard constraints from the existing design: (1) the host must verify the approval — the shippedControlGatelives in the dashboard container and is documented as UX, not the boundary; a wallet swap cannot trust a container-relayed "approved". The host runner holds the bot token via config.json, so it can drive its own confirm exchange; the mechanism is the core design work of this issue. (2) A never-approve set stays refused even with approval: the tamper-evidence toggles,telegram.bot_token/chat_id/control.*(channel identity — approving a channel swap over the channel is takeover),dashboard.control.enabled,ssh.*(docs/appliance.md commits "neither can be changed from the dashboard later"), and the #728 data-dir destination rule. Config editor surfaces the new class as_approval_keys, same pattern as_editable_keys/_confirm_keys. Coverage: tier 1 heavy (the gate is pure shell, the prompt logic pure Python), tier 4 for one live Telegram round-trip. Depends on: nothing in code; operationally requires Telegram already configured — a box without it can never bootstrap Telegram through this channel, which is exactly what D covers.D. Physical-presence channel: removable media on any boot. Extend the pre-seed path from first-boot-only to every boot:
pithead-boot(or a udev-triggered unit) findspithead-config.jsonon inserted FAT media, validates it with the existing pre-seed machinery, shows the diff on the console, and applies only after a console confirmation; deny-on-timeout or on removal. Same trust statement as host-CLI-only today: hands on the machine. Covers everything, including C's never-approve set, and is the recovery path when Telegram was never configured or its token is lost. Mechanism: appliance-only (os/+pithead-boot), no gate or dashboard change. Coverage: tier 1 for diff/accept/reject logic, KVM gate for the boot-with-media leg. Depends on: nothing.E. Fleet editing behind the approval channel. Lift the categorical
workers.list[]refusal into a C-style approval: add/edit/remove a rig from the Workers view, prompt shows the per-rig host delta. Kept separate from C because it is a different refusal mechanism (config.json-only block, not the env allowlist) and a different UI surface. Coverage: tier 1 (gate + worker view), tier 3 mini-stack for the end-to-end edit. Depends on: C.F. CLI-parity remainder (post-GA).
doctoroutput surfaced or downloadable from the dashboard;rotate-secrets/rotate-dashboard-onionas approval-gated actions;onion-client-keyretrieval. Grouped because each is small and none blocks GA. Depends on: C.3. Recommended order
A → B → D → C → E → F, with A+B+D as the pre-GA bar.
Reasoning: A first because it is the only irreversible loss today — a dead appliance takes wallet settings, Tor identities and the dashboard DB with it, and nothing exports state at all. B second: it completes the recovery loop and rides paths that already exist on the bakery branch. D before C, deliberately reversing this issue's "(2) #338 or physical presence" coin-flip: D restores full parity (including the never-approve set and the no-Telegram bootstrap case) with no new trust decision — holder-of-the-hardware is what host-CLI-only already means — while C introduces the one genuinely hard new design (host-verified remote approval for wallet-grade changes) and covers only its approvable subset. Ship the trust-conservative, complete channel first; C then adds remote convenience rather than being the load-bearing parity answer. E and F ride C. The dashboard OS-update action stays where it is tracked (#77 phases / #394) and compounds with C.
4. Open questions (operator)
ssh.enabledstays physical-presence-only (the docs currently promise it), and whetherdashboard.auth.passwordis approvable via C or belongs with D only.If this breakdown holds, I'll file A–F as issues with these scopes and cross-link them here.
🤖 Generated with Claude Code
VijitSingh97 commentedon Aug 13, 2026
Decision record (2026-08-13)
Operator direction: research what the major appliance projects do, decide along those lines, optimizing for stability, security, ease of use for the end user — Talos-inspired, but approachable. Research ran across Talos, Home Assistant OS, TrueNAS SCALE, OPNsense/pfSense, Synology, UniFi and umbrelOS, plus a fresh recon of this repo's appliance line. The six open questions are now decided; sub-issues are filed as #908 (A), #909 (B), #910 (D), #911 (C), #912 (E), #913 (F).
The six answers
Pre-GA bar = A + B + D (Appliance backup export from the dashboard: encrypted archive + one-time emergency kit #908 backup export, Restore at setup: the wizard accepts an encrypted backup in place of the config form #909 restore at setup, Physical-presence config channel: removable media applied at boot with console countdown #910 physical channel). C is a post-GA fast-follow. Every peer ships local export/restore/physical-recovery as the baseline and layers remote convenience later, if ever; the only true no-hands remote recovery found anywhere (UniFi cloud SSO reset) rides a cloud identity a Tor-first product rules out. Accepted consequence, stated deliberately: a remote-sited box with no hands nearby has no wallet-change path until Out-of-band approval at the commit gate: host-verified, non-destructive sensitive keys only #911 ships.
Never-approve set (physical-only forever, no second factor overrides):
ssh.*, the approval channel's own identity (telegram.bot_token/chat_id/control.*as a block),dashboard.control.enabled, the tamper-evidence alarm toggles, anddashboard.auth.password— it is set as the root console password every boot, so it is root-credential rotation, not a web password change. Peer evidence is unanimous that the admin channel's trust anchor is never changeable through itself, and physical presence outranks every software factor (Synology's reset button disables 2FA by design).Console break-glass: documented, supported. Already shipped — docs/appliance.md documents console login = dashboard password and the ssh opt-in, and the two resets. All four peer families document their physical recovery paths in first-party docs; hiding a physical-access-gated capability protects nobody but the legitimate operator. Possible future follow-up (not filed, deliberately): scoping the console the way Talos scopes its console dashboard, rather than a full root shell.
Backup passphrase = the emergency kit (auto-generated per export, shown once, downloadable, never retained on-box). This reverses my earlier typed-per-export lean, on the strength of the closest-user peer: Home Assistant built exactly this for exactly our user, while typed passphrases are the sysadmin-peer pattern and umbrel's standing password shows what end users do with self-chosen secrets. The UI must carry a real "download this now — it cannot be recovered" moment.
C stays non-destructive in v1. DEST-flagged topology changes (node local↔remote, data-dir destinations) remain refused through the approval channel; physical/local only. No peer extends remote approval to its most destructive operations — the pattern is added local friction (TrueNAS type-the-name), never a remote shortcut. A destructive-ops channel would need its own threat model.
D confirms by countdown, not keypress. Media insert + power-cycle are the deliberate physical acts (HAOS's media-authorized SSH unlock is the precedent — zero keyboard, for a more sensitive capability); the console shows the exact diff, a countdown applies, media removal aborts, a keyboard is optional. Credential-less on purpose: D is also the forgot-password path, exactly like Synology's reset button. An attacker with hands on the box owns it today regardless; D adds tamper-evidence (alarms fire), not a new exposure class.
Corrections to the decomposition, from recon
doctor --jsonandsupport-bundleshipped in 2026-07 — Surface the existing CLI remainder on the dashboard: support bundle, doctor detail, rotations #913 (F) is surfacing, not building.worker-apply/worker-upgradeverbs already push rig tuning to configured rigs — Fleet descriptor editing behind the approval channel #912 (E) shrinks to the descriptor block only.Accepted risks, written down so they stay decisions
Implementation starts with #908 → #909 → #910 once the current appliance fix wave merges.
VijitSingh97 commentedon Aug 13, 2026
The pre-GA parity set (A/B/D) is implemented and up for review — each behind its own security + verifier pass:
All three are tier-1 green; their KVM legs prove in the next appliance battery before merge. C/E/F (#911/#912/#913) remain the post-GA fast-follows per the decision above.
test(stack): split the appliance-media domain into its own file (#1105 …
fix(control): #1888 a running dashboard can repoint the node endpoint…
docs: reconcile os/KNOWN-ISSUES.md with the issue tracker (#2046)
Tari merge-mining is switchable from the dashboard, and the config vi…
test(frontend): follow the host-only tooltip to its new wording
fix(control): the dashboard commit gate can no longer approve its own…
3 remaining items
pithead-developer commentedon Oct 21, 2026
Blocked (operator, 2026-10-21): this screen binds to configuration, so it waits for the lean UI spec (#3566) and for the v2.1.0 configuration model (#3557, the profile, defaults table and key diet). Unblocks when both close.
pithead-developer commentedon Oct 21, 2026
Rescoped to the lean UI spec #3566 (operator, 2026-10-21): Stays as the appliance-parity tracker, rescoped to the lean model: parity is only for what survives the lean pass. Settings parity is delivered by ruling 1 of 2026-10-21 through the Settings page (#2530), which edits every surviving key on both platforms. What remains here is host-CLI-only actions an appliance user cannot do, which are tracked under Maintenance (#2540, #2384). Close this tracker when #2530 and #2540 land and no gap remains.
pithead-developer commentedon Nov 16, 2026
Blocked on #2530.
Blocked on #2540.
Blocked on #2543.
Blocked on #3557.
Blocked on #3579.
Tracker. The native blocked-by links name these open issues. Close it by hand after #2530 and #2540 land and a gap check finds nothing missing.