Skip to content

checkHardline

checkHardline(command): HardlineMatch | null

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/tools/shell/hardline.ts:601

Check a raw command against the hardline blocklist. Normalizes first so obfuscated variants are caught. Returns the match (with a description) when the command is catastrophic, or null when it is allowed to proceed.

string

HardlineMatch | null