Repository navigation
chore: use MXC SDK 0.8.0 - #1234
Conversation
Co-authored-by: Copilot App <[email protected]> Copilot-Session: a0b075d5-fcf9-4d2b-bd8a-d5ee4dde168f
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 26, 2026, 3:51 PM ET / 19:51 UTC. ClawSweeper reviewWhat this changesUpdates the packaged Microsoft MXC sandbox SDK and build-time version check from 0.7.0 to 0.8.0 while retaining OpenClaw’s existing policy schema. Merge readinessThis collaborator-owned MXC executor upgrade is not on current main and has a focused, guarded implementation with supplied real gateway containment evidence. No concrete patch defect was found; it should remain open for normal maintainer review and the active checks. Priority: P2 Review scores
Verification
How this fits togetherThe Windows node routes gateway command requests through the MXC AppContainer executor. The tray build restores the locked npm package, copies its native executor into the app payload, and runtime code uses that payload to enforce sandbox policy. flowchart LR
A[Gateway command request] --> B[Windows node policy]
B --> C[MXC configuration]
C --> D[Packaged native executor]
D --> E[AppContainer process]
E --> F[Command result and containment diagnostics]
Before merge
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Land the exact locked 0.8.0 executor only after current-head MXC containment validation and required checks complete, while retaining the 0.7 policy schema until directional-network behavior has its own compatibility review. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a dependency upgrade, not a report of a failing workflow. The PR supplies a current-head real Gateway execution and denied-write containment run. Is this the best way to solve the issue? Yes. Updating the locked package and exact build-time version guard while preserving the existing policy schema is the narrowest maintainable route to the executor fixes. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 1e18866d9b42. 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
|
Post-merge MXC E2E validationValidated commit .\scripts\validate-mxc-e2e.ps1 -RuntimeIdentifier win-arm64The run used the Microsoft NuGet package-feed proxy and public This proves the retained |
@karkarl please review this MXC executor upgrade.
What Problem This Solves
OpenClaw shipped the older MXC 0.7 executor even though MXC 0.8 is now the supported npm release with native executor fixes and stronger fail-closed behavior.
Why This Change Was Made
Upgrade the packaged
@microsoft/mxc-sdkand shippedwxc-exec.exeto 0.8.0. OpenClaw intentionally retains the supported0.7.0-alphapolicy contract so this PR does not also introduce schema 0.8 directional-network behavior changes.User Impact
Sandboxed
system.runuses the MXC 0.8 native executor while preserving the existing OpenClaw policy and permission behavior.Evidence
npm ls @microsoft/mxc-sdk --depth=0resolves@microsoft/[email protected].tools\mxc\x64\wxc-exec.exeSHA-256 matches the npm 0.8.0 package binary:6049C64723AF1173C3739DC6CD6B2F33F6C021BB2832C4216233CBA7F71AEE9A.Change Type
Scope
winnodeValidation
./build.ps1: passed, all five projects built successfully.dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore: 3,813 passed, 32 skipped, 0 failed.dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore: 2,724 passed, 0 failed../scripts/validate-mxc-e2e.ps1 -NoBuild: passed all required non-skipping MXC proofs.Real Behavior Proof
5f2f7f6b../scripts/validate-mxc-e2e.ps1 -NoBuild.system.runreturnedOPENCLAW_GATEWAY_SYSTEM_RUN_MXC_OKwith exit code 0 and runtime diagnostics reportedexecutor=mxc-direct-appc,contained=True, andcontainment=mxc.RealGateway_SystemRun_ExecutesThroughWindowsNodeMxcSandbox,RealGateway_SystemRun_BlocksWritesToTrayDataDirectoryInMxcSandbox, andMirroredWslSafeGatewayPort_IsListeningAndRecordedall passed. The denied-write proof returned non-zero and left the protected file absent.Yes/No/N/A): N/ASecurity Impact
Yes/No): NoYes/No): NoYes/No): NoYes/No): YesYes/No): NoYes, explain the risk and mitigation: The native MXC executor changed from 0.7.0 to 0.8.0. OpenClaw retains its 0.7 policy contract, build-time version enforcement verifies the package, the shipped binary hash matches the dependency, and real Gateway execution plus denied-write containment passed.Compatibility and Migration
Yes/No): YesYes/No): NoYes/No): NoReview Conversations