Skip to content

CRITIC_THINKING_TOKENS

const CRITIC_THINKING_TOKENS: 8000 = 8000

Defined in: src/critic-core.ts:28

Extended thinking budget (MAX_THINKING_TOKENS) handed to BOTH PR critic spawns — the session critic (review.ts) and the standalone PR critic (standalone-critic.ts). They share the #597 VERIFY prompt (grep/resolve every identifier, confirm locale parity, check callers), which needs reasoning headroom to do cross-file checking instead of one-pass pattern-matching. 8000 is the “think harder” tier. The plan reviewer (plan-gate.ts) deliberately stays unbudgeted. A one-line tunable: worst-case ~6 critic spawns/PR (DEFAULT_CAP), so ~8–48k thinking tokens/PR. Only takes effect on a thinking-capable resolved model (no-op otherwise — gate verified before ship: see issue #604).