Add persistent Local Gateway setup card#675
Conversation
Expose setup from Settings even after a local gateway exists so users can re-run local WSL setup or provider/model configuration from a discoverable place. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Codex review: needs maintainer review before merge. Reviewed June 3, 2026, 3:22 PM ET / 19:22 UTC. Summary Reproducibility: not applicable. for a PR review of a settings affordance change; source and docs show the current setup affordance is intentionally conditional when an app-owned local WSL gateway exists. Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the persistent Settings affordance if maintainers accept the UX, while keeping the existing onboarding command path and confirmation before any local WSL gateway replacement. Do we have a high-confidence way to reproduce the issue? Not applicable for a PR review of a settings affordance change; source and docs show the current setup affordance is intentionally conditional when an app-owned local WSL gateway exists. Is this the best way to solve the issue? Yes. Reusing IAppCommands.ShowOnboarding avoids duplicate setup logic, and the existing SetupEngine confirmation still guards the destructive replacement path. AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against f839cf53aa0c. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
Summary
Adds a persistent Local Gateway setup card to the Settings page so users can always relaunch setup after installing a local WSL gateway. Previously, the setup/reconfigure affordance was hidden once an app-owned WSL gateway existed, making it harder to discover how to rerun setup or provider/model configuration.
The new card:
OpenClawGatewayWSL distro or reruns provider/model setup for an existing local gateway.en-us,fr-fr,nl-nl,zh-cn, andzh-tw.Screenshot
Review
Ran the repo
autoreviewhelper with a Hanselman-style high-signal prompt. The default Codex review engine was unavailable in this environment, so I used the installed Copilot engine with the helper's explicit unsandboxed-tools opt-in.Command:
Result:
autoreview clean: no accepted/actionable findings reported.Validation
./build.ps1✅dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore✅ 2074 total, 2045 passed, 29 skippeddotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore✅ 934 total, 934 passedThe first
--no-restoretest invocation hit the repo-documented fresh-worktree no-op behavior, so I ran both test projects once with restore enabled and then reran the required--no-restorecommands successfully.