feat(cli): add /sandbox status command (#3316)#3585
Merged
Conversation
esengine
approved these changes
Jun 9, 2026
esengine
left a comment
Owner
There was a problem hiding this comment.
Nice — a read-only /sandbox status that surfaces both the file-writer confinement and the OS bash-sandbox phase (incl. the inactive-on-this-host note) is genuinely useful. Built + verified the wiring locally. Closes #3316, thanks!
Contributor
Author
|
glad to be of help!!! |
dorokuma
pushed a commit
to dorokuma/DeepSeek-Reasonix
that referenced
this pull request
Jun 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3316
Problem
The CLI has no way to inspect sandbox status. Phase 0 (file-writer confinement) never reports itself — users cannot tell whether file writes are confined or what the boundaries are. Phase 1 (OS bash sandbox) only surfaces via a single stderr warning on unsupported platforms. The desktop has a full SandboxView UI; the CLI has nothing equivalent.
Solution
Adds a /sandbox slash command to the CLI chat TUI that displays both sandbox phases:
sandbox
phase 0 file-writer confinement
write_roots /home/user/project
workspace_root /home/user/project
allow_write /tmp
phase 1 OS bash sandbox
bash enforce (inactive: no OS sandbox on this host — bash runs unconfined)
network true
Changes
Testing