Both were red on origin/main 2c644da04 on WSL (wsl-run, nogui).
TestFolderVarsAreListed: kirocrew.go reads BUN_INSTALL for its CLI search
path, but agentenv.Vars didn't list it, so no sandbox cleared it. Added.
TestGrokInstalled (#3548): the fake downloaded grok began with "MZ", which
WSL2's binfmt interop hands to the Windows loader (EINVAL), so the update
path reported "Invalid argument". On the non-Windows branch the fake now has
a body no loader claims, so exec gives ENOEXEC as on real Linux. The Windows
branch keeps MZ.
Run: both tests red before, green after at this change on WSL; gofmt, linux
and windows go vet of internal/agent and agentenv; -run "Grok|Update|Env|Kiro"
on internal/agent green. Not run: full suite, macOS.