Skip to content

RejectionMessageOptions

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

Inputs to buildRejectionMessage.

source: RejectionSource

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

Who refused.


optional toolName?: string

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

The tool that was refused; defaults to a generic phrasing when absent.


optional verdict?: object

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

The rating that accompanied the escalation, when one exists. Carries both the explanation the model is owed and — when the rater named one — the granted alternative (§4.4). Absent at the unrated rungs (manual, write), where there is no rating at all and the descriptions of §4.5 are the only mechanism in play.

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

reason: string

optional suggestedTool?: string