Skip to content

fix(setup): allow Local AI setup on busy GPUs and current Gateway - #1399

Merged
shanselman merged 3 commits into
openclaw:mainfrom
joelagnel:fix/local-ai-busy-gpu
Sep 11, 2026
Merged

shanselman merged 3 commits into
openclaw:mainfrom
joelagnel:fix/local-ai-busy-gpu

Conversation

@joelagnel

@joelagnel joelagnel commented Sep 10, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes an issue where users setting up Local AI on a supported GPU would have installation blocked when another application temporarily occupied VRAM. Also fixes setup and managed-provider failures with current Gateway config CLI output and batch-file handling.

Addresses the setup portion of #1391. Fixes #1398.

Why This Change Was Made

Installation eligibility should use GPU capabilities and total supported memory, not require enough free VRAM to load the model during onboarding. Model loading remains deferred until use.

This PR contains exactly three contributor-authored commits:

  1. c5f6e740: allow supported-but-busy GPUs through Local AI selection and hardware preflight.
  2. 69d4e85b: remove model-loading/inference proof steps from the installation pipeline, retain them as opt-in diagnostics, and describe completion as installed rather than inference-verified.
  3. 9add27bc: support known legacy stderr and current structured stdout unset-config errors, and send Gateway config batches through a regular temporary file. One shared parser owns the exact error recognition across setup snapshots, workspace resolution, and the runtime provider coordinator.

Unknown config paths, operational errors, malformed responses, timeout checks, size limits, ownership checks, and rollback protections remain fail-closed. The final parser extraction removes 22 production lines and preserves behavior.

Non-goals: no new OOM chat UI, no changed post-setup model-load error UX, and no Gateway version-policy change. Diagnostic proof harnesses remain local-only and are not part of this branch.

User Impact

Users can download and complete Local AI setup while a capable GPU is temporarily busy. Setup still installs and starts the managed router, but does not load the model to prove inference. Actual inference still requires sufficient memory when the model loads.

Required proof pools

  • windows-wsl-dgx-blackwell: contributor hardware proof on the exact remote head, with RTX 5090 temporary VRAM pressure and successful inference after pressure release.
  • windows-wsl-gateway-e2e: exact-head CI setup/connect E2E passed against current main; current Gateway 2026.9.3 publication/restoration was also exercised live on isolated port 18790.
  • windows-winui-interactive: contributor screenshot/comment on the exact remote head demonstrates completed setup and deferred model-load failure.

Validation

The contributor head remains 9add27bc2ffed3b87fdceac334cbad84158d0e6e. No maintainer commit was pushed, preserving Joel/@joelagnel's exact-head proof and attribution.

GitHub's exact-head PR test merge used current main at 7dab793673ff00a43fd74259ed83321894ef601e from #1397 (feat(local-ai): safely use the standard Hugging Face hub cache). CI run 34537565845 is green for the CI Gate, Core and CLI tests, Tray/setup/integration tests, UI/functional/accessibility tests, Setup and connect E2E, Revocation recovery E2E, Network recovery E2E, fast validation, and proof-pool contracts.

Maintainer integration head f390967db41909332501002ee7cf905dc021bf90 is a local-only clean merge of 7dab7936 into 9add27bc. It was not pushed because the effective 13-file PR delta merges cleanly and no attributable blocking defect was found.

Command Integration result at f390967d
.\build.ps1 Passed
dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore Passed full rerun: 3,991 passed, 32 skipped
dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore 2,898 passed, 0 skipped
dotnet test .\tests\OpenClaw.SetupEngine.Tests\OpenClaw.SetupEngine.Tests.csproj --no-restore 1,153 passed, 1 skipped
dotnet test .\tests\OpenClaw.Connection.Tests\OpenClaw.Connection.Tests.csproj --no-restore 793 passed, 1 skipped
dotnet test .\tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj -r win-x64 136 passed
dotnet test .\tests\OpenClawTray.FunctionalUI.Tests\OpenClawTray.FunctionalUI.Tests.csproj -r win-x64 19 passed
OPENCLAW_RUN_INTEGRATION=1 Tray integration suite 22 passed
python .agents\skills\autoreview\scripts\autoreview --mode branch --base origin/main Clean, no accepted/actionable findings; patch judged correct with 0.84 confidence
Independent rubber-duck review No blocking finding; high-confidence merge recommendation

The reported Shared/CLI failures were reproduced and classified rather than hidden:

  • DeviceIdentityFailClosedTests.OperatorCli_WhenPersistedIdentityIsCorrupt_ReturnsSafeFailureWithoutStackTrace passed 2/2 on the PR and current main.
  • McpHttpServerTests.Dispose_DuringInFlightHandler_DoesNotSurfaceObjectDisposedException intermittently observed an unhandled ObjectDisposedException race in full-suite execution. It also reproduces on current main, passed 10/10 focused reruns after the latest failure, and a full f390967d Shared rerun passed 3,991/3,991 non-skipped tests. This is not attributable to this PR.
  • Local validate-mxc-e2e.ps1 reached the setup fixture, then failed before any PR-specific or MXC assertion because the host WSL fresh-install path could not attach its temporary swap.vhdx (Access is denied). Eleven tests passed and six fixture-dependent tests failed. The exact-head CI Setup and connect E2E lane is green, and an earlier hardware run passed all 17 MXC tests with no skips.

Real behavior proof

Exact-head busy-GPU setup

Joel's proof comment was posted after final contributor head 9add27bc and explicitly records that setup completed while model loading remained deferred to inference. The attached screenshot shows the connected application and the deferred Agent error during temporary memory pressure. The recorded run used Windows x64, Gateway 2026.9.3, and an NVIDIA RTX 5090 with a 24 GiB allocation held during onboarding:

  • Setup completed with 27 successful steps, two skipped steps, and zero failed steps.
  • Model loading did not run as a mandatory setup step.
  • Inference initially failed while pressure remained, then succeeded after the allocation was released.

This is the required busy-GPU behavior: install eligibility depends on supported total GPU memory, while actual model loading remains deferred until first use.

Live current Gateway 2026.9.3 lifecycle

Maintainer proof used isolated Node 24.16.0, OpenClaw Gateway 2026.9.3 (1391f7c), isolated state, and a live Gateway listening on 127.0.0.1:18790. No user Gateway config or port 18789 process was modified.

  1. Both initially absent paths returned exit code 1 with the current structured JSON message Config path is valid but unset: models.providers.llamacpp and agents.defaults.model.primary.
  2. A regular JSON batch file passed config set --batch-file ... --dry-run --json with two operations, schema validation, and complete resolvability.
  3. Applying that same regular file published the llamacpp provider and selected llamacpp/qwen3.8-27b-mtp-ud-q4-k-m.
  4. Read-back returned the complete provider with the API key redacted by the CLI.
  5. The running Gateway logged config change detection and successful hot reload for both the provider and primary-model paths.
  6. A second regular batch restored the prior primary model openai/gpt-5.6-sol; provider withdrawal succeeded; the running Gateway hot-reloaded both changes.
  7. Final read-back preserved openai/gpt-5.6-sol, the provider again returned the exact structured unset response with exit code 1, and config validate passed.

Repository tests additionally assert the production coordinator sends its shell script through /bin/sh -s stdin, writes the batch to a regular mktemp file, performs dry-run before apply, and cleans the file on exit.

Integration with current main

f390967d merges current main from #1397 (feat(local-ai): safely use the standard Hugging Face hub cache) into the contributor head without conflicts. The combined tree built and passed the targeted Local AI, setup, connection, WinUI, functional UI, tray integration, and mandatory Tray suites. The PR's effective source/test delta remains the contributor's 13 files.

Review

ClawSweeper Revision 3 reviewed 9add27bc against current main and reported no code or security finding. Its remaining asks were current-head behavior, Gateway lifecycle, and validation provenance, supplied above.

Final structured autoreview reported no accepted/actionable findings. Independent rubber-duck review found no merge blocker and confirmed the busy-GPU, parser, batch transport, rollback ownership, and merged-base behavior. It noted one non-blocking diagnostic-quality edge case: an unknown config-read failure during uninstall can surface an internal parser exception after failing closed. That does not weaken ownership checks, permit unsafe removal, or affect the setup/runtime paths fixed here, so it is not used to stale the proven contributor head.

