feat(plan): use custom deny messages in plan mode policies (#18195)

This commit is contained in:
Adib234
2026-02-03 14:23:22 -05:00
committed by GitHub
parent 3183e4137a
commit 0365f13caa
5 changed files with 152 additions and 22 deletions
@@ -31,6 +31,7 @@
decision = "deny"
priority = 20
modes = ["plan"]
deny_message = "You are in Plan Mode - adjust your prompt to only use read and search tools."
# Explicitly Allow Read-Only Tools in Plan mode.