Repository navigation
docs: auto-update documentation (2026-11-16) #495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -204,7 +204,7 @@ denied_tools: | |||||
| | `Glob` | Find files by pattern | Low | | ||||||
| | `Grep` | Search file contents | Low | | ||||||
| | `Bash` | Execute shell commands (use patterns) | High | | ||||||
| | `Task` | Launch subagents | Medium | | ||||||
| | `Task` | Launch subagents (see [fork subagents](/configuration/environment/#fork-subagents)) | Medium | | ||||||
| | `WebFetch` | Fetch web content | Medium | | ||||||
| | `WebSearch` | Search the web | Medium | | ||||||
| | `TodoWrite` | Manage task lists | Low | | ||||||
|
|
@@ -226,6 +226,10 @@ allowed_tools: | |||||
| - "Bash(make build)" # Specific make target | ||||||
| ``` | ||||||
|
|
||||||
| :::note[Git Commands and Permission Flow] | ||||||
| As of Claude Agent SDK 0.3.325, read-only git commands (like `git status`, `git diff`, `git log`) go through the permission flow instead of being auto-approved. If you want to pre-approve these commands, include `Bash(git *)` in `allowed_tools`. Agents with `Bash` already in `allowed_tools` are unaffected. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Narrow the git pre-approval example to read-only subcommands. The note recommends List the read-only subcommands explicitly, and state that the wildcard grants all git subcommands. Suggested fix
Committable suggestion
|
||||||
| ::: | ||||||
|
|
||||||
| **Deny dangerous patterns:** | ||||||
|
|
||||||
| ```yaml | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Describe the context that a fork subagent inherits.
Line 334 applies process isolation to every Task subagent. The documented fork behavior is different. A fork inherits the parent conversation's system prompt, tools, model, and message history. Other subagents start with a fresh context. Describe that behavior, and remove the process placement claims, which the inspected sources do not establish. Line 348 makes the same unsupported claim for the disabled case.
Suggested fix