Skip to content

fix(onboarding): reorder unsupported native Gateway choice - #1602

Merged
RomneyDa merged 2 commits into
mainfrom
fix/onboarding-hide-unsupported-native
Oct 5, 2026
Merged

RomneyDa merged 2 commits into
mainfrom
fix/onboarding-hide-unsupported-native

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

Summary

  • present unsupported native Gateway setup as a disabled recommended option instead of hiding it
  • order unsupported onboarding choices as WSL (recommended), Connect to an existing Gateway, then native Gateway (recommended)
  • keep the native support card and Windows Update action directly below the choice list
  • move native Gateway back to the first position only after the capability probe confirms support
  • preserve the selected onboarding route while the capability result reorders the list
  • update onboarding architecture documentation, contract tests, accessibility naming, and gallery state coverage

Required proof pools

  • windows-winui-interactive: onboarding choice order, enablement, and recommendation behavior changed.

Validation

Validated commit 22623756 on native Windows 11 ARM64 after rebasing onto main:

  • ./build.ps1: passed, all five projects built
  • dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore: passed, 4,221 passed, 36 skipped, 0 failed
  • dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore: passed, 3,890 passed, 0 skipped, 0 failed
  • dotnet 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 finding

The 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-interactive is 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:

  • unsupported and checking states order the choices as WSL, existing Gateway, then disabled native Gateway
  • both WSL and native retain their Recommended badges in the unsupported state
  • the native support card and Windows Update action follow the choice list
  • confirmed native support enables native, moves it first, and removes the WSL recommendation
  • reordering preserves the selected route

Rubber-duck review

Branch autoreview identified that removing and reinserting the native item could clear the visible selection. PlaceNativeChoice now captures and restores SelectedItem while suppressing selection writes. The rerun completed with no findings.

Ownership transfer

  • Old owner: static XAML ordering plus probe-result presentation setters
  • New owner: WelcomePage.ApplyNativeChoicePresentation and PlaceNativeChoice
  • Preserved invariant: WSL remains selectable throughout onboarding, the chosen route survives capability updates, and native setup is enabled only after confirmed support

@clawsweeper

clawsweeper Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@RomneyDa RomneyDa added the status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. label Oct 2, 2026
@clawsweeper clawsweeper Bot added P2 Normal priority bug or improvement with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 2, 2026
@clawsweeper

clawsweeper Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Codex review: needs maintainer review before merge. Reviewed October 2, 2026, 9:09 AM ET / 13:09 UTC (Revision 9).

ClawSweeper review

What this changes

The 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
Reviewed head: 22623756917d87ce9607f8f8c3c8dc47633ba4f9

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, source-consistent patch with reported current-head validation and no actionable findings; the interactive capture limitation is explicitly documented.
Proof confidence 🌊 off-meta tidepool Not applicable: The ordinary external-contributor gate does not apply to this MEMBER-authored PR. WelcomePage's new ordering and selection restoration lack current-head interactive observation; the body accurately records the input-forwarding blocker permitted by scoped policy. Earlier merged screenshots do not prove these changes. No stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The ordinary external-contributor gate does not apply to this MEMBER-authored PR. WelcomePage's new ordering and selection restoration lack current-head interactive observation; the body accurately records the input-forwarding blocker permitted by scoped policy. Earlier merged screenshots do not prove these changes. No stored-data contract changes.
Evidence reviewed 9 items Pinned introduced change: The complete six-file introduced diff changes presentation and selection preservation. The verified test-merge comparison has the same six changed paths.
Current main still needs this change: Main's XAML places NativeChoice first while disabled. The branch instead places it last until eligibility is Available.
Route and admission invariants: Reordering captures and restores SelectedItem while suppressing selection writes. Existing eligibility resolution preserves explicit WSL and existing-Gateway choices, and Next still requires confirmed eligibility for native setup.
Findings None None.
Security None None.

How this fits together

The 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
Loading

Before merge

None.

Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Production and test delta production +51/-23; tests +28/-9 Production growth is confined to chooser ordering and selection preservation, with focused contract and gallery updates.

Technical review

Best 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.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This is a bounded onboarding usability improvement that keeps the existing setup routes available.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The ordinary external-contributor gate does not apply to this MEMBER-authored PR. WelcomePage's new ordering and selection restoration lack current-head interactive observation; the body accurately records the input-forwarding blocker permitted by scoped policy. Earlier merged screenshots do not prove these changes. No stored-data contract changes.

Evidence

