Unclear What else setting CLAUDE_CODE_USER_DELEGATED_SESSION_DIRECT_API changes beyond this warning is not known.
A subagent is a helper agent that Claude starts to carry out part of a task. Claude Code now builds a "SECURITY WARNING" saying that a subagent's output is unreviewed. Its wording depends on the environment variable CLAUDE_CODE_USER_DELEGATED_SESSION_DIRECT_API, a setting you can put in your shell before starting Claude Code:
- With the variable set, the warning says the safety check gave no verdict on the output.
- Without it, the warning says Claude Code no longer reviews a subagent's output itself.
The warning marks subagent output that has not been checked, so it can be treated with more care. The variable is referred to in many places in this build, which suggests it switches on a distinct way of running a session.
What else setting CLAUDE_CODE_USER_DELEGATED_SESSION_DIRECT_API changes beyond this warning is not known.
New in this build: CLAUDE_CODE_USER_DELEGATED_SESSION_DIRECT_API