Skip to content

failClosedVerdict

failClosedVerdict(cause, timeoutMs?, failure?): object

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

The fail-closed verdict for a specific FailClosedCause. Keeps COULD_NOT_ASSESS_PREFIX — the statement “this was not assessed” is still true and is what downstream keys on — and appends what actually went wrong.

The timeout arm names the budget, because “the rater timed out” is not actionable and “the rater did not answer within 30000ms” points straight at approvals.raterTimeoutMs.

[[EXT-82]] — the threw arm takes the provider’s own account when there is one, because a bare “the auto-rater call failed” is the sentence a user reads 27 times without ever learning that their model choice cannot answer the question at all. The clause it gains is the one thing the old text could not support: the model was never asked. With no failure the wording is unchanged, so the preflights and every other producer of this arm read exactly as before.

FailClosedCause

number

RaterCallFailure

object

outcome: "safe" | "destructive" | "catastrophic" | "attack"

reason: string

optional suggestedTool?: string