What I checked:

  • Pinned introduced change: The complete six-file introduced diff changes presentation and selection preservation. The verified test-merge comparison has the same six changed paths. (src/OpenClaw.SetupEngine.UI/Pages/WelcomePage.xaml.cs:136, 22623756917d)
  • Current main still needs this change: Main's XAML places NativeChoice first while disabled. The branch instead places it last until eligibility is Available. (src/OpenClaw.SetupEngine.UI/Pages/WelcomePage.xaml:56, 407bc7728826)
  • Route and admission invariants: Reordering captures and restores SelectedItem while suppressing selection writes. Existing eligibility resolution preserves explicit WSL and existing-Gateway choices, and Next still requires confirmed eligibility for native setup. (src/OpenClaw.SetupEngine.UI/Pages/WelcomePage.xaml.cs:149, 22623756917d)
  • Reported current-head validation: The captured PR body reports a passing full build, Shared tests (4,221 passed, 36 skipped), Tray tests (3,890 passed), and 21 focused contracts at the pinned head. It also reports a completed rubber-duck review after repairing selection preservation. This read-only review did not execute builds, tests, or bundled review helpers. (22623756917d)
  • Scoped proof policy and explicit blocker: AGENTS.md permits current-head visible UI proof or an explicit blocker. The proof-pool policy likewise permits unavailable capacity to be recorded as Not verified / blocked. The captured body explicitly records Parallels input forwarding failure and does not claim interactive success. (docs/PROOF_POOLS.md:49, 22623756917d)
  • Inspected media belongs to prior merged work: All four prepared images were inspected locally. The Welcome images linked by fix(onboarding): align setup surfaces and keep provider loading inline #1562 (fix(onboarding): align setup surfaces and keep provider loading inline) show native first in both availability projections; the other two show capabilities. They establish prior visual context, not this branch's new ordering.

Likely related people:

  • bkudiess: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • karkarl: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
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.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (8 earlier review cycles)
  • reviewed 2026-10-02T10:34:19.907Z sha a02255d :: needs maintainer review before merge. :: none
  • reviewed 2026-10-02T10:59:24.178Z sha c6c42fd :: needs maintainer review before merge. :: none
  • reviewed 2026-10-02T11:09:30.180Z sha c6c42fd :: needs maintainer review before merge. :: none
  • reviewed 2026-10-02T11:18:36.160Z sha c6c42fd :: needs maintainer review before merge. :: none
  • reviewed 2026-10-02T12:36:19.972Z sha 27a10a9 :: needs changes before merge. :: none
  • reviewed 2026-10-02T12:42:53.041Z sha 27a10a9 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-02T12:50:00.962Z sha 2262375 :: needs changes before merge. :: none
  • reviewed 2026-10-02T12:55:21.171Z sha 2262375 :: needs maintainer review before merge. :: none

@RomneyDa
RomneyDa force-pushed the fix/onboarding-hide-unsupported-native branch from a02255d to c6c42fd Compare October 2, 2026 10:55
@RomneyDa RomneyDa added status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. and removed status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. labels Oct 2, 2026
@RomneyDa RomneyDa changed the title fix(onboarding): hide unsupported native Gateway choice fix(onboarding): reorder unsupported native Gateway choice Oct 2, 2026
@RomneyDa
RomneyDa force-pushed the fix/onboarding-hide-unsupported-native branch from 27a10a9 to 2262375 Compare October 2, 2026 12:45
@RomneyDa RomneyDa removed the status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. label Oct 2, 2026
@karkarl

karkarl commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

Scoped maintainer triage verdict

NEEDS_HUMAN_TEST. Take confidence: 70%. Recommendation confidence: 94%.

Reviewed head: 22623756917d87ce9607f8f8c3c8dc47633ba4f9. Live state refreshed October 5, 2026 (UTC): open, non-draft, merge state CLEAN, CI Gate SUCCESS. A clean merge state is not proof of validation against the eventual landing base.

Basis and remaining gates

No 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 confidence

RomneyDa: 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 .\build.ps1, dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore and dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore, with real restore/build first on a fresh worktree. Add the touched-owner suites. UI means windows-winui-interactive with isolated data and visible changed-state proof; other hardware/installer/Gateway pools must match the affected behavior. Recheck the actual landing base, required CI and final review; rerun affected proof if integration changes the 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.

@RomneyDa

RomneyDa commented Oct 5, 2026

Copy link
Copy Markdown
Member Author

requires multiple devices to show best proof. Simple change, landing

@RomneyDa
RomneyDa merged commit 8fa0882 into main Oct 5, 2026
25 checks passed
@RomneyDa
RomneyDa deleted the fix/onboarding-hide-unsupported-native branch October 5, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal priority bug or improvement with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants