Repository navigation
Description
Summary
This issue tracks a staged Windows 25H2 / MXC validation stack for OpenClaw Windows Node on a Portuguese Windows Release Preview machine running build 26200.8728.
The goal is to make Windows build 26200.8728 usable with MXC SDK 0.7.0 for the real OpenClaw Companion / Gateway / Windows Node system.run path, while keeping the review surface split into small, reviewable PRs.
Current stack
- PR1: Fix locale-sensitive Windows tests and technical token formatting #785
- Locale-safe Windows known-folder tests and invariant technical token formatting.
- PR2: Validate MXC SDK 0.7.0 on Windows build 26200.8728 #786
- MXC SDK
0.7.0, Windows build26200.8728support, MXC config/runtime policy hardening, fallback compatibility, and focused MXC tests.
- MXC SDK
- PR3: Add Gateway system.run MXC runtime E2E proof #787
- Real Gateway -> Windows Node ->
system.run-> MXC runtime proof, including installed Companion validation and positive/negative MXC containment checks.
- Real Gateway -> Windows Node ->
This issue should remain open until maintainers decide the stack shape, merge order, and long-term MXC availability policy.
Problem
There are two related problems:
- Localized or redirected Windows known folders can expose localized display paths even when the underlying behavior is correct. Tests should compare against OS-provided known-folder locations rather than English path suffixes.
- OpenClaw's current MXC availability and runtime validation are too narrow for Windows 25H2 Release Preview build
26200.8728. Locally, MXC SDK0.7.0reports usable process-container/AppContainer-DACL behavior on this build, but the current upstream gate rejects it before the real runtime path can be validated.
PR1 scope
PR1 is intentionally small and does not change runtime behavior.
It covers:
- Compare generated sandbox grants against OS-provided known-folder paths instead of English suffixes.
- Use invariant culture for compact technical token-count formatting.
- Serialize tests that mutate shared app-version override state.
PR1 does not change MXC availability, Gateway behavior, WSL setup, installed Companion behavior, command execution policy, or sandbox policy.
PR2 scope
PR2 is the MXC SDK/runtime-policy slice.
It covers:
- Update
@microsoft/mxc-sdkto0.7.0. - Add explicit support for Windows build
26200.8728+for the currently usable process-container/AppContainer-DACL tier. - Preserve process-container support for
26300.8289+. - Keep
isolation_sessionseparately gated to newer supported builds. - Emit SDK
0.7.0config schema0.7.0-alpha. - Keep AppContainer-DACL fallback compatible by granting only backend-safe PATH directories.
- Avoid nonexistent denied-path roots on this backend.
- Resolve
pwsh.exebefore clearing the launch environment. - Preserve the existing host-fallback default when MXC is unavailable, for compatibility with current upstream expectations.
- Add explicit strict fail-closed behavior behind
SystemRunBlockHostFallbackWhenMxcUnavailable=true. - Improve MXC diagnostics without logging unnecessary local executable paths by default.
PR2 intentionally does not claim full Gateway pairing/runtime proof by itself. That broader runtime path is covered by PR3 on top of PR2.
PR3 scope
PR3 is the real runtime proof slice.
It covers:
- Gateway -> Windows Node ->
system.run-> MXC execution. - MXC-gated E2E proof so unsupported hosts skip instead of failing unrelated CI lanes.
- Positive contained execution proof.
- Negative denied-write proof for blocked app-data writes.
- CI visibility for the named MXC proof test.
- Installed Companion validation from the stacked PR3 build.
Local runtime proof
Local proof was run on:
- Windows build:
26200.8728 - Windows Insider channel: Release Preview
- MXC SDK:
0.7.0 - MXC observed tier: AppContainer-DACL /
mxc-direct-appc - Companion/Gateway mode: real Gateway with paired Windows Node
- Companion installation path: installed app under
%LOCALAPPDATA%\OpenClawTray
The latest local runtime validation used an installed Companion built from the stacked PR3 branch and exercised the real Gateway path:
Gateway -> node.invoke -> Windows Node -> system.run -> MXC
Positive execution proof:
system.runreturnedok=true.- Payload returned
exitCode=0. - The marker command returned the expected stdout marker.
- Tray diagnostics showed
executor=mxc-direct-appc,contained=True,containment=mxc,allowOutbound=False, anddeniedCount=7.
Negative containment proof:
- A denied write into the app-data/settings area returned
Access is denied. - Payload returned
exitCode=1. - The denied target file did not exist after the run.
- Tray diagnostics still showed MXC containment for the denied run.
The proof path above is Gateway-based. Local MCP server proof is not counted here because the installed Companion configuration used for this validation had local MCP disabled.
Validation summary
PR1:
implemented: locale-safe known-folder assertions, invariant technical formatting, shared app-version test serialization.test_proven: focused test surfaces passed locally.
PR2:
implemented: MXC SDK0.7.0, build26200.8728support, config/runtime policy updates, fallback compatibility, shell resolution, diagnostics hardening.test_proven: focused MXC/shared test surfaces passed locally.runtime_proven: PR2 runtime code is exercised through the stacked PR3 Gateway path.
PR3:
implemented: Gateway E2E proof forsystem.runthrough MXC plus positive/negative containment checks.test_proven: focused Shared MXC and E2E tests passed locally.runtime_proven: installed Companion + real Gateway + paired Windows Node executedsystem.runthrough MXC on Windows build26200.8728.
Validation boundaries
This stack is scoped to Windows build 26200.8728, MXC SDK 0.7.0, and the currently observed AppContainer-DACL / mxc-direct-appc tier.
It does not attempt to prove:
isolation_sessionbehavior on build26200.8728, because this host is not in that tier.- Stable-channel Windows behavior.
- Full Companion product-feature coverage beyond the Gateway -> Windows Node ->
system.run-> MXC path. - A maintainer policy decision that strict fail-closed should become the default.
- A final choice between the explicit build/UBR table and the separate probe-based MXC availability direction.
The local proof is intentionally runtime-focused and contributor-provided. PR3 adds E2E coverage and CI visibility so unsupported hosts skip/report clearly instead of failing unrelated lanes.
Maintainer decisions still needed
Maintainers still need to decide:
- Whether this explicit Windows build/UBR support table is preferred over, or should be combined with, the separate probe-based MXC availability direction.
- Whether the strict fail-closed setting should remain opt-in or become the default in a later PR.
- Whether the three-PR staged stack should land as-is, be squashed, or be reorganized before merge.
Scope guard
The stack is deliberately staged:
- PR1 should stay limited to test/locale baseline hardening.
- PR2 should stay limited to MXC SDK/build/runtime-policy support.
- PR3 should stay limited to real Gateway/runtime proof and the test coverage needed to preserve it.
If broader Companion product behavior, stable-channel validation, or long-term security-policy changes are needed, they should be tracked as follow-up work rather than hidden inside this issue.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon Jun 18, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 20, 2026, 2:46 PM ET / 18:46 UTC.
Summary
Keep open: current main and the latest release still do not implement the Windows 25H2/MXC validation stack, while open PRs already carry the proposed implementation and proof slices. The remaining decision is maintainer selection of the MXC availability strategy, fallback policy, and stack landing order.
Reproducibility: yes. for source-level reproducibility: current main rejects build 26200.8728 because MxcAvailability accepts only build 26300.8289+. I did not run the Windows runtime path because this review was read-only and the local environment is not the reported Windows host.
Root-cause cluster
Relationship:
canonicalCanonical: #784
Summary: This issue is the active umbrella for the Windows 25H2/MXC validation stack; the related staged PRs are implementation candidates, while the probe-based PR is an overlapping strategy discussion.
Members:
fixed_by_candidate: Fix locale-sensitive Windows tests and technical token formatting #785 - Open PR for the locale-safe test and formatting baseline explicitly listed as the first slice of this issue.fixed_by_candidate: Validate MXC SDK 0.7.0 on Windows build 26200.8728 #786 - Open PR for MXC SDK 0.7.0, build 26200.8728 support, and runtime/fallback policy changes explicitly listed as the second slice of this issue.fixed_by_candidate: Add Gateway system.run MXC runtime E2E proof #787 - Open PR for the Gateway to Windows Node system.run MXC E2E proof explicitly listed as the third slice of this issue.partial_overlap: Use wxc-exec --probe for MXC host support; bump mxc-sdk to 0.7.0 #776 - Open PR targets the same MXC SDK/build-gate problem with probe-based availability rather than this issue's staged explicit validation stack.Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.
Next step
Open PRs already own the implementation slices, so the next action is maintainer review of stack order and the overlapping probe-based MXC strategy rather than a new ClawSweeper fix PR.
Security
Needs attention: The issue is security-sensitive because it changes system.run sandbox availability and host-fallback behavior.
Review details
Best possible solution:
Keep this issue as the canonical umbrella until maintainers choose the MXC availability and fallback policy, then land or reject the linked staged PRs or a single narrower canonical replacement.
Do we have a high-confidence way to reproduce the issue?
Yes for source-level reproducibility: current main rejects build 26200.8728 because MxcAvailability accepts only build 26300.8289+. I did not run the Windows runtime path because this review was read-only and the local environment is not the reported Windows host.
Is this the best way to solve the issue?
Unclear until maintainers choose the policy direction: the staged explicit support-table PR and the separate probe-based PR both target the same MXC availability gap. The maintainable path is to pick the canonical strategy and then land the bounded runtime proof in order.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning high; reviewed against c0514bd2d026.
Label changes
Label justifications:
P2: This is a bounded Windows MXC validation and compatibility effort with active implementation PRs, not an emergency runtime outage.impact:security: The issue affects MXC sandbox availability, host fallback behavior, and contained system.run execution boundaries.Evidence reviewed
Security concerns:
src/OpenClaw.Shared/Mxc/MxcCommandRunner.cs:55Current main still routes system.run to the host when MXC is unavailable, while the linked stack changes the fail-closed and compatibility fallback contract; that boundary needs maintainer security review before this issue can close.
Confidence: 0.84
What I checked:
AGENTS.md:1, c0514bd2d026)src/OpenClaw.Shared/Mxc/MxcAvailability.cs:25, c0514bd2d026)tests/OpenClaw.Shared.Tests/Mxc/MxcAvailabilityTests.cs:68, c0514bd2d026)package.json:7, c0514bd2d026)src/OpenClaw.Shared/Mxc/MxcPolicyBuilder.cs:32, c0514bd2d026)Likely related people:
src/OpenClaw.Shared/Mxc/MxcAvailability.cs,src/OpenClaw.Shared/Mxc/MxcCommandRunner.cs,src/OpenClaw.Shared/Mxc/MxcConfigBuilder.cs)src/OpenClaw.Shared/Mxc/MxcAvailability.cs,src/OpenClaw.Shared/Mxc/MxcCommandRunner.cs,tests/OpenClaw.Shared.Tests/Mxc/MxcAvailabilityTests.cs)src/OpenClaw.Shared/Mxc/MxcAvailability.cs,src/OpenClaw.Shared/Mxc/MxcCommandRunner.cs,tests/OpenClaw.Shared.Tests/Mxc/MxcAvailabilityTests.cs)src/OpenClaw.Shared/Mxc/MxcAvailability.cs,src/OpenClaw.Shared/Mxc/MxcCommandRunner.cs,tests/OpenClaw.E2ETests/Setup/SetupAndConnectTests.cs)package.json)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.TheAngryPit commentedon Jun 18, 2026
Published the first two draft PRs for this tracking issue:
PR2 is currently opened against
mainwith an explicit dependency on #785 because both branches were published from a contributor fork. After PR1 lands, or if maintainers prefer a temporary upstream base branch, PR2 can be rebased/retargeted so the review diff contains only the MXC changes.PR3 remains planned for full Gateway-mode and installed Companion validation; this issue should stay open until that broader path is handled.
TheAngryPit commentedon Jun 18, 2026
PR3 published: #787
Scope: runtime Gateway -> Windows node -> system.run -> MXC proof.
Stacked after #786. PR3-only delta: TheAngryPit/openclaw-windows-node@feature/mxc-26200-sdk-0-7-validation...feature/gateway-system-run-mxc-e2e
TheAngryPit commentedon Jun 19, 2026
Stack status after the latest pushes to #785, #786, and #787:
Current split still looks coherent:
Remaining maintainer decision is stack shape/merge order, not an unresolved local blocker from the latest review cycle.
TheAngryPit commentedon Jun 19, 2026
Current proof map after the latest PR2/PR3 pushes:
Stack status
0c1fd1c2.cad71667; its delta over PR2 is limited to workflow/docs/E2E files.Proof levels
PR2 #786
Current head
0c1fd1c2:implemented: MXC SDK 0.7 support, Windows 26200.8728 availability, fail-closed default fallback policy, legacy settings migration, explicit versioned fallback opt-in, shell resolution, Sandbox UI diagnostics.test_proven: focused Shared MXC tests passed,66passed /0failed.test_proven: focused Tray settings/migration tests passed,18passed /0failed.build_proven: WinUI Debug win-x64 build passed afterdotnet restore -r win-x64,0warnings /0errors.runtime_provenfor direct MXC path: earlier PR2 runtime smoke on Windows build26200.8728showedwxc-exec --probewithtier=appcontainer-dacl, denied-read smoke did not leak denied content, MCPsystem.runreturnedOPENCLAW_SYSTEM_RUN_MXC_OK, and logs showedexecutor=mxc-direct-appc,contained=True, configversion=0.7.0-alpha,envKeys=[],containment=mxc.runtime_provenlimit: PR2 does not claim full Gateway pairing/runtime proof on current head; that is intentionally PR3.Final local autoreview:
openclaw-autoreview --mode local --engine codex --model gpt-5.5 --thinking highwith PR2 fail-closed/default-migration scope ended clean: no accepted/actionable findings, overallpatch is correct.PR3 #787
Current head
cad71667:implemented: focused Gateway E2E proof forGateway -> node.invoke -> Windows node -> system.run -> MXC process containment, with MXC availability gating and GatewayallowCommandsassertions.test_proven: focused Shared MXC tests passed,66passed /0failed.test_proven: focused Tray settings/migration tests passed,18passed /0failed.build_proven: WinUI Debug win-x64 build passed afterdotnet restore -r win-x64,0warnings /0errors.test_proven: E2E project compiled/listed and includesOpenClaw.E2ETests.Setup.MxcSetupAndConnectTests.RealGateway_SystemRun_ExecutesThroughWindowsNodeMxcSandbox.runtime_proven: real MXC Gateway E2E passed on Windows build26200.8728, final headcad71667:1passed /0failed /0skipped.Runtime proof markers from
pr3-mxc-e2e-final.trx:gateway.nodes.allowCommands includes system.run/system.run.prepare/system.whichOPENCLAW_GATEWAY_SYSTEM_RUN_MXC_OKexitCode=0executor=mxc-direct-appccontained=Trueshell=cmdsystemRunBlockHostFallbackWhenMxcUnavailable=truecontainment=mxcstderrChars=0Final local autoreview:
openclaw-autoreview --mode branch --base local-pr2/feature-mxc-26200-sdk-0-7-validation --engine codex --model gpt-5.5 --thinking highended clean: no accepted/actionable findings, overallpatch is correct.Still not claimed
TheAngryPit commentedon Jun 19, 2026
Clarification on the proof map above:
The latest real runtime proof was run on PR3 head
cad71667, but PR3 includes the current PR2 head0c1fd1c2plus the PR3 E2E delta. So the final-head Gateway E2E is a runtime proof of the stacked runtime behavior, including the PR2 MXC runner/settings/fail-closed code as exercised through the real path:Gateway -> node.invoke -> Windows node -> system.run -> MXC process containmentThe distinction is:
0c1fd1c2:test_proven+build_proven+ clean scoped autoreview after the fail-closed/default-migration change.runtime_provenby PR3 final-head E2E because PR3 carries PR2 current head.cad71667:runtime_provendirectly by the real Gateway E2E on Windows build26200.8728.The PR3 final-head E2E proof markers included:
gateway.nodes.allowCommands includes system.run/system.run.prepare/system.whichOPENCLAW_GATEWAY_SYSTEM_RUN_MXC_OKexitCode=0executor=mxc-direct-appccontained=Trueshell=cmdsystemRunBlockHostFallbackWhenMxcUnavailable=truecontainment=mxcstderrChars=0So the conservative wording should not be read as "we did not runtime-test the current PR2 runtime code"; we did runtime-test it through the stacked PR3 final-head Gateway path. The only thing still not claimed is a separate PR2-only full Gateway run without the PR3 E2E harness.
TheAngryPit commentedon Jun 20, 2026
@clawsweeper re-review
Stack status update after the latest PR2/PR3 pushes.
Current escadinha:
What changed in this pass:
Validation summary on Windows build 26200.8728:
Runtime proof:
Safe status:
clawsweeper commentedon Jun 20, 2026
🦞🧹
ClawSweeper re-review requested.
I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow
sweep.yml, eventrepository_dispatch).Result: the existing ClawSweeper review comment will be edited in place when the review finishes.
TheAngryPit commentedon Jun 20, 2026
Stack status update after correcting the PR1 base push.
I had requested re-review on PR2/PR3 before pushing the final PR1 base commit. That made the remote stack confusing even though the local branches already had the correct ancestry. The base has now been pushed and the PR stack is coherent:
a81719ba52d5f1b1cfce39f8fd64a446b202c23076f9bf39d5c7073fc9775f6e326249f917ef2f715ac78183cffe0b4834a004cbc5c3fee326a43d24Local ancestry checks:
a81719ba.a81719ba.76f9bf39.PR1 proof
PR1 is the locale/test/local-validation baseline.
Current-head validation for
a81719baon Windows Release Preview 25H2 build26200.8728:./build.ps1passed; all builds succeeded.dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restorepassed:2262passed,29skipped,0failed.dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restorepassed:1088passed,0skipped,0failed.openclaw-autoreview --mode branch --base upstream/main --engine codex --model gpt-5.5 --thinking highpassed clean: no accepted/actionable findings; overallpatch is correct (0.82).PR2 proof
PR2 is the MXC SDK
0.7.0/ Windows build26200.8728support and runtime-policy slice.Current-head validation for
76f9bf39:OPENCLAW_RUN_INTEGRATION=1 dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore --filter "FullyQualifiedName~MxcCommandRunnerIntegrationTests|FullyQualifiedName~MxcCommandRunnerTests|FullyQualifiedName~MxcConfigBuilderTests" --verbosity minimalpassed:82passed,0skipped,0failed.openclaw-autoreview --mode commit --commit HEAD --engine codex --model gpt-5.5 --thinking highpassed clean: no accepted/actionable findings; overallpatch is correct (0.86).PR2 keeps the maintainer-requested compatibility fallback by default:
SystemRunBlockHostFallbackWhenMxcUnavailable=true: fail closed.Custom
system.runenv remains rejected before fallback while sandboxing is enabled.PR3 proof
PR3 is the real Gateway runtime proof slice.
Current-head validation for
5ac78183:82passed,0skipped,0failed.2passed,0skipped,0failed.openclaw-autoreview --mode commit --commit HEAD --engine codex --model gpt-5.5 --thinking highpassed clean: no accepted/actionable findings; overallpatch is correct (0.86).Runtime path proven by PR3:
Gateway -> node.invoke -> Windows Node -> system.run -> MXCRuntime markers included:
gateway.nodes.allowCommands includes system.run/system.run.prepare/system.whichOPENCLAW_GATEWAY_SYSTEM_RUN_MXC_OKexitCode=0executor=mxc-direct-appccontained=Trueshell=cmdcontainment=mxcInstalled Companion smoke
In addition to the E2E test path, a stacked PR3 build was packaged, installed, launched, paired with the real Gateway, and tested through:
Gateway -> node.invoke -> Windows Node -> system.run -> MXCInstalled smoke results:
system.runreturnedok=true,exitCode=0, and the expected stdout marker.executor=mxc-direct-appc,contained=True,containment=mxc,allowOutbound=False, anddeniedCount=7.Access is denied.exitCode=1.Local MCP server proof is not claimed; this installed smoke used the Gateway path.
Security/fallback note
This stack intentionally preserves the current compatibility fallback default because review feedback asked not to break existing users when MXC is unavailable. The strict fail-closed path is still implemented as an explicit setting.
From a security perspective, I think maintainers should still reconsider making fail-closed the default in a follow-up. If a user enables sandboxing, silently falling back to host execution when MXC is unavailable is weaker than blocking and surfacing the unavailable sandbox state. The current PRs keep compatibility as requested, but leave a clear path for a future policy change.
Validation boundaries
Still not claimed:
isolation_sessionbehavior on build26200.8728.system.run-> MXC path.TheAngryPit commentedon Jun 24, 2026
Stack status update after PR2 republish.
PR1 #785 is merged, and PR2 #786 has now been republished at
770522bccc5f544417453d0b49004fae36e755d7on top of currentmaine7ef2715398ccb677ad0e752503d3e61610401e1.What changed at the stack level:
microsoft/mxc:processContaineris the emitted config shape;appContaineris treated as legacy/deprecated upstream alias.Current PR2 proof summary:
25H2, build26200.8737.wxc-exec --probe:tier=appcontainer-dacl, DACL augmentation required, UI-blocking probes available.94passed,0skipped.2462passed,31skipped.1127passed,0failed../build.ps1: passed across Shared, Cli, WinNodeCli, SetupEngine, and WinUI.openclaw-autoreviewagainstorigin/main: clean, no accepted/actionable findings;patch is correct (0.78).Proof boundary:
system.runpolicy slice.system.run-> MXC proof is still intentionally scoped to PR3 Add Gateway system.run MXC runtime E2E proof #787/top-of-stack validation after PR2 settles.Next stack step after PR2 review/checks settle: rebase PR3 #787 on this PR2 head, then run the full top-of-stack app/runtime proof before asking for publication there.
TheAngryPit commentedon Jun 24, 2026
Stack status update after the PR3 republish/re-review.
Current stack
PR1 Fix locale-sensitive Windows tests and technical token formatting #785 is merged at
0555bfa52c0de1d6b88055260d24995d2c2b7782.diamond lobster.PR2 Validate MXC SDK 0.7.0 on Windows build 26200.8728 #786 is open at
770522bccc5f544417453d0b49004fae36e755d7.gold shrimp.proof: sufficientandstatus: ready for maintainer look.CLEAN.PR3 Add Gateway system.run MXC runtime E2E proof #787 is open at
760dc2f9f7a68d8f95eda35683d51f296d5c3b5f.platinum hermit.proof: sufficientandstatus: ready for maintainer look.CLEAN.What changed since the previous issue update
PR2 was republished on current
mainafter PR1 merged, preserving the maintainer-requested compatibility fallback while aligning with current MXC SDK0.7.0/processContainerbehavior.PR3 was then rebuilt cleanly on top of that PR2 head and republished. The PR3-only diff is now limited to the Gateway/MXC E2E proof surface:
.github/workflows/ci.ymldocs/WINDOWS_NODE_TESTING.mdtests/OpenClaw.E2ETests/E2EFactAttribute.cstests/OpenClaw.E2ETests/Setup/MxcE2ESetupFixture.cstests/OpenClaw.E2ETests/Setup/MxcSetupAndConnectTests.csCurrent proof summary
PR2 #786:
test_proven: focused MXC/runtime tests passed locally on Windows25H2, build26200.8737.test_proven: full Shared and full Tray test suites passed locally.build_proven: WinUI build and./build.ps1passed locally.runtime_proven: direct MXC/system.run policy slice was exercised locally withwxc-exec --probeshowingtier=appcontainer-dacl,needsDaclAugmentation=true, and UI-blocking probes available.review_proven: scopedopenclaw-autoreviewagainstorigin/mainreturned clean with no accepted/actionable findings.ci_proven: current GitHub checks for PR2 are green.PR3 #787:
test_proven: E2E project build passed locally.test_proven: gate-off behavior passed locally withOPENCLAW_RUN_E2Eunset: both MXC E2E tests skipped for the expected reason.build_proven: WinUI build passed locally.runtime_proven: real Gateway MXC E2E passed locally with2passed,0skipped,0failed.runtime_proven: positive path provedGateway -> node.invoke -> Windows Node -> system.run -> MXCwithOPENCLAW_GATEWAY_SYSTEM_RUN_MXC_OK,exitCode=0,executor=mxc-direct-appc,contained=True,shell=cmd, andcontainment=mxc.runtime_proven: negative denied-write path returned non-zero exit, did not create the target file, and still logged MXC containment.review_proven: scopedopenclaw-autoreview --mode branch --base tap/pr2-rebased-after-pr1-merge --engine codex --model gpt-5.5 --thinking highreturned clean with no accepted/actionable findings; overallpatch is correct (0.86).ci_proven: current GitHub checks for PR3 are green.Policy / maintainer decision still open
PR2 intentionally preserves the current compatibility fallback default because earlier review feedback asked not to break existing users when MXC is unavailable:
From a security perspective, I still think maintainers should consider making fail-closed the long-term default when sandboxing is enabled. Silent host fallback after a sandbox request is weaker than blocking and surfacing the sandbox-unavailable state. The current PR2 keeps compatibility as requested and leaves the stricter path available/configurable.
Still not claimed
TheAngryPit commentedon Jun 25, 2026
Current proof map for the #784 PR stack.
This update corresponds to the following heads:
origin/main7a7f39df442de02a020d861eVerified local stack order:
origin/main -> PR2 #786 -> PR3 #787Baseline
The separate Windows
build.ps1host-detection fix from #822 has been merged and is now part of upstreammain. PR2/PR3 are rebased on that baseline and do not carry the #822 change.Current host used for local validation:
26200.873710.0.301OpenClawGatewayOpenClaw 2026.6.10PR2 #786
Current head
442de02a.What PR2 covers:
0.7.0.26200.8728+processcontainer/AppContainer-DACL support.26300.8289+processcontainer support.isolation_sessionstill gated to26300.8553+.0.7.0-alpha.process.envis not usable on this backend.SystemRunBlockHostFallbackWhenMxcUnavailable=true.Fresh current-head proof:
.\build.ps1passed without setting$env:OS.141passed,0failed,0skipped.28passed,0failed,0skipped.PR2 proof limits:
PR3 #787
Current head
020d861e, stacked on PR2442de02a.What PR3 covers:
wxc-exec.exediscovery before skipping.system.run,system.run.prepare, andsystem.which.system.run-> MXC success proof.system.run-> MXC denied-write proof.Fresh current-head proof:
.\build.ps1passed without setting$env:OS.0warnings,0errors.2passed,0failed,0skipped.Installed-app runtime proof:
Sha.020d861eb50d605afa400aa16d89e240c9c85c5d.0.6.4-tap-pr3-gateway-mxc-e2e-on-pr2-770522b.1.system.runavailable.OPENCLAW_REAL_APP_MXC_26200_8737_OK_f636bbaf:exitCode=0,timedOut=false, marker present in stdout.OPENCLAW_REAL_APP_MXC_26200_8737_DENIED_d1d8822f:exitCode=1,timedOut=false, marker absent from stdout, target file not created.executor=mxc-direct-appc,contained=True,wxcExec=<set>,version=0.7.0-alpha,envKeys=[], network default block policy, and finalcontainment=mxcfor both success and denied-write commands.PR3 proof limits:
Maintainer Decision Surface
This stack intentionally keeps the current compatibility fallback default while adding a strict fail-closed option. From a security standpoint, strict fail-closed is the stronger long-term default. From a compatibility standpoint, preserving fallback avoids breaking existing users when MXC is unavailable or regresses.
The current PR2 implementation is therefore conservative for upstream compatibility while making the stricter behavior available and test-covered.
TheAngryPit commentedon Jun 25, 2026
Status update:
#786, MXC SDK 0.7.0 validation on Windows build 26200.8728) has merged intomain.#787) has been rebased onto currentorigin/mainand now carries only the Gatewaysystem.runMXC runtime E2E proof layer.git diff --check origin/main..HEADdotnet build tests/OpenClaw.E2ETests -c Debug -r win-x64OPENCLAW_RUN_E2E=1MXC E2E proof:2 passed / 0 failed / 0 skippedorigin/main..HEAD: clean, no accepted/actionable findingsThe PR3 proof now shows both:
system.runexecution withcontainment=mxcRemaining unrelated base/local notes:
GatewayLkgVersionis still pinned to2026.6.9while npm latest is2026.6.10; this is also true on currentmain.OpenClaw.Shared.Teststiming/sanitizer flakes that reproduce againstorigin/main; they are not PR3 regressions.shanselman commentedon Jun 25, 2026
@TheAngryPit I am in here looking at this right now, in case we step on each other, FYI
TheAngryPit commentedon Jun 25, 2026
@shanselman ok I will be more passive for now then, but I am here to help, trying to do my part :)
TheAngryPit commentedon Jun 25, 2026
P.S. @shanselman
Quick update: our latest local validation also works on Windows build 26200.8737, not only 26200.8728.
Environment:
Display version: 25H2
Edition: Professional
Installation type: Client
This is the same machine after the latest Windows update, and the PR3 MXC E2E proof still passes on this build.
bkudiess commentedon Jul 8, 2026
Closing as addressed.
The tracking stack has landed:
scripts/validate-mxc-e2e.ps1.The broader follow-up areas are already tracked separately in #837, #848, and #852, so this build-specific validation tracker can close.