Skip to content

RaterDecision

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

The verdict mapVerdictToAction acts on, after the gate’s own fail-closed preflight has overridden the rater where it must. Returned alongside the action so the caller surfaces the HONEST reason (a “could not assess” note) rather than whatever the rater claimed about a command the gate could not statically vet. undefined at the unrated rungs, where no rating call was made at all.

action: "escalate" | "approve" | "halt" | "reject"

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


optional verdict?: object

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

The verdict actually used — the rater’s, or the fail-closed destructive override.

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

reason: string

optional suggestedTool?: string