Skip to content

docs: correct sandbox policy prompt timing - #25724

Open
dvdksn wants to merge 1 commit into
docker:mainfrom
dvdksn:codex/fix-issue-4850-policy-prompt
Open

docs: correct sandbox policy prompt timing#25724
dvdksn wants to merge 1 commit into
docker:mainfrom
dvdksn:codex/fix-issue-4850-policy-prompt

Conversation

@dvdksn

@dvdksn dvdksn commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Correct the Docker Sandboxes onboarding flow so the policy selector appears with the first sandbox run instead of sbx login. Align the local policy page and prompt example with the current CLI behavior.

@netlify /ai/sandboxes/get-started/

Preview:

Closes docker/sandboxes#4850

Generated by Codex

The get-started guide said sbx login initialized the default network policy, but login is authentication-only.

Move the selector to the first sbx run, document the policy-dependent trigger and reset behavior, and sync the prompt text with the CLI.

Fixes docker/sandboxes#4850.

Co-Authored-By: Codex <noreply@openai.com>
@netlify

netlify Bot commented Aug 5, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 0157826
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a72fa85f279920008804482
😎 Deploy Preview https://deploy-preview-25724--docsdocker.netlify.app/ai/sandboxes/get-started/
📱 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 Aug 5, 2026
@dvdksn
dvdksn requested a review from a team August 5, 2026 08:56

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Assessment: 🟡 NEEDS ATTENTION

Comment thread content/manuals/ai/sandboxes/governance/local.md

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Assessment: 🟡 NEEDS ATTENTION

The PR correctly moves the sandbox policy prompt from the sbx login step to the first sbx run step in both get-started.md and governance/local.md, aligning the docs with current CLI behavior. No vendored files are touched, no redirects are needed, and there are no AI-isms or markdown issues.

One medium concern: the updated sbx policy reset description in governance/local.md changes from a deferred restart ("stops the daemon… restarts on the next command") to an immediate restart ("restarts the daemon"). If the actual behavior is still deferred, this introduces a misleading description.

Comment thread content/manuals/ai/sandboxes/governance/local.md
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.

2 participants