Skip to content

ShellApprovalGateDecision

Defined in: packages/core/src/config/shell-policy.ts:1661

The resolved shell approval-gate policy: whether to gate, and what to tell the user.

gateShell: boolean

Defined in: packages/core/src/config/shell-policy.ts:1666

Whether run_shell_command must be wired behind the per-command approval interrupt (langchain’s humanInTheLoopMiddleware).


optional notice?: ShellApprovalGateNotice

Defined in: packages/core/src/config/shell-policy.ts:1668

The notice to surface, when this configuration warrants one.