Skip to content

Sovereign: redesign restore, failed setup and one-time handoff #2545

Closed as not planned

Description

@VijitSingh97

What's the problem

Parent: #2478 · Milestone: Sovereign UI — post-2.0 · After 2.0.0 GA; not a GA release blocker.

Deliverable

Complete first run and recovery without losing one-time credentials or reporting readiness before the server does.

  • Work type: Existing recovery redesign.
  • Design references: 12 handoff; 15 restore; saved-role/failed-install states (existing Sovereign mockups attached below; sample data, not runtime evidence).
  • Inventory coverage: W7–W10.

Existing Sovereign mockups

Existing concept images with sample data. The acceptance criteria and validated host/API contracts take precedence over illustrative labels or values.

15 · Setup restore

Sovereign — Setup restore

12 · Setup handoff

Sovereign — Setup handoff

Complete 36-image gallery · Parent: #2478

what it impacts

Dependencies and boundaries

Build on #2543, #2544, #2541.

Use the current host/API/schema contract when implementation starts; the design inventory is a baseline, not proof that develop has not changed. Preserve the parent accessibility, privacy, offline and authority rules. Any missing backend capability must be explicit, never represented by fabricated live data.

How I found it

Verification

Test bad/oversize archive, wrong passphrase, failed install/retry, reload in each stage and acknowledgement of one-time material using existing wizard contracts. Follow #2478's required checks and attach sanitized visual evidence to the implementing PR. This issue does not authorize a live deployment or changes to miners/nodes.

how important is it

Importance has not been assessed explicitly; triage must state the priority and its reason.

acceptance criteria

Acceptance criteria

  • Keep restore in setup/installer, preserve archive/passphrase host validation and the current 64 MiB limit, and announce errors with correct focus.
  • Explain that chains are excluded; preserve saved-role keep/setup-again/restore and wiped-recovery warnings.
  • Render setup/installing/failed/handoff/done from server state, survive reload, preserve valid choices and retry failed work only.
  • Present credentials, URLs, stratum/rig details and emergency material once, with required acknowledgement and safe copy behavior.
  • Keep provisioning waits and installer shutdown/USB-removal instructions tied to verified stages; never enable finish early or imply a restored archive is a synced node.

possible solutions

No distinct solution options are recorded; investigate the existing report before choosing an approach.

Activity

  1. added
    enhancement
    dashboard
    setup
    security
    on Sep 22, 2026
  2. pithead-developer commented on Sep 24, 2026

    @pithead-developer
    Contributor

    Investigation brief (operator pre-read, 2026-09-23) — verified against develop @ a5af51a

    pithead#2545 asks for a visual/UX redesign of the setup restore, failed-install, and one-time handoff screens to match the Sovereign mockups (12, 15). It does not report a defect: the underlying flow is implemented and working today.

    Root cause: N/A (feature/design-parity request, not a bug).

    Fix shape: frontend-only restyle of the three existing stages, driven off the existing server stage machine (installer|failed|installing|handoff|done) and the existing /submit-restore, /retry, /handoff-ack endpoints — no new backend surface, no archive-contract change (64 MiB limit and passphrase validation stay as-is per its own AC).

    Evidence tier: tier4-e2e (this is control-plane UI gating real disk-wipe/restore actions, squarely inside "deploy/upgrade/restore" and "control plane" under tier-follows-the-path); extend dashboard/tests/web/test_wizard_restore_limits.py and test_wizard_handoff_rig_and_restore.py rather than relying on a tier-1 string check.

    Dependencies: the issue itself says "Build on #2543, #2544, #2541" (confirmed verbatim in the live issue body) — recommend sequencing implementation after #2543 (shared wizard shell) lands; #2541 shares the same handoff/restore mockup images and needs a scope line (backup-creation side vs. restore side) to avoid duplicate UI work.

    Triage recommendation: CONFIRM-no-move (corrected from the draft's "MOVE-sovereign-ui", which contradicted its own reasoning) — issue is already correctly milestoned to "Sovereign UI — post-2.0", confirmed OPEN and non-blocking; pure redesign of a working flow; no security/data-loss/Tari-fork reason to pull it into 2.0.0. No milestone change needed; this is a confirmation, not a move.

    Verify against the code before relying on this; it was written by an investigator, not the implementer.

  3. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Blocked on #2543, with the other stated prerequisites #2544 and #2541 also still open. The current develop wizard still uses its existing shared dashboard styles and stage components; the Sovereign setup shell, storage review, and backup/recovery presentation this issue must build on have not landed. PR #2782 was closed without merging, and the owner explicitly left its theme tokens for #2512, so it does not supply those prerequisites.

    Investigation is complete and the working tree is clean; no code, tests, or PR were changed. Resume this issue after the prerequisite implementations land, then reconcile their current stage, storage, and one-time-material contracts before implementing and testing restore, failure recovery, and handoff. The prerequisite issue owners must deliver those changes; no bench or operator infrastructure action is needed for this hold.

  4. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Blocked on #2543. Blocked on #2543’s Sovereign setup shell; the stated storage and backup prerequisites #2544 and #2541 also remain open. Confirmed the preview PR #2782 closed unmerged, posted the blocker explanation on #2545, and left the clean working tree unchanged; resume after the prerequisite implementations land.

    The runner resumes this issue when that one closes.

  5. added
    blocked
    on Oct 21, 2026
  6. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    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.

  7. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Rescoped to the lean UI spec #3566 (operator, 2026-10-21): Folded into #2543 (setup wizard). Restore, the failed-setup screen and the one-time hand-off are wizard steps and keep their acceptance criteria, including #3327 (no duplicate restore uploads while waiting). The wizard JSON editor is removed; restore-from-backup is the expert path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockeddashboardenhancementsecuritysetup

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions