feat(setup): offer native Windows and WSL gateway modes#938
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 7, 2026, 3:24 AM ET / 07:24 UTC. Summary Reproducibility: not applicable. this is a feature PR rather than a current-main bug report. Source and diff review show a new native runtime mode and setup UI path, not a failing reproduction case. 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
Maintainer decision needed
Security Review detailsBest possible solution: Land the native-first setup path only after maintainers accept the release direction and current-head proof for fresh native install plus key WSL/native switch and uninstall paths. Do we have a high-confidence way to reproduce the issue? Not applicable; this is a feature PR rather than a current-main bug report. Source and diff review show a new native runtime mode and setup UI path, not a failing reproduction case. Is this the best way to solve the issue? Unclear pending maintainer direction; the implementation is cohesive and well covered, but making native Windows the recommended onboarding path is a product and release-safety choice. The safer merge path is explicit maintainer acceptance plus upgrade-mode proof. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 2c6873e8f20f. Label changesLabel 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
Review history (1 earlier review cycle)
|
|
@steipete this is a massive deal, we will do a bunch of testing and report back |
|
Can we consider shipping the native Windows experience as an opt-in capability initially? Running OpenClaw natively on Windows without any form of containment appears too risky for many enterprise scenarios. At the same time, introducing containment from day one may significantly impact usability until we have sufficient experience tuning and validating the appropriate policy set. An opt-in approach would allow us to gather real-world feedback, understand customer adoption patterns, and iteratively refine the containment model before making it the default experience. For reference, the current containment work is tracked in Containment PR - openclaw/openclaw#97086 |
Pre-merge blockers and native/WSL parity gapsI took a pass through the PR locally and compared the native Windows path against the current WSL path and the macOS gateway-control model. I think these should be addressed before merge. Merge blockers / must-fix before merge
Important parity gaps
Recommended framing changeCurrent PR wording says native is recommended because it is simpler/no WSL. I’d change the product framing to:
Things that look okay
|
Summary
Builds on the onboarding redesign from #925.
Verification
2026.6.11version unchangedThe Parallels validation VM can run WSL 1 but cannot provide the nested virtualization required for WSL 2, so a fresh WSL 2 provisioning run is not claimed here. The WSL choice/review path and runtime-selection/switching behavior remain covered by the setup test suite and existing CI E2E lane.