Windows (WSL2)
Run proctor inside WSL2. The srt sandbox needs bubblewrap, which only exists on Linux: proctor refuses native Windows (srt does not support win32).
Prerequisites
| Need | Why |
|---|---|
| Windows 10 2004 (build 19041) or later, or Windows 11 | wsl --install (Microsoft) |
| WSL 2, not WSL 1 | WSL 1 cannot run bubblewrap |
| Claude Pro, Max, Ultra, Team or Enterprise plan | claude setup-token needs a subscription (Claude Code) |
1. Install WSL2 and Ubuntu
In PowerShell, as administrator, then restart:
wsl --install -d Ubuntu-24.04
wsl -l -v # VERSION must be 2Open the Ubuntu terminal. Run every following command there.
2. Install the tools in WSL
sudo apt-get update
sudo apt-get install -y bubblewrap socat ripgrep git curl gh
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs
curl -fsSL https://claude.ai/install.sh | bash- Node must be >= 22.12, installed in WSL. The Windows Node is not used.
- Install
bwrap,socatandrgwith apt: proctor ignores thePATHentries under your home.
3. Create a token
claude setup-token
echo 'export CLAUDE_CODE_OAUTH_TOKEN=…' >> ~/.bashrc
source ~/.bashrcSet the token in the WSL shell. A variable set in PowerShell is not visible in WSL. See Claude Code: auth.
4. Work in the Linux file system
cd ~
gh auth login
git clone https://github.com/<org>/<repo>.git
cd <repo>
npm i -D @fluce/proctorgh auth login lets git clone private repos: answer yes to "Authenticate Git with your GitHub credentials".
Keep your repos under ~, not under /mnt/c: the Windows drive is slow from WSL (Microsoft). From Windows, open them under \\wsl$\Ubuntu-24.04\home\<you>.
5. Run a first eval
npx proctor run path/to/review.eval.ts --agent claude-codeTo check the sandbox first, run the isolation probe from a clone of proctor.
Security: Windows drives stay readable
srt hides the Linux home and /tmp, not /mnt. A trial can read C:\ through /mnt/c, including C:\Users\<you>\.claude and .ssh.
Do one of these:
- keep no secrets on the Windows drives;
- or disable the automount in the distro that runs proctor, in
/etc/wsl.conf(Microsoft), then runwsl --shutdownfrom PowerShell.
[automount]
enabled=false
[interop]
enabled=false
appendWindowsPath=falseThis removes /mnt/c for every use of the distro. Keep a second distro for daily work if you need it.
Troubleshooting
| Symptom | Fix |
|---|---|
srt does not support win32 | run proctor in the WSL terminal, not in PowerShell or CMD |
srt needs socat on PATH (outside your home directory) | sudo apt-get install -y bubblewrap socat ripgrep |
"claude" not found on PATH | install Claude Code in WSL: which -a claude must show a Linux path, not /mnt/c/… |