What probably matters to youSection of the release
What
Claude Code reads a new environment variable, CLAUDE_CODE_LAUNCH_FOLDER_PLUGINS_TRUSTED, once at startup and removes it straight away so later processes don't see it. When it is set, Claude Code records trust for plugins in the folder it started in, but only if all of these hold:
it is running as a hosted worker
it is not a child session started by another session
the folder is the top of a git checkout
If a check fails, it logs that it was not a hosted worker or not a checkout root. If they pass, it records the grant along with the git program found on a filtered search path and the branches to use: CLAUDE_CODE_BASE_REF if set, otherwise main or master. When Claude Code launches sessions in a terminal other than iTerm2, it sets the variable to empty for them.
Why
A managed host can have plugins in the launch folder trusted without a trust prompt, while ordinary local sessions are not affected.