Skip to main content
Version: 0.60.3

GM-027: Invalid Gemini Policy Rule - Gemini CLI

Summary​

  • Rule ID: GM-027
  • Severity: HIGH
  • Category: Gemini CLI
  • Normative Level: MUST
  • Auto-Fix: No
  • Verified On: 2026-10-17

Applicability​

  • Tool: gemini-cli
  • Version Range: unspecified
  • Spec Revision: unspecified

Evidence Sources​

Test Coverage Metadata​

  • Unit tests: true
  • Fixture tests: true
  • E2E tests: false

Examples​

The following examples demonstrate what triggers this rule and how to fix it.

Invalid​

[[rule]]
toolName = "run_shell_command"
commandPrefix = "git"
commandRegex = "git (commit|push)"
decision = "ask"
priority = 1000

Valid​

[[rule]]
toolName = "run_shell_command"
commandPrefix = "git"
decision = "ask_user"
priority = 100