Skip to content

failClosedVerdict

failClosedVerdict(cause, timeoutMs?): object

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

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.

FailClosedCause

number

object

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

reason: string

optional suggestedTool?: string