{ "context": { "fileName": "GEMINI.md" }, "skills": { "enabled": true, "disabled": [] }, "hooksConfig": { "enabled": true, "disabled": [], "notifications": true }, "hooks": { "BeforeTool": [ { "matcher": "run_shell_command", "hooks": [ { "name": "pre-tool-guard", "type": "command", "command": "python .gemini/hooks/pre_tool_guard.py", "timeout": 5000, "description": "Block obviously destructive shell commands." } ] } ], "AfterAgent": [ { "matcher": "*", "hooks": [ { "name": "validate-docs-after-agent", "type": "command", "command": "python .gemini/hooks/validate_docs_after_agent.py", "timeout": 60000, "description": "Run document harness validation after each agent response." } ] } ] } }