Skip to content

fix: include exec_command in PreToolUse block-monk matcher - #479

Open
XueyuanPang-Google wants to merge 1 commit into
monk-io:mainfrom
XueyuanPang-Google:fix/extend-block-monk-matcher-466
Open

XueyuanPang-Google wants to merge 1 commit into
monk-io:mainfrom
XueyuanPang-Google:fix/extend-block-monk-matcher-466

Conversation

@XueyuanPang-Google

@XueyuanPang-Google XueyuanPang-Google commented Aug 31, 2026

Copy link
Copy Markdown

Summary

Extends the PreToolUse matcher in hooks.json and plugins/monk/hooks.json from "Bash" to "Bash|exec_command".

This ensures that Codex / Antigravity / Cursor execution tool invocations (exec_command) are properly intercepted by the block-monk guard hooks.

Closes #466


Bounty Payout / Contributor Details:

  • Recipient Wallet Address (BSC / EVM / Polygon): 0x0e88A5bd43a1BF2e0C2B954E5b51F257b9322B66
  • Ready for maintainer review and merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug bounty] Cross-platform hook execution fails on Linux/POSIX due to unescaped Windows backslashes in hooks. json

1 participant