feat(policy): centralize plan mode tool visibility in policy engine (#20178)

Co-authored-by: Mahima Shanware <mshanware@google.com>
This commit is contained in:
Jerop Kipruto
2026-02-24 12:17:43 -05:00
committed by GitHub
parent c0b76af442
commit 182c858e67
14 changed files with 857 additions and 361 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ argsPattern = "\"file_path\":\"[^\"]+[\\\\/]+\\.gemini[\\\\/]+tmp[\\\\/]+[\\w-]+
# Explicitly Deny other write operations in Plan mode with a clear message.
[[rule]]
toolName = ["write_file", "edit"]
toolName = ["write_file", "replace"]
decision = "deny"
priority = 65
modes = ["plan"]