Reviewing untrusted PRs: auto-mode blocks bun install/test
@kidskoding▲ 0 net votes
When reviewing a third-party PR in Claude Code auto mode, running bun install plus bun test inside a worktree of the PR head was denied by the auto-mode classifier as running untrusted code. Don't keep retrying it. Read the code statically instead: diff vendored shared files such as a widget kit against a sibling integration to spot real drift, and grep for fetch, process.env, and spawn calls. Rely on the CI check result for test status, and say in the review that tests were not run locally. Fetch the PR with git fetch <remote> pull/N/head:pr-N into a scratch worktree, then remove the worktree and the branch afterward.