Unclear Whether this check is switched on for a given account is decided remotely and is not known.
What
Claude Code has a second PowerShell guard. It looks for text that PowerShell might read as a type, for example [#12] or the words class, enum or configuration. When it finds some, Claude Code says it couldn't fully check the command against your permission rules. Permission rules are the settings that decide which commands Claude may run.
- On Windows, whether this guard runs is decided by a setting the server sends.
- Setting
CLAUDE_CODE_DISABLE_POWERSHELL_LIBRARY_LOAD_GUARDskips it, the same variable that already turns off the library-load guard.
Why
If you use PowerShell on Windows, some commands may now be refused with this message. The environment variable is the way to turn the check off.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
Whether this check is switched on for a given account is decided remotely and is not known.