Repository navigation
fix(onboarding): reorder unsupported native Gateway choice - #1602
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed October 2, 2026, 9:09 AM ET / 13:09 UTC (Revision 9). ClawSweeper reviewWhat this changesThe PR places WSL and existing-Gateway connection before disabled native setup, promotes native setup after confirmed support, preserves selection during reordering, and updates documentation and tests. Merge readiness✅ Ready for maintainer review The change remains useful because current main still places disabled native setup first. No introduced correctness or security defect was found, and the member-authored PR is ineligible for automated closure. Priority: P2 Review scores
Verification
How this fits togetherThe Windows onboarding chooser combines the user's preferred Gateway route with a device capability result. It then directs the user toward native installation, WSL setup, or an existing Gateway connection. flowchart TD
A[User route choice] --> C[Onboarding chooser]
B[Device capability result] --> C
C --> D{Native support confirmed}
D -->|Yes| E[Native first and enabled]
D -->|No| F[WSL first and native disabled]
E --> G[Selected setup route]
F --> G
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Keep one capability-driven chooser that presents usable routes first while preserving the user's selection and native admission checks. Do we have a high-confidence way to reproduce the issue? Not applicable as a runtime bug reproduction: source inspection confirms main's native-first ordering and the branch's capability-dependent replacement; no native UI execution was performed. Is this the best way to solve the issue? Yes. Reordering the existing choices is a narrow presentation change that retains the established capability and route-selection owners. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 407bc7728826. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (8 earlier review cycles)
|
a02255d to
c6c42fd
Compare
27a10a9 to
2262375
Compare
Scoped maintainer triage verdictNEEDS_HUMAN_TEST. Take confidence: 70%. Recommendation confidence: 94%. Reviewed head: Basis and remaining gatesNo blocking source defect or capability-admission weakening was established. Reported ARM64 build, Shared 4,221, Tray 3,890 and 21 focused tests passed. Native-input proof was blocked by Parallels input. Prove checking/unavailable/supported order and preservation of an explicit selection after a late probe. The disabled native recommendation is described in the PR: verify accessible wording against intended policy rather than assume it is an accidental regression. To reach 90%+ take confidenceRomneyDa: align accessible recommendation with supported/unsupported presentation; verify order, focus, keyboard and narration on both outcomes. Parallels input blocked prior proof. Floor + UI. Here, Floor means final-head Quoted execution results are author/maintainer receipts reviewed during the scoped triage, not tests rerun by this posting session. Missing or stale-head proof is not a pass. A dedicated child session is preparing a read-only revalidation/closeout plan; no implementation, destructive execution, CI rerun or merge is authorized by this verdict. |
|
requires multiple devices to show best proof. Simple change, landing |
Summary
Required proof pools
windows-winui-interactive: onboarding choice order, enablement, and recommendation behavior changed.Validation
Validated commit
22623756on native Windows 11 ARM64 after rebasing ontomain:./build.ps1: passed, all five projects builtdotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore: passed, 4,221 passed, 36 skipped, 0 faileddotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore: passed, 3,890 passed, 0 skipped, 0 faileddotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --filter FullyQualifiedName~NativeGatewaySetupUxContractTests --no-restore: passed, 21 passed, 0 failed.agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main --stream-engine-output: clean after fixing its selected-item preservation findingThe restored VM required the official ARM64 VC++ redistributable before validation. The complete required validation set then passed at the exact PR head.
Real behavior proof
Not verified / blocked: current-head interactive capture for
windows-winui-interactiveis unavailable. Parallels rendered the isolated onboarding app but did not forward computer-use click or keyboard activation into the guest, so the changed Gateway-choice page could not be reached for a trustworthy current-head screenshot.Automated current-head coverage verifies that:
Recommendedbadges in the unsupported stateRubber-duck review
Branch autoreview identified that removing and reinserting the native item could clear the visible selection.
PlaceNativeChoicenow captures and restoresSelectedItemwhile suppressing selection writes. The rerun completed with no findings.Ownership transfer
WelcomePage.ApplyNativeChoicePresentationandPlaceNativeChoice