sbx: update policy commands for new global-default syntax#25275
Open
dvdksn wants to merge 1 commit into
Open
Conversation
Remove the `-g` flag from all `sbx policy allow/deny/rm` examples — global scope is now the default. Replace positional sandbox names with the new `--sandbox <name>` flag for sandbox-scoped rules. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
✅ Deploy Preview for docsdocker ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
docker-agent
reviewed
Jun 5, 2026
docker-agent
left a comment
There was a problem hiding this comment.
Assessment: 🟢 APPROVE
This PR updates sbx policy allow, sbx policy deny, and sbx policy rm examples across five documentation files to reflect the new sbx v0.32.0 CLI syntax. All changes are consistent and correct:
- The
-gflag is removed from all global-scope examples (global is now the default) - Positional sandbox name arguments are replaced with
--sandbox <name>in all sandbox-scoped examples - Table formatting in
local.mdis cosmetically updated but content is unchanged
No factual errors, incorrect commands, missing redirects, vendored-file edits, or style violations found. Clean, focused syntax update.
akristen
approved these changes
Jun 5, 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.
Summary
Updates all
sbx policy allow,sbx policy deny, andsbx policy rmexamplesto reflect the new CLI syntax in sbx v0.32.0: global scope is now the default
(no flag required), and sandbox-scoped rules use
--sandbox <name>instead ofa positional sandbox name argument.
Generated by Claude Code