Create custom subagents changedsub-agents
Nearest release: v2.1.335, published 8 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 3 Dec 2026 06:14 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 3 Dec 2026 06:37 UTC.
Upstream edited
Recorded here
Lines+1added
Lines−1removed
From line
269
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits128to this page, all time
The whole hunk
from line 269, old and new numbered
/
from line 269
269269
270270This working-directory check covers the whole repository containing the directory you launched Claude Code from. When your session runs in a linked [worktree](https://code.claude.com/docs/en/worktrees.md) of its own, the check also covers the main checkout that worktree is linked from.
271271
272For Bash commands, Claude Code also checks the command itself in two ways:
272For Bash commands, Claude Code also checks the command itself:
273273
274274* It blocks a command that redirects git into the main checkout.
275275* It refuses a command when it can't verify from the command text that any git the command runs stays inside the worktree, for example when the command name is computed at runtime.
No line in this hunk matches that.