Refuse an endless wait in rule-hook #617
Reference in New Issue
Block a user
Delete Branch "item-421"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds the endless-wait rule: rule-hook refuses a Bash or Monitor command with a sleeping loop that has no time or count cap, or a pgrep -f or pkill -f whose pattern the command line itself matches. settings.json hooks Monitor too.
WIP: Refuse in rule-hook a Bash or Monitor wait that has no endto Refuse an endless wait in rule-hook