Security Impact

  • New permissions/capabilities or data-access scope: No.
  • Credential/token handling: unchanged.
  • New network destinations: No.
  • Gateway CLI transport: changed from a /dev/stdin batch to a temporary regular file with cleanup; scripts go over stdin rather than shell-expanded argv. Validation runs before mutation. Existing managed-route ownership and rollback behavior remain intact.

Compatibility and Migration

  • Known legacy and current Gateway unset-config responses are supported.
  • Gateway remains on the repository's existing latest-stable installation policy; this PR does not upgrade or pin a version independently.
  • No configuration migration or user action is required by the source change.
  • fix(local-ai): add non-destructive recovery #1384 (fix(local-ai): add non-destructive recovery) should refresh onto this PR after it lands.

Use CanInstall for capability selection and preflight. Preserve the qualified model and profile under transient VRAM pressure.

Local stack: land together with the following commit removing mandatory inference proof from setup. Issue openclaw#1391.
Move GPU baseline, inference and GPU-load checks into an opt-in proof factory. Keep artifact verification, empty-router readiness, non-autoloading WSL checks and gateway wiring. Make setup progress and completion copy truthful.

Validated with full build, Shared 3993 passed/34 skipped, Tray 2899 passed, SetupEngine 1139 passed. Combined setup autoreview clean. Issue openclaw#1391.
@clawsweeper

clawsweeper Bot commented Sep 10, 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.

@clawsweeper

clawsweeper Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

Codex review: blocked before merge. Reviewed September 10, 2026, 8:27 PM ET / September 11, 2026, 00:27 UTC (Revision 6).

ClawSweeper review

What this changes

Allows Local AI installation on supported busy GPUs, defers model loading until use, and updates Gateway configuration reads and batch writes for current CLI formats.

Merge readiness

⛔ Blocked before merge - 2 items remain

This PR remains necessary: current main retains both setup blockers. No introduced correctness or security defect was found. The recorded behavior proof is sufficient, but required non-skipping MXC validation and the maintainer's draft hold remain unresolved.

Priority: P0
Reviewed head: 9add27bc2ffed3b87fdceac334cbad84158d0e6e

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, useful repair with sufficient reported runtime evidence and no blocking code finding; the draft state does not reduce its quality rating.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The captured body records exact-head busy-GPU setup completion and inference recovery, supported by the inspected connected-app screenshot, plus live Gateway 2026.9.3 publication and restoration results matching the changed CLI paths. The separate mandatory MXC validation gap does not invalidate that behavior evidence.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The captured body records exact-head busy-GPU setup completion and inference recovery, supported by the inspected connected-app screenshot, plus live Gateway 2026.9.3 publication and restoration results matching the changed CLI paths. The separate mandatory MXC validation gap does not invalidate that behavior evidence.
Evidence reviewed 10 items Applicable repository policy: Read the complete root AGENTS.md and proof-validation skill. No applicable nested AGENTS.md or maintainer-notes directory was found. Gateway setup/connect changes require non-skipping MXC validation; this read-only review ran no builds, tests, or additional reviewers.
Current main still blocks busy GPUs: Main's hardware preflight rejects EligibleButBusy, and its default setup pipeline still includes GPU baseline, inference, and GPU-load verification. The existing eligibility contract already permits installation for EligibleButBusy.
Current main retains incompatible Gateway calls: Main recognizes missing settings through legacy stderr matching and sends provider batches through /dev/stdin. The changed production coordinator invokes the external OpenClaw Gateway CLI directly, establishing the relevant Gateway contract dependency.
Findings None None.
Security None None.

How this fits together

The Windows setup wizard installs a local model and starts its managed inference router. Setup and the tray application's provider coordinator then configure the WSL Gateway to route requests to that router while preserving prior model settings.

flowchart LR
  A[GPU capabilities and memory] --> B[Setup eligibility]
  B --> C[Install model and start empty router]
  C --> D[Check WSL reachability]
  D --> E[Read Gateway settings]
  E --> F[Validate and apply configuration]
  F --> G[Load model on first request]
