Skip to content

ToolApprovalEntry

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:526

§3.1 — a tool entry: a built-in or custom in-process tool, compared against the tool name.

  • ApprovalEntryCommon

optional host?: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:531

§4.7.4 — optional exact-match bound on the call’s host. Tool subjects only.


matcher: ApprovalMatcher

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:528


pattern: string | ApprovalHintPattern

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:529


optional rate?: boolean

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:514

§3.2 — whether the rater still reviews a call this entry matched, honored at the rater rungs and inert at the deterministic ones. Valid on EVERY type. Absent takes the §3.2 default: an entry skips the rater only to the extent that it recorded what the rater would have seen, so shell + exact defaults to false and everything else to true.

ApprovalEntryCommon.rate


type: "tool"

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:527