GM-016: Invalid Gemini Default Approval Mode - Gemini CLI
Summary
- Rule ID:
GM-016 - Severity:
MEDIUM - 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
- https://geminicli.com/docs/reference/configuration
- https://raw.githubusercontent.com/google-gemini/gemini-cli/main/packages/cli/src/config/settingsSchema.ts
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
{"general":{"defaultApprovalMode":"yolo"}}
Valid
{"general":{"defaultApprovalMode":"auto_edit"}}