Repository navigation
Conversation
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 38fecaf6-8da0-4009-8381-0ba921b8ef57
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs changes before merge. Reviewed August 28, 2026, 3:03 AM ET / 07:03 UTC. ClawSweeper reviewWhat this changesThe PR clarifies unavailable Local AI states in Windows setup and the Local AI Hub, adding retryable eligibility checks and preserving installed-runtime controls. Merge readiness⛔ Blocked by patch quality or review findings - 5 items remain Keep open. The current PR head drops Local AI availability results when the real WinUI dispatcher queues them asynchronously, so unsupported hardware can remain presented as eligible. Priority: P2 Review scores
Verification
How this fits togetherThe setup wizard and Local AI Hub probe Windows hardware and WSL readiness to decide whether fresh Local AI setup is available. That result controls guidance and fresh-setup controls while leaving an already installed managed runtime operable. flowchart LR
A[Windows hardware probe] --> B[Local AI eligibility]
B --> C[Setup availability state]
B --> D[Local AI Hub state]
C --> E[Setup guidance and choices]
D --> F[Runtime management controls]
E --> G[Managed local gateway]
F --> G
Before merge
Findings
Agent review detailsSecurityNone. Review metricsNone. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Apply the availability result and release its in-flight state as one UI-dispatched completion, then cover a delayed dispatcher and verify the repaired Hub state in an isolated native run. Do we have a high-confidence way to reproduce the issue? Yes, source reproducible: use a delayed IUiDispatcher after the hardware probe completes. The queued callback checks a token that the finally block has already cleared, so it declines to publish the result. Is this the best way to solve the issue? No. The state lifetime must extend until the UI-thread callback applies the result, with a delayed-dispatcher regression test to preserve that invariant. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 1955282412bd. LabelsLabel changes:
Label justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (6 earlier review cycles)
|
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 38fecaf6-8da0-4009-8381-0ba921b8ef57
|
ClawSweeper's P1 is fixed in #1206. The patch is based on exact head 03c5def, keeps hardware eligibility limited to fresh setup, preserves management of an installed runtime, and includes failed-first coverage plus full build, Shared (3812 passed), Tray (2711 passed), and independent review. Please merge #1206 into this branch, then trigger a fresh ClawSweeper review on #1204. |
* fix(chat): preserve persisted tool activity details * refactor(chat): centralize persisted argument projection * refactor(chat): simplify persisted tool projection * fix(chat): bound persisted argument decoding Co-authored-by: Copilot App <[email protected]> Copilot-Session: fbba7380-93e7-44a4-bd0b-d0ac1ebba543 --------- Co-authored-by: TheAngryPit <[email protected]> Co-authored-by: Karen Lai <[email protected]> Copilot-Session: fbba7380-93e7-44a4-bd0b-d0ac1ebba543
Co-authored-by: Copilot App <[email protected]>
Use concurrent queues for MeterListener callback measurements so parallel callbacks cannot corrupt test collection state. Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
#1209) Bumps [github/gh-aw-actions/setup-cli](https://github.com/github/gh-aw-actions) from 0.86.1 to 0.87.2. - [Release notes](https://github.com/github/gh-aw-actions/releases) - [Changelog](https://github.com/github/gh-aw-actions/blob/main/CHANGELOG.md) - [Commits](github/gh-aw-actions@8914f47...b304200) --- updated-dependencies: - dependency-name: github/gh-aw-actions/setup-cli dependency-version: 0.87.2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Copilot App <[email protected]>
* refactor(local-ai): clarify managed model probe * fix(local-ai): preserve router probe compatibility Co-authored-by: Copilot App <[email protected]> --------- Co-authored-by: Scott Hanselman <[email protected]> Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
* fix: disable .NET COM wrapper diagnostics in production Work around dotnet/runtime#129191 for Release production builds while preserving managed debugger support in Debug and explicit DevBuild builds. Co-authored-by: Copilot <[email protected]> * test: verify COM wrapper runtime switch matrix Co-authored-by: Copilot App <[email protected]> --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: Scott Hanselman <[email protected]>
* fix(setup): preserve wslconfig encoding * fix(setup): narrow wslconfig encoding rejection Preserve valid decoded control characters while rejecting NUL-bearing ambiguous Unicode encodings before any backup or write. Expand encoding, rollback, and unknown-content coverage. Co-authored-by: Copilot App <[email protected]> --------- Co-authored-by: Scott Hanselman <[email protected]> Co-authored-by: Copilot App <[email protected]>
) * fix: bound process command-line inspection drain WaitForExit returns when PowerShell exits, but ReadToEnd only finishes after the write end of stdout closes. A descendant that inherited the pipe left GetResult hanging past the 5s timeout. Drain the leftover budget (same pattern as the MXC probe) and reuse the helper from setup and WSL keepalive copies. Signed-off-by: Sebastien Tardif <[email protected]> * fix: bound all keepalive command-line inspections Co-authored-by: Copilot App <[email protected]> --------- Signed-off-by: Sebastien Tardif <[email protected]> Co-authored-by: Scott Hanselman <[email protected]> Co-authored-by: Copilot App <[email protected]>
Preserve ambiguous WSL timeout and launch outcomes through automatic gateway repair so detached Core updates are not killed by forced distro termination. Definitive failures still use the existing cold-restart recovery path. Co-authored-by: Copilot App <[email protected]>
* Add complete MiniMax TTS support * Harden MiniMax TTS integration Co-authored-by: Copilot App <[email protected]> Copilot-Session: 85d40d7c-24af-45e6-9205-c1f185d0476c --------- Co-authored-by: octo-patch <[email protected]> Co-authored-by: Copilot App <[email protected]> Copilot-Session: 85d40d7c-24af-45e6-9205-c1f185d0476c
Co-authored-by: Copilot App <[email protected]> Copilot-Session: a0b075d5-fcf9-4d2b-bd8a-d5ee4dde168f
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 38fecaf6-8da0-4009-8381-0ba921b8ef57
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 38fecaf6-8da0-4009-8381-0ba921b8ef57
…refine-local-ai-setup-ux
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 38fecaf6-8da0-4009-8381-0ba921b8ef57
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 38fecaf6-8da0-4009-8381-0ba921b8ef57
Keep availability probe failures in an unknown state, expose an in-page recheck action, and ensure recheck enablement notifications fire after the in-flight probe token is cleared to avoid UI disable races. Also add/extend viewmodel regression tests for throw-then-recover and notification ordering after failed probes. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 287ec476-1264-4709-b783-5c84a0a4d2f2
Add localized strings for unavailable-state messaging and recheck action, and align Local AI setup UX contract coverage with the updated unavailable flow and in-page recovery affordance. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 287ec476-1264-4709-b783-5c84a0a4d2f2
Treat Setup Local AI hardware probe failures as an indeterminate, retryable state, add the setup recheck affordance, and guard stale availability probe completions across setup and tray flows. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 287ec476-1264-4709-b783-5c84a0a4d2f2
Keep Local AI setup probe results in local variables until the active availability generation is confirmed so stale completions cannot overwrite page state. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 287ec476-1264-4709-b783-5c84a0a4d2f2
Keep a selected Local AI setup option intact during indeterminate hardware checks so a successful probe restores the selected install path instead of silently clearing it. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 287ec476-1264-4709-b783-5c84a0a4d2f2
|
Opened a clean replacement based directly on current \main: #1263. This branch's history mixes unrelated already-landed commits with the real contribution, so #1263 recomputes the true diff (merge-base \911f3686\ to this PR's head \568db5c1) and rebases it onto today's \main\ instead of rewriting/force-pushing this branch. #1263 also carries several additional fixes found during review (a delayed-dispatch race in the availability probe, a config-clobbering bug in the checking state, a stuck primary-button bug, model-specific vs device-level eligibility, incomplete-hardware-facts classification, and Change Model gating), each with a regression test. This PR (#1204) will be closed once #1263 is reviewed and merged; it has not been modified or force-pushed. |
Salvage the reviewable diff from PR #1204 (karkarl-refine-local-ai-setup-ux) onto current main. PR #1204's branch carries unrelated already-landed history from a stale base; this replaces it with the true contribution computed from the merge-base (911f368) to the PR head (568db5c). - share Local AI eligibility diagnostics between setup and the Hub via LocalInferenceEligibilityDiagnostics and LocalAiSetupAvailabilityCoordinator - place unavailable Local AI guidance above dependent setup content, using the native InfoBar action slot so "See why" stays independently usable - gray and disable unavailable setup choices while preserving controls for an already installed managed runtime - hide Local AI-only progress groups when Local AI is unavailable while keeping the WSL installation stage active - keep incomplete/failed Local AI probes retryable - localize new setup/Hub copy (en-us, fr-fr, nl-nl, zh-cn, zh-tw) - add focused coordinator, view-model, and UX contract tests Co-authored-by: Copilot App <[email protected]>
|
Closing as superseded by clean replacement PR #1263, which was rebuilt from current main, fixed the review findings, passed exact-head CI and dual review, and is now merged. |
Summary
Validation
Validated at PR head
1f21dbd6withOPENCLAW_REPO_ROOTset to this worktree:.\build.ps1- passed (Shared, CLI, WinNode CLI, SetupEngine, WinUI)dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore- passed: 3,817, skipped: 32, failed: 0dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore- passed: 2,750, failed: 0dotnet test .\tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj -c Debug -r win-arm64 --no-restore- passed: 134, failed: 0LocalAiSetupUxContractTests- passed: 3, failed: 0Real behavior proof
Current PR head
1f21dbd6is running directly on the Local AI page in an isolated data directory, bypassing the setup wizard:The developer is using this current-head window for manual wide-view verification. The page now follows the same
ScrollViewer -> Grid HorizontalAlignment="Stretch" -> StackPanel MaxWidth="900"layout used by the established centered Hub pages. The unavailable action usesInfoBar.ActionButton, matching the setup screen's Fluent pattern.Previous live setup UI Automation also confirmed the unavailable action remains enabled while dependent setup content is disabled, and that unsupported-device progress omits Local AI-only rows while keeping the clean WSL gateway stage active.
Screenshots: Not verified / blocked. No computer-use tool is exposed in this session. Native capture and UI Automation did not expose usable pixels or element bounds for this WinUI surface, so the current-head app is left open for developer verification and automated UI/accessibility evidence is provided instead.