Repository navigation
Closed
Labels
P0Emergency: data loss, security bypass, crash loop, or unusable core runtime.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:data-lossThis issue is about lost, corrupted, or silently dropped user/session/config data.impact:ux-release-blockerA non-technical user is blocked without terminal, logs, config, or support.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.
Milestone
Description
Summary
In Local AI settings, clicking "Retry setup or download" relaunches the setup wizard and re-creates the WSL sandbox, destroying the previously working one. After this, if you navigate away and select Local AI again, the "Install & setup" button is greyed out and cannot be clicked — the whole Local AI workflow is left in a broken, unrecoverable state.
Steps to reproduce
- Open OpenClaw Windows Companion → Local AI.
- With
llama-serverin anErrorstate (see screenshot 1), click "Retry setup or download". - The OpenClaw Setup wizard opens ("Set up OpenClaw" → "Install a local gateway (WSL)"), and proceeds to re-create the WSL sandbox instead of repairing/reusing the existing one.
- Navigate back to Local AI in settings.
- The "Install & setup" button is now greyed out / disabled and cannot be clicked.
Expected behavior
"Retry setup or download" should repair or resume the existing Local AI/WSL setup without destroying the previously created sandbox. If a full re-create is unavoidable, the Local AI page should still leave the user with a usable, clickable path to reinstall (e.g. "Install & setup" should not be permanently disabled).
Actual behavior
- The existing WSL sandbox is destroyed and replaced by the wizard.
- After the wizard runs, re-opening Local AI shows "Install & setup" greyed out with no way to proceed, leaving Local AI unusable until a manual/reinstall workaround is found.
Screenshots
Environment
- App: OpenClaw Windows Companion
- Component: Local AI (Sandbox / WSL setup wizard)
Reacted by clawsweeper
Metadata
Metadata
Assignees
Labels
P0Emergency: data loss, security bypass, crash loop, or unusable core runtime.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:data-lossThis issue is about lost, corrupted, or silently dropped user/session/config data.impact:ux-release-blockerA non-technical user is blocked without terminal, logs, config, or support.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Priority
None yet
Activity
clawsweeper commentedon Sep 3, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed September 8, 2026, 11:53 PM ET / September 9, 2026, 03:53 UTC.
Summary
Current main still routes Local AI retry into destructive-capable onboarding. The linked recovery PR remains open, so this issue is still necessary and already has an implementation candidate.
Reproducibility: yes. for the central routing defect: current source connects retry to general onboarding and destructive-capable provisioning. No runtime reproduction was performed, and permanent button disablement is not established.
Next step
Review and resolve #1357 before closing this issue; its explicit ownership rules out a duplicate repair PR.
Review details
Best possible solution:
Provide an owner-bound in-app Repair flow that preserves gateway data, refreshes eligibility, and explains recoverable hardware or networking blockers.
Do we have a high-confidence way to reproduce the issue?
Yes for the central routing defect: current source connects retry to general onboarding and destructive-capable provisioning. No runtime reproduction was performed, and permanent button disablement is not established.
Is this the best way to solve the issue?
Yes, the linked PR's dedicated non-destructive recovery direction addresses the wrong workflow boundary; its real recovery outcome still needs validation before this issue can be resolved.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning medium; reviewed against eef8dcd63d58.
Label changes
Label justifications:
P0: A recovery action reaches distro-replacement setup and leaves the reported Local AI workflow without a usable recovery path.impact:data-loss: The retry route can reach unregister and deletion of the existing app-owned WSL distro.impact:ux-release-blocker: The report describes blocked in-product Local AI recovery requiring a manual or reinstall workaround.Evidence reviewed
What I checked:
src/OpenClaw.Tray.WinUI/Presentation/LocalAiPageViewModel.cs:191, eef8dcd63d58)src/OpenClaw.SetupEngine/CleanupStaleDistroStep.cs:83, eef8dcd63d58)src/OpenClaw.SetupEngine.UI/Pages/CapabilitiesPage.xaml.cs:782, eef8dcd63d58)src/OpenClaw.Tray.WinUI/Presentation/LocalAiPageViewModel.cs:191, c7c6fb06be03)Likely related people:
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.