Repository navigation
Closed as not planned
Labels
P2Normal priority bug or improvement with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.stale
Milestone
Description
Summary
exec host=node against a paired Windows desktop node (OpenClaw desktop app, v2026.7.1, node-host / remote-pairing mode) fails every time with:
This blocks all system.run (exec) on this machine — no command can run remotely. Every other node channel works (screen.snapshot, device.status, system.notify, system.execApprovals.get/set).
Environment
- Desktop (affected): Windows 11 Pro (10.0.26100), OpenClaw desktop node v2026.7.1,
clientMode: node, remote-paired to gateway v2026.8.1-beta.2 (100.69.89.74:18789). - Launch method on desktop: started manually after login, as Administrator (right-click → Run as administrator). Not auto-start.
- Laptop (control): Windows node, same version v2026.7.1 — exec works normally (approval prompt shows, user clicks Allow, command runs).
- Gateway: 2026.8.1-beta.2.
Already ruled out (all tested, none fix it)
- ASUS ArmouryCrate + its kernel drivers (CTIAIO / IOMap / AsIO3) — stopped processes and drivers, no change.
- VBS / Core isolation (DeviceGuard all 0), Windows Defender real-time, third-party AV, SAC (Smart App Control = 0, disabled).
- Running node as Administrator, reinstalling node v2026.7.1.
- Desktop app "Allow Windows UI APIs" toggle (added by issue fix(mxc): PowerShell fails in the Windows node sandbox #1147, shipped in v2026.7.1): enabled + full app restart — no change (confirms a different mechanism than the Win32k-disable fix 0xc0000142).
- Plain PowerShell on the desktop can create a Job Object, set limits and run a child — exits 0, no error (OS-level job-object functionality is fine).
Key evidence
- The error string exists only on the Windows node side; it is absent from gateway/server dist. It is generated when the node sandbox applies
JobObjectUILimitInformationto the exec child process. - Same error whether approvals are "no prompt (ask=off)" or "prompt (ask=on)".
- Procmon capture found no blocking module (.sys) — consistent with 0x80070057 being a user-mode parameter-validation failure (fails before entering the kernel).
Questions for maintainers
- Why would
SetInformationJobObject(..., JobObjectUILimitInformation)return0x80070057(E_INVALIDARG) on one Windows machine but succeed on another machine with the identical node version? What prerequisite does this call require (desktop/session token, specific DLL state, Win32k desktop) that could differ per machine? - Is there an official/unpublished switch or env var to disable/bypass the job-object UILimit call for exec (e.g. something like
disableJobObjectUILimit)? Note: this key is not present in the v2026.8.1 gateway schema, and I cannot confirm any Windows-node release newer than v2026.7.1 that carries it. - Windows CLI node-host (2026.8.1-beta.2) never creates
exec-approvals.sock(Unix-socket semantics), so approval never surfaces and exec is alwaysSYSTEM_RUN_DENIED— is this a known issue (references: #31175 / #20386)? Any Windows-native fix planned?
Reacted by clawsweeper
Metadata
Metadata
Assignees
Labels
P2Normal priority bug or improvement with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.stale
Type
Fields
Priority
None yet
Activity
clawsweeper commentedon Aug 21, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed September 4, 2026, 12:52 AM ET / 04:52 UTC.
Summary
Keep open. Current main still returns ordinary nonzero MXC launcher results as sandbox command results, while compatibility host fallback is entered only for SandboxUnavailableException; the exact JobObjectUILimit failure needs a security-boundary decision before it can be classified as backend unavailability.
Reproducibility: no. The report supplies a credible affected-machine trace and current source exposes the relevant classification gap, but there is no current-main run confirming that MXC 0.8 still emits the exact 0x80070057 signature.
Root-cause cluster
Relationship:
canonicalCanonical: #1189
Summary: This is the canonical report for a launcher initialization failure; the timeout report is explicitly related but has a distinct failure mechanism.
Members:
adjacent_distinct: Windows nodesystem.runalways times out on gateway (fixed ~30 s RPC limit) — MXC sandbox takes 27–53 s per invocation, result #1190 - That report describes successful MXC execution whose result arrives after a gateway timeout, whereas this issue reports launcher initialization failure before command execution.adjacent_distinct: fix(mxc): PowerShell fails in the Windows node sandbox #1147 - The merged Windows UI API opt-in addresses Win32k-denial behavior, but the report says it was enabled without changing this job-object failure.partial_overlap: chore: use MXC SDK 0.8.0 #1234 - The merged MXC 0.8 upgrade changes the packaged launcher, but current source contains no evidence that it classifies or resolves this exact signature.Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.
Ways to help us reproduce this
Maintainer decision needed
Why: This classification determines whether a command moves from AppContainer containment to host execution, so source evidence alone cannot establish the acceptable security boundary.
Next step
A narrowly scoped repair is plausible, but its safety depends on maintainer approval of the exact sandbox-unavailability classification; the existing security-review label confirms that human gate.
Security
Needs attention: The proposed remedy crosses from contained MXC execution to host execution, so its exact failure signature must be security-reviewed.
Review details
Best possible solution:
Add a narrowly audited classifier for the exact, independently verified MXC job-object initialization signature, preserve fail-closed handling for every other launcher failure, and cover both compatibility fallback and strict-blocking behavior.
Do we have a high-confidence way to reproduce the issue?
No. The report supplies a credible affected-machine trace and current source exposes the relevant classification gap, but there is no current-main run confirming that MXC 0.8 still emits the exact 0x80070057 signature.
Is this the best way to solve the issue?
Unclear. Mapping only a verified backend-initialization signature to the existing unavailable-backend path is the narrowest plausible repair, but maintainers must approve the containment-to-host transition before implementation.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning high; reviewed against c5105ab06a2f.
Label changes
Label justifications:
P2: This is a credible, machine-specific failure of Windows-node command execution, but the safe remediation requires a bounded security decision rather than an emergency rollout.impact:other: The issue blocks the Windows node's controlled command-execution capability, which does not fit the more specific owned impact categories.Evidence reviewed
Security concerns:
src/OpenClaw.Shared/Mxc/MxcCommandRunner.cs:178A broad conversion of nonzero launcher results into backend unavailability could route genuine sandbox failures through the uncontained host fallback.
Confidence: 0.94
What I checked:
src/OpenClaw.Shared/Mxc/MxcCommandRunner.cs:161, c5105ab06a2f)src/OpenClaw.Shared/Mxc/DirectAppContainerExecutor.cs:115, c5105ab06a2f)src/OpenClaw.Shared/Mxc/ISandboxExecutor.cs:16, c5105ab06a2f)tests/OpenClaw.Shared.Tests/Mxc/MxcCommandRunnerTests.cs:418, c5105ab06a2f)package.json:7, 911f36860b2d)src/OpenClaw.Shared/Mxc/MxcCommandRunner.cs:178, 4206611f2b2e)Likely related people:
How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.MilkyWay008 commentedon Aug 21, 2026
The 0x80070057 on SetInformationJobObject is the MXC launcher, not the gateway or your box's policy, since the same build execs fine on your laptop. wxc-exec.exe is treating the failed job-object init as an ordinary command result, so the host-fallback (SandboxUnavailableException) path never engages and exec just dies. There's no user-facing switch to skip the UILimit call yet, so the real fix is the backend-classification patch that recognizes this exact signature. Oh, btw, in case it might help that, I built a portable Hermes OTG repo, check it, imo it may be able to help you diagnose and figure out the fix in no time. https://github.com/MilkyWay008/Hermes-OTG
gaojian125 commentedon Aug 31, 2026
Hi @shanselman — bumping this since it's gone ~10 days without a maintainer response. @clawsweeper already confirmed the root cause: the
SetInformationJobObject(JobObjectUILimitInformation)failure returns0x80070057, andwxc-exec.exeis treating it as an ordinary command result rather than aSandboxUnavailableException. So the host-fallback path never engages and everysystem.runon this Windows node just dies.I want to save you some triage time with two concrete data points:
system.runalways times out on gateway (fixed ~30 s RPC limit) — MXC sandbox takes 27–53 s per invocation, result #1190. Artem's issue (exec succeeds but the result is dropped by the hard-coded 30 s gatewaynode.invokeRPC timeout) is the mirror side of the same MXC sandbox problem: per-invocation cold-start AppContainers that are slow and unpredictable (27–53 s). Together they block essentially all remote command work on Windows nodes.The specific thing we need from you as a maintainer is the security-boundary classification ClawSweeper flagged: recognize the exact verified job-object-initialization signature as "MXC backend unavailable" so the existing approved host-fallback policy can apply — not a broad fallback for arbitrary failures, which would break containment. That's the narrowest safe repair, and it's what @clawsweeper recommended.
One more thing I noticed while checking: MXC SDK was upgraded to 0.8.0 in #1234 (committed Aug 26). Could that bump already include any relevant job-object / AppContainer initialization fixes, or would it still need the separate backend-classification change above? If 0.8.0 changes the failure shape, I can re-test on my end and report back.
Happy to provide a remote-access session, additional procmon captures, or anything else needed to move this to a fix. cc @clawsweeper
github-actions commentedon Sep 19, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updated OpenClaw Windows details or it will be closed.
github-actions commentedon Sep 26, 2026
Closing due to inactivity.
If this still affects OpenClaw Windows, open a new issue with the current version, logs, and fresh reproduction details.