# Gemini CLI Readonly Commands Policy # Это конфигурационный файл для расширения списка разрешенных (readonly) команд. [[rule]] toolName = "run_shell_command" commandPrefix = "getent " decision = "allow" priority = 100 [[rule]] toolName = "run_shell_command" commandPrefix = "ip " decision = "allow" priority = 100 [[rule]] toolName = "run_shell_command" commandPrefix = "which " decision = "allow" priority = 100 [[rule]] toolName = "run_shell_command" commandPrefix = "command -v " decision = "allow" priority = 100 [[rule]] toolName = "run_shell_command" commandPrefix = "stat " decision = "allow" priority = 100 [[rule]] toolName = "run_shell_command" commandPrefix = "realpath " decision = "allow" priority = 100 [[rule]] toolName = "run_shell_command" commandPrefix = "readlink " decision = "allow" priority = 100 [[rule]] toolName = "run_shell_command" commandPrefix = "sort " decision = "allow" priority = 100 [[rule]] toolName = "run_shell_command" commandPrefix = "uniq " decision = "allow" priority = 100 [[rule]] toolName = "run_shell_command" commandPrefix = "wc " decision = "allow" priority = 100 [[rule]] toolName = "run_shell_command" commandPrefix = "git status" decision = "allow" priority = 100 [[rule]] toolName = "run_shell_command" commandPrefix = "git diff" decision = "allow" priority = 100 [[rule]] toolName = "run_shell_command" commandPrefix = "git add " decision = "allow" priority = 100 [[rule]] toolName = "activate_skill" decision = "allow" priority = 100