Loading

Before merge

  • Resolve merge risk (P1) - The required current-head or current-main-integration MXC run has not demonstrated non-skipping success; the reported local attempt failed during WSL fixture setup.
  • Complete next step (P2) - Record passing non-skipping scripts/validate-mxc-e2e.ps1 results for the final head or verified current-main integration, then have shanselman resolve the intentional draft/proof hold.
Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Production and test delta Production +117/-42; tests +68/-13; 13 files Production growth supports shared Gateway compatibility parsing and safe batch transport, with focused pipeline and transport regression coverage.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Keep installation based on supported GPU capacity, retain router and configuration safeguards, and leave actionable load-time recovery UX with its separate tracked work.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Keep installation based on supported GPU capacity, retain router and configuration safeguards, and leave actionable load-time recovery UX with its separate tracked work.

Do we have a high-confidence way to reproduce the issue?

Yes: current-main source deterministically rejects supported busy GPUs and uses the incompatible Gateway read/batch formats documented in the linked report. This review did not execute the application.

Is this the best way to solve the issue?

Yes: the patch uses the existing CanInstall contract and established stdin/temporary-file pattern while preserving integrity, ownership, and rollback checks.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 7dab793673ff.

Labels

Label changes:

  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The captured body records exact-head busy-GPU setup completion and inference recovery, supported by the inspected connected-app screenshot, plus live Gateway 2026.9.3 publication and restoration results matching the changed CLI paths. The separate mandatory MXC validation gap does not invalidate that behavior evidence.
  • remove status: 📣 needs proof: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P0: Current Gateway incompatibility blocks normal fresh Local AI setup without an in-product recovery path.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The captured body records exact-head busy-GPU setup completion and inference recovery, supported by the inspected connected-app screenshot, plus live Gateway 2026.9.3 publication and restoration results matching the changed CLI paths. The separate mandatory MXC validation gap does not invalidate that behavior evidence.
  • proof: sufficient: Contributor real behavior proof is sufficient. The captured body records exact-head busy-GPU setup completion and inference recovery, supported by the inspected connected-app screenshot, plus live Gateway 2026.9.3 publication and restoration results matching the changed CLI paths. The separate mandatory MXC validation gap does not invalidate that behavior evidence.

Evidence

What I checked:

  • Applicable repository policy: Read the complete root AGENTS.md and proof-validation skill. No applicable nested AGENTS.md or maintainer-notes directory was found. Gateway setup/connect changes require non-skipping MXC validation; this read-only review ran no builds, tests, or additional reviewers. (AGENTS.md:52, 9add27bc2ffe)
  • Current main still blocks busy GPUs: Main's hardware preflight rejects EligibleButBusy, and its default setup pipeline still includes GPU baseline, inference, and GPU-load verification. The existing eligibility contract already permits installation for EligibleButBusy. (src/OpenClaw.SetupEngine/LocalAiSetupSteps.cs:64, 7dab793673ff)
  • Current main retains incompatible Gateway calls: Main recognizes missing settings through legacy stderr matching and sends provider batches through /dev/stdin. The changed production coordinator invokes the external OpenClaw Gateway CLI directly, establishing the relevant Gateway contract dependency. (src/OpenClaw.Tray.WinUI/Services/LocalAiGatewayProviderCoordinator.cs:244, 7dab793673ff)
  • Introduced scope and merge identity: The complete local merge-base-to-head diff contains 13 files, 185 additions, and 55 deletions. Raw test-merge parents match pinned main followed by the exact contributor head. The host's complete merge-result file list preserves the separate main-branch cache work. A local merge-result diff encountered an unavailable Git object, so its contents were not independently reverified. (d71af3ed2f84)
  • Runtime safeguards retained: The coordinator still checks current provider and primary-model ownership, resolves the managed distro before each command, verifies publication, and restores fallback routing during teardown. The new script uses stdin, a regular mktemp file, dry-run before apply, and EXIT cleanup; the shared parser accepts only exact known unset responses. (src/OpenClaw.Tray.WinUI/Services/LocalAiGatewayProviderCoordinator.cs:283, 9add27bc2ffe)
  • Current-head behavior evidence: The supplied body snapshot, sourceRevision 6ecadf44b4ec025a84aff7e504847fc6702d70b8a2f697d44548895f1fee13bd, records RTX 5090 setup under 24 GiB pressure with 27 successful steps, two skips, zero failures, and successful inference after pressure release. Locally inspected the prepared screenshot from fix(setup): allow Local AI setup on busy GPUs and current Gateway #1399 (comment): it shows a connected app and deferred Agent error, but does not independently show GPU allocation or recovery. The body additionally records live Gateway 2026.9.3 unset reads, regular-file publication, hot reload, fallback restoration, provider withdrawal, and final validation. (9add27bc2ffe)

