Skip to content

sbx: update policy commands for new global-default syntax#25275

Open
dvdksn wants to merge 1 commit into
docker:mainfrom
dvdksn:worktree-tender-hatching-sketch
Open

sbx: update policy commands for new global-default syntax#25275
dvdksn wants to merge 1 commit into
docker:mainfrom
dvdksn:worktree-tender-hatching-sketch

Conversation

@dvdksn
Copy link
Copy Markdown
Contributor

@dvdksn dvdksn commented Jun 5, 2026

Summary

Updates all sbx policy allow, sbx policy deny, and sbx policy rm examples
to 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 of
a positional sandbox name argument.

Generated by Claude Code

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>
@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 5, 2026

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit af923dd
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a22b3eace824900081f909f
😎 Deploy Preview https://deploy-preview-25275--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dvdksn dvdksn added the status/review Pull requests that are ready for review label Jun 5, 2026
@dvdksn dvdksn added this to the sbx/v0.32.0 milestone Jun 5, 2026
@dvdksn dvdksn requested a review from a team June 5, 2026 11:33
Copy link
Copy Markdown

@docker-agent docker-agent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 -g flag 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.md is cosmetically updated but content is unchanged

No factual errors, incorrect commands, missing redirects, vendored-file edits, or style violations found. Clean, focused syntax update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ai status/review Pull requests that are ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants