mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 12:54:07 -07:00
feat(policy): centralize plan mode tool visibility in policy engine (#20178)
Co-authored-by: Mahima Shanware <mshanware@google.com>
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user