Repository navigation
style(setup-ui): simplify Local AI onboarding copy - #1290
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs real behavior proof before merge. Reviewed September 2, 2026, 9:02 PM ET / September 3, 2026, 01:02 UTC. ClawSweeper reviewWhat this changesThe PR shortens and clarifies Local AI onboarding text across the Windows setup wizard, adds compatible-GPU detail, and updates localized copy contracts. Merge readiness⛔ Blocked before merge - 3 items remain The patch is source-consistent and resolves the prior merge concern, but the direct linked install-review screenshot still shows the old wording. Keep this PR open until current-head interactive captures replace the stale media. Priority: P3 Review scores
Verification
How this fits togetherThe Windows setup wizard configures an OpenClaw gateway and optional Local AI runtime. Its welcome, review, progress, and completion pages present hardware eligibility and setup choices to users. flowchart LR
A[Windows setup wizard] --> B[Hardware eligibility]
B --> C[Welcome and capabilities pages]
C --> D[Setup configuration]
D --> E[Progress and completion pages]
Before merge
Agent review detailsSecurityNone. Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the focused copy and localization changes after posting redacted, current-head Windows captures for the changed welcome, install-review, progress, and completion states. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR changes onboarding presentation rather than repairing a separately reproducible runtime failure. Is this the best way to solve the issue? Yes for the code path: the builder now controls the runtime text and focused contracts prevent it drifting from the visual placeholder. Current-head interactive media is still needed to prove the visible result. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against de88f388a657. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (8 earlier review cycles)
|
202931f to
c1db51d
Compare
c1db51d to
3a5fe05
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
🦞👀 Re-review progress:
|
|
Joel: Need to take screenshots, post in comments. |
Windows interactive proofCaptured on Windows 11 ARM64 with an NVIDIA RTX Spark N1X. The run used the validated Local AI integration stack containing the same onboarding-copy patch as this PR. Install review and model selectionLocal AI setup progressCompletionObserved during the same run:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
CapabilitiesPage.xaml's install-review card static placeholder was updated to "Install Ubuntu 24.04 in WSL" / "Creates a separate OpenClawGateway instance. Uses several GB.", but CapabilitiesPage.xaml.cs overwrites that text at runtime with SetupReviewSummaryBuilder.Build()'s DistroTitle/DistroDescription, which still generated the old "Install an isolated Ubuntu-24.04 instance" / "WSL distro ... Separate from any Linux distributions you already have..." copy. The rendered install-review screen therefore still showed the pre-PR wording. Update the builder to generate the same simplified, parameterized copy, and add a regression test pinning the default-config runtime text to match the XAML placeholder so the two cannot drift again. Co-authored-by: Copilot App <[email protected]>
Add a source-contract test asserting the InstallDistroTitleText/
InstallDistroDetailText placeholder in CapabilitiesPage.xaml keeps the
simplified copy ("Install Ubuntu 24.04 in WSL" / "Creates a separate
OpenClawGateway instance. Uses several GB.") and no longer contains the
old wording. Complements
SetupReviewSummary_DistroTitleAndDescription_MatchSimplifiedReviewCopy,
which pins the runtime SetupReviewSummaryBuilder output that actually
overwrites this placeholder at runtime, so a future change that edits
only one side is now caught by a failing test instead of silently
rendering stale copy.
Co-authored-by: Copilot App <[email protected]>
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
# Conflicts: # src/OpenClaw.SetupEngine.UI/Pages/CapabilitiesPage.xaml.cs # src/OpenClaw.SetupEngine/SetupReviewSummary.cs # src/OpenClaw.Tray.WinUI/Strings/en-us/Resources.resw # src/OpenClaw.Tray.WinUI/Strings/fr-fr/Resources.resw # src/OpenClaw.Tray.WinUI/Strings/nl-nl/Resources.resw # src/OpenClaw.Tray.WinUI/Strings/zh-cn/Resources.resw # src/OpenClaw.Tray.WinUI/Strings/zh-tw/Resources.resw # tests/OpenClaw.SetupEngine.Tests/SetupConfigTests.cs # tests/OpenClaw.Tray.Tests/AppRefactorContractTests.cs
* style(setup-ui): simplify Local AI onboarding copy * fix(setup-ui): update install-review WSL copy to match simplified UX CapabilitiesPage.xaml's install-review card static placeholder was updated to "Install Ubuntu 24.04 in WSL" / "Creates a separate OpenClawGateway instance. Uses several GB.", but CapabilitiesPage.xaml.cs overwrites that text at runtime with SetupReviewSummaryBuilder.Build()'s DistroTitle/DistroDescription, which still generated the old "Install an isolated Ubuntu-24.04 instance" / "WSL distro ... Separate from any Linux distributions you already have..." copy. The rendered install-review screen therefore still showed the pre-PR wording. Update the builder to generate the same simplified, parameterized copy, and add a regression test pinning the default-config runtime text to match the XAML placeholder so the two cannot drift again. Co-authored-by: Copilot App <[email protected]> * test(setup-ui): pin install-review distro copy in CapabilitiesPage.xaml Add a source-contract test asserting the InstallDistroTitleText/ InstallDistroDetailText placeholder in CapabilitiesPage.xaml keeps the simplified copy ("Install Ubuntu 24.04 in WSL" / "Creates a separate OpenClawGateway instance. Uses several GB.") and no longer contains the old wording. Complements SetupReviewSummary_DistroTitleAndDescription_MatchSimplifiedReviewCopy, which pins the runtime SetupReviewSummaryBuilder output that actually overwrites this placeholder at runtime, so a future change that edits only one side is now caught by a failing test instead of silently rendering stale copy. Co-authored-by: Copilot App <[email protected]> --------- Co-authored-by: Scott Hanselman <[email protected]> Co-authored-by: Copilot App <[email protected]>



Closes #1289.
Summary
SetupReviewSummaryBuilder.Build()(src/OpenClaw.SetupEngine/SetupReviewSummary.cs) still generated the oldDistroTitle/DistroDescriptioncopy after the earlier commit only updated theCapabilitiesPage.xamlstatic placeholder.CapabilitiesPage.xaml.csoverwrites that placeholder at runtime with the builder's output, so the running app kept showing the pre-PR WSL install-review wording despite the XAML diff looking correct. Verified with a real build/launch via the dev-onlyOPENCLAW_SETUP_PREVIEW_PAGE=capabilities-reviewpreview route, then fixed the builder and added two regression tests (one pinning the runtime/builder text, one pinning the XAML placeholder) so the two cannot drift apart again.main(de88f388, which includes Fix camera/screen capture consent hang for unattended MCP callers #1300, fix(test): stabilize hardware and UI integration tests #1302, fix(local-ai): bound GPU admission by dedicated device memory #1253, and fix(local-ai): recommend Qwen3.8 with measured context profiles #1281) into this branch with a regular merge commit (no rebase/force). Resolved genuine copy/SetupReviewSummaryconflicts between this PR's simplified naming/copy (SetupReviewSummaryBuilder.DisplayModelName, "(Recommended)" wording, simplified distro/local-AI-ready copy) and fix(local-ai): recommend Qwen3.8 with measured context profiles #1281's GPU-memory-precision behavior (GiB-basedFormatMemorySize/FormatOptionalMemorySize, per-model context/KV-cache detail text,SelectedProfileIdplumbing). Both are preserved: this PR's naming/wording layers on top of fix(local-ai): recommend Qwen3.8 with measured context profiles #1281's real measured-profile values instead of replacing them.Required proof pools
windows-winui-interactive: visible onboarding copy, wrapping, and accessibility presentation changed.Validation
Current head (post-merge):
fa25b27792ca1364be1e9a5a68649e1e3d16bfea(merge oforigin/main@de88f388into6c467907).\build.ps1: passed (Debug, win-x64). All projects and documentation validation succeeded.dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj: 3,905 passed, 32 environment-gated skips, 3,937 total.dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj: 2,830 passed (includes the install-review copy contract test and the merged GPU-eligibility/model-selector contract test).dotnet test .\tests\OpenClaw.SetupEngine.Tests\OpenClaw.SetupEngine.Tests.csproj --filter "FullyQualifiedName~SetupConfigTests": 41 passed (includes the DistroTitle/DistroDescription and merged Local AI description/GiB-precision regression tests).dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --filter "FullyQualifiedName~AppRefactorContractTests|FullyQualifiedName~LocalAiSetupUxContractTests": 103 passed (focused copy/accessibility contracts covering the mergedCapabilitiesPage.xaml.cs/SetupReviewSummary.cs).Current-head source contracts cover the localized resources, accessible announcements, removed older copy, all affected preview routes, parity between the
CapabilitiesPage.xamlinstall-review placeholder and the runtimeSetupReviewSummaryBuilderoutput, and (new) the merged GPU-memory-precision/model-naming copy contracts from #1253/#1281.Real behavior proof
Interactive Windows proof captured at the post-merge head
fa25b27792ca1364be1e9a5a68649e1e3d16bfeavia the dev-onlyOPENCLAW_SETUP_PREVIEW_PAGEpreview route (.\run-app-local.ps1 -NoBuild -Isolated -AllowNonMain) on the same Windows 11 host, real NVIDIA GeForce RTX 4080 SUPER hardware:Hardware: Qwen3.8 27B (UD-Q4_K_M) requires 21.6 GiB of GPU memory for model weights, KV cache, and runtime workspace. OpenClaw detected 15.7 GiB.) — this is expected, real fix(local-ai): recommend Qwen3.8 with measured context profiles #1281 admission behavior on this run, not a regression from this PR's merge.Observed during this run:
SetupConfigTests: 41 passed.AppRefactorContractTests+LocalAiSetupUxContractTests): 103 passed.Not verified / blocked: a real-time capture of the welcome screen's compatible-GPU badge and a fully-eligible Local AI install-review state were not recaptured on this pass, because this run's momentarily-free dedicated GPU memory fell under the default model's #1281 threshold; the merged copy/resource contracts for both states are covered by the automated tests above.
Security and compatibility
mainbrings in fix(local-ai): bound GPU admission by dedicated device memory #1253/fix(local-ai): recommend Qwen3.8 with measured context profiles #1281's GPU-memory-admission behavior change (dedicated-memory bound, GiB precision) unmodified; this PR does not alter that logic, only the surrounding copy/naming.