Skip to content

Commit d2c293f

Browse files
docs(sbx) clarify sbx env command
1 parent 7b1dae5 commit d2c293f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

content/manuals/ai/sandboxes/security/isolation.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ including:
123123
- CI configuration (`.github/workflows/`, `.gitlab-ci.yml`)
124124
- IDE configuration (`.vscode/tasks.json`, `.idea/` run configurations)
125125
- AI project configuration and settings (`.claude/`, `.codex/`, `.gemini/`)
126+
- Sandbox environment files (`.sbxenv.yaml`)
126127
- Hidden files, shell scripts, and executables
127128

128129
Some of these files execute code when you trigger normal development
@@ -141,6 +142,12 @@ Review them after any agent session before performing those actions:
141142
- AI project configuration and settings (`.claude/settings.json`, `.codex/config.toml`,
142143
`.gemini/settings.json`) can define hooks and startup commands that
143144
execute automatically.
145+
- Sandbox environment files (`.sbxenv.yaml`) can declare `secrets` and
146+
`registries` whose values come from a `command`. Those commands run on
147+
the host, as you, the next time you run `sbx env create` or
148+
`sbx env run` in that directory — before the sandbox exists. Because the
149+
file sits in the workspace, an agent in direct mount can add or change
150+
one.
144151

145152
> [!WARNING]
146153
> Treat sandbox-modified workspace files the same way you would treat a pull

0 commit comments

Comments
 (0)