Likely related people:

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

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Record a passing non-skipping MXC validation run for the final head or its verified current-main integration.

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 (5 earlier review cycles)
  • reviewed 2026-09-10T22:31:00.424Z sha 9add27b :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-10T22:52:09.829Z sha 9add27b :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-10T23:09:17.561Z sha 9add27b :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-11T00:10:32.550Z sha 9add27b :: blocked before merge. :: none
  • reviewed 2026-09-11T00:20:45.195Z sha 9add27b :: blocked before merge. :: none

@joelagnel

Copy link
Copy Markdown
Collaborator Author

Proof of fix: setup completed and model load failure is now deferred to inference time and not setup:

Screenshot 2026-09-10 172700

@clawsweeper clawsweeper Bot added P0 Emergency: data loss, security bypass, crash loop, or unusable core runtime. merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 10, 2026
@shanselman shanselman added the status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. label Sep 10, 2026
@shanselman

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient Contributor real behavior proof is sufficient. 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. and removed status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Sep 11, 2026
@shanselman shanselman added status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. labels Sep 11, 2026
@joelagnel

Copy link
Copy Markdown
Collaborator Author

hey @shanselman , the proof was posted above, any other proof needed?

@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 11, 2026
@shanselman shanselman added status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 11, 2026
@shanselman
shanselman marked this pull request as draft September 11, 2026 00:23
@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 11, 2026
@shanselman
shanselman marked this pull request as ready for review September 11, 2026 03:55
@shanselman

Copy link
Copy Markdown
Collaborator

MXC validation status: environment-blocked, not a PR defect

Attempted real (non--AllowSkip) MXC E2E validation for this PR on two paths:

  1. Crabbox (Azure WSL2 lease): sync failed with rsync failed: write private WSL SSH transport file — a bug in the local Crabbox 0.51.0 WSL2-transport path, unrelated to this PR (SSH/exec on the same lease worked fine via --no-sync).
  2. Local WSL2 (this machine): .\scripts\validate-mxc-e2e.ps1 failed on fresh-distro creation with Wsl/InstallDistro/Service/ERROR_UNHANDLED_EXCEPTION. Root-caused via direct repro: any WSL install --location under %LOCALAPPDATA%\Temp crashes the WSL install service on this machine, while the same install at C:\Temp or %LOCALAPPDATA% (non-Temp) succeeds. Confirmed not a permissions issue (reproduced identically elevated via gsudo) and not fixed by a Windows Defender AV exclusion for that path. The Sense (Microsoft Defender for Endpoint) service is active and fltmc filters is access-denied, consistent with corporate EDR/ASR policy intercepting VHDX operations under the user Temp folder — a device-policy restriction outside local control, not fixable via AV exclusions.

The E2E harness intentionally isolates test WSL distros under %LOCALAPPDATA%\Temp\openclaw-e2e-* specifically to avoid touching real user installs, which is exactly the path this host's EDR policy blocks.

Given ClawSweeper's Verified real-behavior evidence (exact-head busy-GPU setup completion, inference recovery, live Gateway 2026.9.3 publication/restoration matching the changed CLI paths) and no code-quality findings, merging now with this MXC-proof gap documented as an environment/host limitation rather than a PR defect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P0 Emergency: data loss, security bypass, crash loop, or unusable core runtime. proof: sufficient Contributor real behavior proof is sufficient. 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.

Local AI setup/startup fails with latest Gateway config CLI formats

2 participants