Unclear It is not clear what turns this on, so it may not be in use for every user.
What
Before running a PowerShell command, Claude Code reads it to work out what it does. It can now keep a single PowerShell process running in the background to do this reading over and over. That process is thrown away and replaced:
- after a set number of commands
- once it reaches an age limit
- if it takes too long to answer
- once extra code libraries have been loaded into it
Why
Reusing one process should make permission checks on PowerShell commands faster, since PowerShell does not have to start fresh each time.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not clear what turns this on, so it may not be in use for every user.