Claude Code · tool · fg-0550

claude ultrareview refuses to run in scripts or CI after upgrading to 2.1.309

If you see claude ultrareview exits without running when no terminal is attached, the cause and the fix for Claude Code are below, last verified 2026-10-24.

Verified Oct 2026trust 50/100
Symptom
claude ultrareview exits without running when no terminal is attachedworkspace trust prompt appears for ultrareview on a terminalScript that worked on 2.1.308 now refuses to start the review
Cause
From 2.1.309, claude ultrareview requires workspace trust. On a terminal it asks. Without a terminal it refuses. Earlier versions did not check trust.
Fix
Pass --trust-workspace in scripts. The flag takes no value, so put any PR number or base branch before it. Alternatively set CLAUDE_CODE_DISABLE_ULTRAREVIEW_TRUST_CHECK=1 in the environment.
Apply
claude ultrareview 123 --trust-workspace
Affected
Claude Code 2.1.309 and later
Sources

Last verified 2026-10-24 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun