Unclear It is not clear what exactly makes Claude Code decide that outside text may have reached a session.
A subagent is a helper Claude starts to handle part of a task, and its permission mode decides how much it may do without asking you. Two things are different in how that mode is chosen:
- A mode a person picked is now used as the subagent's mode.
- When a subagent's definition asks for its own
permissionMode, but text from outside the session (such as a comment) may have reached the session, Claude Code ignores that request and keeps the parent's mode. It shows a warning saying that text from outside this session, such as a comment, may have reached it.
Before, the parent's mode was kept only for restricted personal configuration, a session held to auto mode, or a confined evaluation run.
Text from outside, such as a comment in a file or on a pull request, can contain instructions planted to trick Claude. This stops such text from getting a subagent started with more permissions than the session already has.
It is not clear what exactly makes Claude Code decide that outside text may have reached a session.