Unclear Which platforms get these wrappers is not stated.
What
When Claude runs commands through its Bash tool, Claude Code first loads a saved shell setup snippet, called the shell snapshot. That snapshot can define small wrapper functions that sit in front of real commands. Before, only pkill (the command that stops processes by name) had such a wrapper, and it had no ancestor check.
pkillnow checks whether it supports--ignore-ancestors. It runscommand pkill --help, and if the output mentions that option, it adds the option to the call.pgrep, which lists processes by name, gets a new wrapper that does the same check.pidwait, which waits for processes by name, gets a new wrapper that does the same check.- The
PATHexport is now added in the same ordered list as these wrappers.
The --ignore-ancestors option leaves a process's ancestors out of the results. Ancestors are the processes that started it, such as the shell running the command. The new wrappers are only added when a platform check passes and a flag named tengu_dreamy_sunbeam allows it. That flag's built-in fallback is true, but no reading of it has been taken.
Why
A command like pgrep -f or pkill -f matches against full command lines, so it can match the shell that is running it. With these wrappers, such a command is less likely to find or stop Claude's own shell and cut off the session. If your system's versions of these tools do not support --ignore-ancestors, they run as before.
tengu_dreamy_sunbeam Not enough to sayNothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.
This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.321: on
These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.
Read once, for one account on one subscription tier, against v2.1.321. It isn't a statement about your account. What a flag value here can and cannot tell you
Which platforms get these wrappers is not stated.
New in this build: tengu_dreamy_sunbeam