feat(gemini): добавлены git-команды в список разрешенных политик

- Зачем:
  - позволить агенту выполнять базовые операции анализа репозитория без лишних подтверждений.
- Что:
  - в `readonly-commands.toml` добавлены правила `allow` для `git status`, `git diff` и `git add`.
- Проверка:
  - запуск `git status` не должен вызывать диалог подтверждения (если политики применены).
This commit is contained in:
ddadmin committed 2026-03-11 15:15:35 +03:00
1 parent 1909d476b9
commit 14b14596ec
1 file changed
+18
@@ -61,6 +61,24 @@ 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"