File size: 517 Bytes
e3e619b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Custom CI Policy for Gemini CLI Bot
# This policy guarantees permission for shell commands and file writing in the bot's CI environment.

[[rule]]
toolName = ["run_shell_command", "write_file", "replace"]
decision = "allow"
# Max priority to ensure it overrides all default and workspace rules.
priority = 999
# Explicitly target the headless environment to match the specificity of default denial rules.
interactive = false

[[rule]]
toolName = "invoke_agent"
decision = "allow"
priority = 999
interactive = false