Skip to content

ShellApprovalEntry

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

§3.1 — a shell entry: a command, compared against the normalized command string.

  • ApprovalEntryCommon

matcher: "exact" | "glob" | "regexp"

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

hint is absent on purpose — a command carries no tool annotations.


pattern: string

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


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: "shell"

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