cccc5ed55f
`exec_shell` runs with `env_clear()` plus a strict allowlist. On Windows there is no sandbox, so commands run directly — but the allowlist dropped `APPDATA`, `LOCALAPPDATA`, `ProgramData`, `ProgramFiles*`, and the `DOTNET_*` / `NUGET_*` variables that `dotnet restore` and NuGet rely on to locate their package cache, HTTP cache, and config. Restore therefore failed through the tool while working in the user's own shell, where the full environment is present. Add the .NET/NuGet and Windows app-data path variables to the shell allowlist (`DOTNET_*` via prefix, like `LC_*`). NuGet credential vars (`NuGetPackageSourceCredentials_*`) still fall outside the allowlist and are not exported. Also benefits npm/pip on Windows, which use the same paths. https://claude.ai/code/session_01MQrnh6wHfrEYN5BBdMarC1