Claude Code: Sandboxed Bash commands follow normal permission flow by default
Sandboxed Bash commands follow the normal permission flow by default; set sandbox.autoAllowBashIfSandboxed: true to keep running them without prompts.
- Event type
- Feature
- Version
- v2.1.325
- Published by vendor
- Compiled here
What changed · Change details · Version timeline
Key change
Sandboxed Bash commands now follow the normal permission flow by default, and setting sandbox.autoAllowBashIfSandboxed: true keeps them running without prompts.
What changed
9 points
Sandboxed Bash commands now follow the normal permission flow by default, and setting
sandbox.autoAllowBashIfSandboxed: truekeeps them running without prompts.Official wording · c1
Changed sandboxed Bash commands to follow the normal permission flow by default; set
sandbox.autoAllowBashIfSandboxed: trueto keep running them without promptsOfficial wording · c1 For managed settings that turn the sandbox on, keeping commands running without prompts requires setting
sandbox.autoAllowBashIfSandboxed: truein your highest-ranking managed source.Official wording · c2
Changed managed settings that turn the sandbox on: to keep commands running without prompts, set
sandbox.autoAllowBashIfSandboxed: truein your highest-ranking managed sourceOfficial wording · c2 Scheduled tasks and
/loopnow ask before running a skill that declaresallowed-toolsor hooks, and addingSkill(name)topermissions.allowlets it run unattended.Official wording · c3
Changed scheduled tasks and
/loopto ask before running a skill that declaresallowed-toolsor hooks; addSkill(name)topermissions.allowto run it unattendedOfficial wording · c3 Read-only git commands now ask first in a repository that isn't the project's or one you trusted; naming it with
--add-dir, not theadditionalDirectoriessetting, runs them without prompts.Official wording · c4
Changed read-only git commands to ask first in a repository that isn't the project's or one you trusted; name it with
--add-dir, not theadditionalDirectoriessetting, to run them without promptsOfficial wording · c4 A security issue in how zstd-compressed responses are decoded was fixed.
Official wording · c5
Fixed a security issue in how zstd-compressed responses are decoded
Official wording · c5 A gap in Bash permission checks, where some compound commands could run without asking, was fixed, and these commands now ask for permission.
Official wording · c6
Fixed a gap in Bash permission checks where some compound commands could run without asking; these now ask for permission
Official wording · c6 VSCode gains prompt suggestions wherever the terminal shows them: Tab accepts the suggested next prompt, and
promptSuggestionEnabled: falsein Claude Code'ssettings.jsonturns them off.Official wording · c7
[VSCode] Added prompt suggestions wherever the terminal shows them: Tab accepts the suggested next prompt;
promptSuggestionEnabled: falsein Claude Code'ssettings.jsonturns them offOfficial wording · c7 Marketplace
refnow accepts the full ID of any commit on a branch or tag, but clients before this version can't clone such a pin, so a marketplace pinned this way stops loading there.Official wording · c8
Changed marketplace
refto accept the full ID of any commit on a branch or tag; clients before this version can't clone such a pin, so a marketplace pinned this way stops loading thereOfficial wording · c8 In Claude Code on the web, new cloud sessions used to cut MCP tool descriptions loaded through tool search at 4,096 characters; the limit is now 16,384, as in other Claude Code sessions.
Official wording · c9
[Claude Code on the web] Fixed new cloud sessions cutting MCP tool descriptions loaded through tool search at 4,096 characters; the limit is now 16,384, as in other Claude Code sessions
Official wording · c9
Change details
This table organizes reviewed facts and retains their language. See each point’s quotation for the original text.
| ID | Subject | Action | Object | Scope | Values |
|---|---|---|---|---|---|
| c1 | sandboxed Bash commands | changed to follow | normal permission flow by default | ||
| c2 | managed settings that turn the sandbox on | require setting | sandbox.autoAllowBashIfSandboxed: true to keep commands running without prompts | highest-ranking managed source | |
| c3 | scheduled tasks and /loop | ask before running | a skill that declares allowed-tools or hooks | ||
| c4 | read-only git commands | ask first | in a repository that isn't the project's or one you trusted | ||
| c5 | Claude Code | fixed | a security issue in how zstd-compressed responses are decoded | ||
| c6 | Bash permission checks | fixed a gap | some compound commands could run without asking | ||
| c7 | VSCode | added | prompt suggestions | VSCode | |
| c8 | marketplace ref | changed to accept | the full ID of any commit on a branch or tag | ||
| c9 | Claude Code on the web | fixed | MCP tool descriptions cut at 4,096 characters; limit now 16,384 | new cloud sessions; MCP tool descriptions loaded through tool search | exactly 16384 characters |
Version timeline
Published updates for this tool on this site, newest official date first.
- Code Mode can be turned on while agent teams are enabled
- CurrentSandboxed Bash commands follow normal permission flow by default
- No repository option for Anthropic-hosted cloud sessions
- Claude apps gateway admin API adds a cost report
- Added sandbox.allowNestedUserNamespaces for sandboxed Linux commands
- Cache write token fields added to OpenTelemetry api_request event
About this tool
Claude Code
Claude Code is Anthropic's coding agent for reading codebase context, editing files, running commands and assisting development work.
CategoriesAI Coding
View Claude Code detailsRelated guides
- Find and fix one bug with Claude CodeBring a reproduction command and error into Claude Code, review a plan first in plan mode, apply the fix, then rerun the same command to verify.
- Write project-level working rules for Claude CodeWrite a short, specific CLAUDE.md, split path-specific rules into .claude/rules/, and confirm with /context all that the files actually load.
- Isolate two code tasks with Claude Code worktreesUse claude --worktree to start one isolated git worktree session for a feature and another for a bug fix, so two terminals do not overwrite each other's edits.
- Claude Code context: preserve constraints before compactionUse /context, persistent instructions and handoff notes to manage a long task, and distinguish session recovery from file recovery.
- AI coding tools: choose by workflow, sign-in and costsChoose an AI coding tool by IDE or terminal workflow, sign-in method and billing limits. Compare six listed tools using official sources; no performance tests.
- Claude Code Notification: notices and permission boundariesInspect notification types and matchers separately from permission decisions.
- Claude Code permission requests: allow, deny and exit codesDistinguish PermissionRequest decision objects from exit-two behavior.
- Claude Code tool failures: event boundaries and error fieldsInspect PostToolUseFailure triggering and account for pre-execution rejection.
- Claude Code before tools: JSON permission and input rewritesInspect PreToolUse decision fields, full-input rewrites and auto-mode boundaries.
- Claude Code prompt submission: context and blockingInspect UserPromptSubmit input, context and blocking output.
- Claude Code rewind: code, conversation and unrestored filesChoose restoration scope and inspect actual file changes and uncovered edits.
- Claude Code forked skills: context and waiting for resultsEstablish required context for an isolated skill task and when to wait for results.
- Claude Code skill arguments: positions, quoting and missing valuesInspect how multiple arguments enter the body and prevent unresolved placeholders.
- Claude Code subagent hooks: scope and workspace trustInspect when agent-specific hooks load and the project trust requirement.
- Claude Code subagent skills: preloading and accessInspect startup skill content and distinguish preloading from access.
- Claude Code async hooks: results and session teardownUse background hooks for non-blocking work and distinguish process completion from result delivery.
- Claude Code HTTP hooks: headers and failure policyInspect allowedEnvVars and onFailure; a failed request is not automatically a block.
- Claude Code MCP tool hooks: names and output contractUse the configured MCP server name and inspect the tool return contract.
- Claude Code prompt hooks: decisions vary by eventThe effect of ok=false varies by event; inspect the event contract first.
- Claude Code subagent memory: scope and tool accessDistinguish user, project and local memory directories and inspect enabled write tools.
- Claude Code background subagents: waiting, permissions and completionSeparate running state from completion notification, and inspect fork mode, background tools and session-wide grants.
- Claude Code fast mode: per-session opt-in and fallbackInspect fastModePerSessionOptIn, environment requirements and fallback before assuming continuous fast execution.
- Claude Code Remote Control: execution location and prerequisitesUnderstand the remote connection to a local session, then inspect login, workspace trust and process availability.
- Claude Code model selection: session choice and defaultsSeparate /model, --model and defaults; inspect resumed sessions and model restrictions before assuming the active model.
- Claude Code Stop hooks: continuation decisions and loop guardsInspect stop_hook_active, block and reason, then check continuation guards with local inputs.
- Claude Code auto memory: shared directories and loading limitsInspect auto-memory storage, MEMORY.md load limits and toggles; separate instructions, topic files and worktree sharing.
- Claude Code script output: result versus structured_outputSeparate the JSON response envelope from schema output; check field presence before business validation and error handling.
- Claude Code MCP tool search: deferred loading and thresholdsSeparate connection from definition loading; inspect ENABLE_TOOL_SEARCH, thresholds and gateway compatibility before diagnosing disconnection.
- Claude Code skills: controlling who can invoke themSeparate disable-model-invocation from user-invocable, then inspect discovery, manual invocation and tool permissions.
- Claude Code worktrees: isolated files and shared contentInspect --worktree directories, branches and dependencies, and separate file copies, shared Git history and exit cleanup.
- Claude Code permission modes: which mode a session starts in, and what to write for CIWork out the starting mode from the documented order, separate terminal, -p and CI defaults, and model a few common settings.
- Claude Code output styles: preserve coding instructionsSet keep-coding-instructions for a project output style, then check file placement and when changes take effect.
- Claude Code plugins: inspect settings, disk and session loadingDistinguish plugins, standalone skills and marketplaces, then check whether the plugin reached the current session.
- Claude Code sandbox: inspect file, network and fallback boundariesUse /sandbox to inspect mode and resolved settings; check file writes, network domains and unsandboxed fallback separately.
- Claude Code settings: inspect user, project and session overridesLocate resolved values by source, distinguishing local overrides, shared project settings and managed policy before editing.
- Claude Code status line: display context percentage from stdin JSONTreat the status-line script as a data interface and handle missing values before configuration; offline checks are not a product run.
- Claude Code GitHub Actions: triggers and authenticationCheck triggers, checkout, authentication and result location when integrating CI. An action reference is not an executed workflow; not tested.
- Claude Code hooks: checks before a tool callUse PreToolUse, matchers and exit codes to build an explainable command check. Source-based; not tested.
- Claude Code permissions: combining allow, ask and denyScope commands and file access with allow, ask and deny, then check precedence. Source-based; not tested.
- Claude Code MCP: project config and connection checksReview .mcp.json, HTTP transport and actual connection status separately. Configuration alone is not a working connection; not tested.
- Claude Code subagents for read-only code inspectionDefine an inspection task with separate context, an explicit tool list and an output contract. Source-based; not tested.
- AGENTS.md vs CLAUDE.md: which one Claude Code reads and how to share one fileBy default Claude Code reads AGENTS.md only when no CLAUDE.md exists; an @AGENTS.md import in CLAUDE.md shares one file. Not tested; check the official docs.
- Claude Code code-review plugin (a plugin command, not a Skill)Official Anthropic code-review plugin: /code-review runs multi-agent PR review, needs the gh CLI, not tested
- frontend-design: avoiding templated defaults in UI designAnthropic's frontend-design skill: plan the visual direction, check it against the brief, avoid templated defaults. Not tested; follow the official text.
- Splitting agent instructions by directory in a monorepoPer-directory AGENTS.md and CLAUDE.md in a monorepo: an example tree, then load scope, nesting and conflict rules per tool. Per official docs, not tested.
- skill-creator: Anthropic's skill for writing, editing and evaluating skillsAnthropic's skill-creator skill: draft a skill, run evals, revise it and tune its trigger description. Not tested here; follow the official text and docs.
- webapp-testing Skill: drive local web apps with PlaywrightOfficial Anthropic webapp-testing Skill: Python Playwright scripts for local web apps, not tested
Source and notes
Official source · github.com/anthropics/claude-code/releases/tag/v2.1.325
About this AI summary
This entry was compiled by AI from official sources and automatically checked. Found a mistake? Please send feedback.