Repository navigation
Description
Problem
Local AI setup may download roughly 20 GB. Once the download starts, users need obvious recovery controls if it stalls, the network changes, or they reconsider enabling Local AI.
@jacobtomlinson, tagging you for setup and Local AI UX context.
Proposed behavior
Show Back, Restart, and Cancel prominently on the model-download screen. Keep all three actions directly visible while an acquisition attempt is starting, active, stalled, or retrying. After failure, keep Back and Cancel visible and present Restart as the primary retry action.
- Back: stop or quiesce the active transfer safely and return to the Local AI model-selection step so the user can change or disable the selection.
- Restart: stop active work, normalize partial setup state, and restart Local AI acquisition from a known-good model-selection or acquisition state.
- Cancel: exit setup cleanly and explain where the user can resume it later.
- Ask for confirmation when an action will discard progress or downloaded data.
- Clearly state whether a verified partial download will be retained for resume or removed.
Scope and related issues
This issue covers only the SetupEngine Local AI model-acquisition stage before Gateway provisioning.
- Setup UI cannot safely back out of the Gateway installed handoff #1246 covers navigation and cancellation at the later Gateway installed handoff.
- Bug: onboarding Back rewinds Companion UI but not Gateway wizard session #1172 covers attempting to rewind Gateway-owned wizard questions after that handoff.
- Change Local AI setup after installed #1243 covers reconfiguring Local AI after installation.
The implementation should reuse existing cancellation, resumable-download, and artifact-preserving rollback mechanisms where possible rather than introducing a parallel download lifecycle.
Acceptance criteria
- Back, Restart, and Cancel remain prominently visible throughout active model download and recovery states.
- Back returns to an editable Local AI choice without leaving a download or background setup task running.
- Restart produces a consistent fresh setup state without duplicate workers or corrupt partial artifacts.
- Cancel exits cleanly and provides a clear path to resume setup later.
- Destructive actions communicate whether partial download progress will be retained.
- Tests cover an active download, simulated stall, failure, partial artifact, and app restart.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon Aug 27, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed August 28, 2026, 12:01 PM ET / 16:01 UTC.
Summary
Keep open for a maintainer product decision. Current main has detailed Local AI download progress but no direct Back, Restart, or Cancel controls, and the requested actions need explicit navigation and partial-download retention policy.
Reproducibility: yes. at source level. Current main's download progress footer has no Back, Restart, or Cancel controls, and its only cancellation trigger is page unload; no Windows runtime was executed in this read-only review.
Maintainer decision needed
Why: Current code supports resumable range downloads but pipeline rollback removes partial artifacts, so the requested controls require a user-facing data-retention contract before implementation.
Next step
A maintainer must select the visible partial-download and navigation semantics before a safe focused implementation can be scoped.
Review details
Best possible solution:
Add one SetupEngine UI recovery controller after product policy is chosen: cancel and await the active run, prevent stale completion navigation, return safely to model selection, and preserve validated partials unless the user explicitly confirms discard.
Do we have a high-confidence way to reproduce the issue?
Yes, at source level. Current main's download progress footer has no Back, Restart, or Cancel controls, and its only cancellation trigger is page unload; no Windows runtime was executed in this read-only review.
Is this the best way to solve the issue?
Unclear until the retention policy is selected. Reusing the existing cancellation, rollback, and range-resume mechanisms is the maintainable path, but direct controls must not create a parallel download lifecycle.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning high; reviewed against ae766dc21bbd.
Label changes
Label justifications:
P2: This is a bounded setup-flow improvement, but it requires a deliberate recovery-data policy before implementation.impact:ux-friction: Users undertaking a long Local AI download currently lack visible recovery controls in the active setup screen.Evidence reviewed
What I checked:
src/OpenClaw.SetupEngine.UI/Pages/ProgressPage.xaml:114, ae766dc21bbd)src/OpenClaw.SetupEngine.UI/Pages/ProgressPage.xaml.cs:62, ae766dc21bbd)src/OpenClaw.SetupEngine/LocalAiSetupSteps.cs:471, ae766dc21bbd)tests/OpenClaw.SetupEngine.Tests/LocalAiInstallRecoveryTests.cs:112, ae766dc21bbd)src/OpenClaw.SetupEngine.UI/Pages/ProgressPage.xaml:125, ccd64bbb7d68)Likely related people:
src/OpenClaw.SetupEngine/LocalAiSetupSteps.cs,src/OpenClaw.SetupEngine.UI/Pages/ProgressPage.xaml)src/OpenClaw.SetupEngine.UI/Pages/CapabilitiesPage.xaml,src/OpenClaw.SetupEngine.UI/Pages/ProgressPage.xaml.cs)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.github-actions commentedon Sep 12, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updated OpenClaw Windows details or it will be closed.
github-actions commentedon Sep 19, 2026
Closing due to inactivity.
If this still affects OpenClaw Windows, open a new issue with the current version, logs, and fresh reproduction details.