Fix unavailable sandbox toggle state#825
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed June 25, 2026, 11:38 PM ET / 03:38 UTC. Summary Reproducibility: yes. by source inspection: the PR head calls normalization from page refresh/load, sets SystemRunSandboxEnabled=false, then saves. I did not run the WinUI scenario because this review is read-only. Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Mantis proof suggestion Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest possible solution: Render unavailable MXC as an effective off/unavailable UI state without mutating the stored sandbox preference; preserve strict fallback blocking and require redacted unavailable-host proof before merge. Do we have a high-confidence way to reproduce the issue? Yes, by source inspection: the PR head calls normalization from page refresh/load, sets SystemRunSandboxEnabled=false, then saves. I did not run the WinUI scenario because this review is read-only. Is this the best way to solve the issue? No, not as submitted. The safer fix is to separate the effective unavailable UI state from the persisted user preference unless maintainers explicitly approve and prove a persist-off upgrade behavior. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 5602c96c2704. Label changesLabel justifications:
Evidence reviewedSecurity concerns:
What I checked:
Likely related people:
What the crustacean ranks mean
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. How this review workflow works
|
|
Quarantining this for now because it targets The PR branch looks small as a single commit, but comparing it against current Also flagging that this touches sandbox unavailable / host fallback behavior, which has changed recently on |
Normalize the Sandbox page toggle off when MXC is definitively unavailable, reject turning it back on in the host-fallback mode, and preserve strict fallback blocking so users who opted into command denial remain protected. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
124fdfa to
9147d1d
Compare
Summary
mainwithout reverting newer MXC strict host-fallback and shell-approval behavior.Validation
./build.ps1dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restoredotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restoreReview notes
master; this PR branch was replaced with a cleanmainport after maintainer approval.