isFailClosed
isFailClosed(
verdict):boolean
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/shell/rater.ts:416
Whether a verdict is one this gate produced because it could not obtain a rating, as opposed to one a rater actually returned. Keys on COULD_NOT_ASSESS_PREFIX — the same reason-prefix-as-identity idiom NAMES_A_HOST_PREFIX already uses — so it covers the legacy FAIL_CLOSED_VERDICT as well as every failClosedVerdict cause.
Exported so a caller can tell “the gate defaulted” from “the model judged” without string matching at the call site, which is the distinction an eval column and a session summary both need and neither could previously make.
Parameters
Section titled “Parameters”verdict
Section titled “verdict”{ outcome: "safe" | "destructive" | "catastrophic" | "attack"; reason: string; suggestedTool?: string; } | undefined
Returns
Section titled “Returns”boolean