You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed July 29, 2026, 4:45 PM ET / 20:45 UTC.
Summary
Keep this open. The existing Sandbox page and MXC path govern Windows-node system.run, while gateway-side tools remain a separate execution and policy surface; defining a UI for that surface requires an explicit security and product decision before implementation.
Reproducibility: not applicable. This is a request for a new gateway-policy configuration surface, not a report of a defined current behavior failing.
Root-cause cluster
Relationship: canonical
Canonical: #852
Summary: This is the canonical child item for gateway-tool-call sandbox UI. The related MXC work establishes Windows-node containment and validation but does not own gateway-local policy.
Members:
partial_overlap: 🦞 Tracking: Secure & contained node (MXC) #837 - The open parent epic tracks the broader secure-and-contained-node outcome, while this issue owns the distinct gateway-tool UI slice.
adjacent_distinct: Add Gateway system.run MXC runtime E2E proof #787 - The merged proof validates gateway-mediated node invocation and MXC containment, not sandboxing of tools that run inside the gateway.
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.
Ways to help us reproduce this
Add a screenshot or short recording showing the behavior.
Add expected vs actual behavior.
Include redacted logs or terminal output.
Maintainer decision needed
Question
Recommendation
Should the Windows companion be allowed to configure and display the containment policy for gateway-resident tools, and if so, what gateway-owned policy contract and enforcement guarantees must exist first?
Define a gateway-owned policy contract: Specify a durable gateway configuration and enforcement API, then add a scoped companion UI that reads and updates only that contract.
Why: Current code proves containment for Windows-node execution, but gateway-local tools are intentionally outside that UI's scope. Choosing who owns policy, persistence, and fail-closed behavior is a security-boundary decision rather than a mechanical UI change.
Next step
A security and product decision is required to define the gateway-owned policy contract before a safe UI or repair task can be scoped.
Security
Needs attention: This issue proposes a new security control plane, so the gateway policy owner and enforcement guarantees need explicit review before implementation.
Review details
Best possible solution:
Agree on a gateway-owned containment and policy API first, then expose that supported contract in the Node UI with clear scope copy, paired-auth enforcement, upgrade behavior, and end-to-end gateway proof.
Do we have a high-confidence way to reproduce the issue?
Not applicable. This is a request for a new gateway-policy configuration surface, not a report of a defined current behavior failing.
Is this the best way to solve the issue?
Unclear. A UI can be appropriate only after maintainers define the gateway-owned policy and enforcement contract; reusing the node-only Sandbox UI without that boundary would be misleading.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
A Node UI toggle without a gateway-owned sandbox policy contract could imply that it governs gateway-local tools when it does not, creating a misleading security boundary.
Persisting or editing gateway containment settings from the companion requires decisions on authentication, precedence, migration, and behavior when the gateway cannot enforce the requested policy.
Codex review notes: model internal, reasoning high; reviewed against c04c5fb06238.
Label changes
Label justifications:
P1: The item governs containment for tool execution and is already prioritized P1 in the issue history by a repository collaborator.
impact:security: The requested controls define sandboxing and authority boundaries for gateway tool calls.
Evidence reviewed
Security concerns:
[high] Define gateway containment authority before adding UI
The current Sandbox surface controls Windows-node execution, not gateway-local tools. A companion UI must not claim or persist gateway sandbox policy until the gateway exposes an authenticated, enforceable contract with defined fallback behavior.
Confidence: 0.94
What I checked:
Requested boundary remains distinct: The issue specifically asks for user-configurable sandboxing of gateway tool calls, while the prior current-main review established that the existing UI excludes commands run directly on the gateway. (src/OpenClaw.Tray.WinUI/Pages/SandboxPage.xaml, c04c5fb06238)
Existing sandbox feature is node-scoped: Merged work for the Sandbox page describes MXC containment for Windows-node system.run and explicitly excludes gateway-side WSL tools, so it does not implement this issue's gateway governance request. (src/OpenClaw.Tray.WinUI/Pages/SandboxPage.xaml, 62533e2901bd)
Gateway-to-node containment is already proven but is not gateway containment: The merged Gateway MXC proof covers Gateway to node.invoke to Windows node to system.run to MXC. That validates the node execution route, not policy for tools executed by the gateway itself. (tests/OpenClaw.E2ETests/Setup/MxcSetupAndConnectTests.cs, e70868d82bf0)
Parent roadmap still tracks this as a distinct child: The open MXC epic retains this issue as its dedicated child for gateway-tool-call sandbox UI, alongside separate validation, SDK, session-management, tool-containment, and allowlist work.
Collaborator-authored item requires human handling: The issue author association is COLLABORATOR, so this cleanup workflow must keep the item open for explicit maintainer judgment.
Likely related people:
bkudiess: Introduced the merged MXC Sandbox page and companion-side command-containment implementation, including the explicit scope boundary separating it from gateway-side tools. (role: sandbox feature introducer; confidence: high; commits: 62533e2901bd; files: src/OpenClaw.Tray.WinUI/Pages/SandboxPage.xaml, src/OpenClaw.Shared/Mxc/MxcCommandRunner.cs)
TheAngryPit: Added the merged real gateway-to-Windows-node MXC proof, making them a useful technical routing contact for preserving the distinction between node invocation and gateway-local tools. (role: gateway-to-node containment proof contributor; confidence: high; commits: e70868d82bf0; files: tests/OpenClaw.E2ETests/Setup/MxcSetupAndConnectTests.cs, docs/WINDOWS_NODE_TESTING.md)
samanthamsong: Authored both this child item and the open Secure & contained node tracking epic that lists it as a separate dependency. (role: epic and child-issue scope author; confidence: medium)
How this review workflow works
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.
Activity
clawsweeper commentedon Jun 26, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed July 29, 2026, 4:45 PM ET / 20:45 UTC.
Summary
Keep this open. The existing Sandbox page and MXC path govern Windows-node
system.run, while gateway-side tools remain a separate execution and policy surface; defining a UI for that surface requires an explicit security and product decision before implementation.Reproducibility: not applicable. This is a request for a new gateway-policy configuration surface, not a report of a defined current behavior failing.
Root-cause cluster
Relationship:
canonicalCanonical: #852
Summary: This is the canonical child item for gateway-tool-call sandbox UI. The related MXC work establishes Windows-node containment and validation but does not own gateway-local policy.
Members:
partial_overlap: 🦞 Tracking: Secure & contained node (MXC) #837 - The open parent epic tracks the broader secure-and-contained-node outcome, while this issue owns the distinct gateway-tool UI slice.adjacent_distinct: MXC AppContainer sandboxing for system.run + Sandbox settings page #319 - The merged Sandbox page governs Windows-node system.run and explicitly excludes gateway-side tools.adjacent_distinct: Add Gateway system.run MXC runtime E2E proof #787 - The merged proof validates gateway-mediated node invocation and MXC containment, not sandboxing of tools that run inside the gateway.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: Current code proves containment for Windows-node execution, but gateway-local tools are intentionally outside that UI's scope. Choosing who owns policy, persistence, and fail-closed behavior is a security-boundary decision rather than a mechanical UI change.
Next step
A security and product decision is required to define the gateway-owned policy contract before a safe UI or repair task can be scoped.
Security
Needs attention: This issue proposes a new security control plane, so the gateway policy owner and enforcement guarantees need explicit review before implementation.
Review details
Best possible solution:
Agree on a gateway-owned containment and policy API first, then expose that supported contract in the Node UI with clear scope copy, paired-auth enforcement, upgrade behavior, and end-to-end gateway proof.
Do we have a high-confidence way to reproduce the issue?
Not applicable. This is a request for a new gateway-policy configuration surface, not a report of a defined current behavior failing.
Is this the best way to solve the issue?
Unclear. A UI can be appropriate only after maintainers define the gateway-owned policy and enforcement contract; reusing the node-only Sandbox UI without that boundary would be misleading.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning high; reviewed against c04c5fb06238.
Label changes
Label justifications:
P1: The item governs containment for tool execution and is already prioritized P1 in the issue history by a repository collaborator.impact:security: The requested controls define sandboxing and authority boundaries for gateway tool calls.Evidence reviewed
Security concerns:
The current Sandbox surface controls Windows-node execution, not gateway-local tools. A companion UI must not claim or persist gateway sandbox policy until the gateway exposes an authenticated, enforceable contract with defined fallback behavior.
Confidence: 0.94
What I checked:
src/OpenClaw.Tray.WinUI/Pages/SandboxPage.xaml, c04c5fb06238)src/OpenClaw.Tray.WinUI/Pages/SandboxPage.xaml, 62533e2901bd)tests/OpenClaw.E2ETests/Setup/MxcSetupAndConnectTests.cs, e70868d82bf0)Likely related people:
src/OpenClaw.Tray.WinUI/Pages/SandboxPage.xaml,src/OpenClaw.Shared/Mxc/MxcCommandRunner.cs)tests/OpenClaw.E2ETests/Setup/MxcSetupAndConnectTests.cs,docs/WINDOWS_NODE_TESTING.md)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.github-actions commentedon Jul 25, 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 Aug 6, 2026
Closing due to inactivity.
If this still affects OpenClaw Windows, open a new issue with the current version, logs, and fresh reproduction details.