permissions hook helper
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add commit guidance to shell metacharacter deny reason

+1 -1
+1 -1
example.toml
··· 29 29 [[deny]] 30 30 tool = "Bash" 31 31 command_regex = "&|;|\\||`|\\$\\(" 32 - reason = "Chained/piped commands are not auto-approved. Run each command independently as separate Bash calls, or define a script in package.json and run that instead." 32 + reason = "Shell metacharacters (&, ;, |, `, $()) are not auto-approved. Run each command independently as separate Bash calls, use a package.json script, or use single-line commit messages with code comments for detail." 33 33 34 34 # === ALLOW RULES (checked after deny) === 35 35