Skip to content

RATER_DEFAULT_TIMEOUT_MS

const RATER_DEFAULT_TIMEOUT_MS: 30000 = 30_000

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/shell/rater.ts:438

Default wall-clock budget (ms) for the rater LLM call. Kept low so a slow/hung rater can’t wedge the approval flow — on timeout we fail closed. Mirrors openclaw’s low exec-reviewer timeout minimum.

EXT-66 — this is a HOSTED-model number, and it is now a default rather than the only value. claude-haiku-4-5 and gemini-3.6-flash answered a 23-case corpus well inside it, 0 fail-closed. gemma4:12b over a local GPU took 6.0s–114.7s on the same corpus, and the harder the command the longer it thought — so the fixed limit preferentially clipped exactly the commands that most needed rating (3 of 18 calls in one run, 9 of 17 in the next; all of them returned real verdicts at 120s, including a correct catastrophic returned 85 seconds after the gate had given up). Override with approvals.raterTimeoutMs.