ShellApprovalEntry
Defined in: core/dist/config/shell-policy.d.ts:346
§3.1 — a shell entry: a command, compared against the normalized command string.
Extends
Section titled “Extends”ApprovalEntryCommon
Properties
Section titled “Properties”matcher
Section titled “matcher”matcher:
"exact"|"glob"|"regexp"
Defined in: core/dist/config/shell-policy.d.ts:349
hint is absent on purpose — a command carries no tool annotations.
pattern
Section titled “pattern”pattern:
string
Defined in: core/dist/config/shell-policy.d.ts:350
optionalrate?:boolean
Defined in: core/dist/config/shell-policy.d.ts:343
§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.
Inherited from
Section titled “Inherited from”ApprovalEntryCommon.rate
type:
"shell"
Defined in: core/dist/config/shell-policy.d.ts:347