The post has been translated automatically. Original language: Russian
On November 27, Kilo Code 7.8.40 was released, a patch release of an open source AI programming agent that works as an extension of VS Code and as a console utility. There are almost no major new features in it, but a significant part of the fixes concerns what exactly the agent shows the person before confirming the action and what data he gets access to without asking.
What does a person see in a permission request?
The most significant change is in the card where the agent asks for permission to command or edit the file. Now the description, paths, commands, and file names in diff are displayed in escaped form: control characters, bidi characters, invisible characters, as well as emoji selectors and connectors are shown as escape sequences with the character code. The point is that the line that a person sees must match what actually happens: invisible and "flipping" characters allow you to show one thing in the interface and transfer another to the shell.
There are several corrections to the confirmation logic nearby:
- Automatic approval is no longer repeated if auto-approval has already been turned off.;
- disabling the saved "approve" or "prohibit" rule directly in the query window now really removes this rule.;
- The auto-approval setting itself has become user-defined: it is read and written only in user settings, not in the project configuration.
Environment files and secrets
The agent now asks for permission before executing a shell command that outputs the contents of the environment file, including when such a file is submitted to the filter through redirection. The code research subagent should also ask before reading the secret environment files, and the sample files remain available without question.
The transfer of credentials to model providers has also become stricter. The Cloudflare AI Gateway token from environment variables is sent only to the addresses of this gateway, the Google Vertex token is sent only to Vertex API hosts, including mTLS hosts. Empty address values are now considered unset.
File recording and workspace
The recording tool refuses to save the file if the target has changed before checking, and reports the reason. This protects against a situation where the agent overwrites edits made by a person or another process during the time between reading and writing. The files mentioned in the request are attached to the context only if they are located inside the current workspace. For the move operation in the patch, you now need to confirm the destination path.
The console version also fixes everyday problems: the shell call ends when the main command is completed, even if the child processes keep stdout and stderr open; Gemini no longer rejects MCP tool schemes where the array type is combined with anyOf or oneOf; old user modes are transferred to new permission keys, and in controversial cases the agent asks, rather than extending rights.
What does this mean in practice?
For the team that is launching the AI agent in the working repository, this release is a reason to review the settings, not just upgrade.:
- if auto-approval was previously set in the project configuration, after the update it will be taken from the user settings. Check which value is actually valid for each developer.;
- review the saved approval rules: previously, a rule that was disabled in the request window might still be in effect.;
- requesting an environment file before reading it is insurance, not a substitute for order: it is better to keep secrets in a working copy in a separate repository, and give the agent keys with minimal rights.;
- if you access the models via Cloudflare AI Gateway or Vertex, make sure that the addresses are set explicitly: an empty value is now considered unset.;
- The escaped characters in the permission card are a signal to stop and figure out where the invisible characters came from in the command or file name.
The draft text was prepared with the participation of AI, the facts are checked against the original source — official release notes of the Kilo Code project on GitHub
27 ноября вышел Kilo Code 7.8.40 — патч-релиз открытого ИИ-агента для программирования, который работает как расширение VS Code и как консольная утилита. Новых крупных функций в нём почти нет, зато заметная часть исправлений касается того, что именно агент показывает человеку перед подтверждением действия и к каким данным он получает доступ без спроса.
Что видит человек в запросе разрешения
Самое показательное изменение — в карточке, где агент просит разрешение на команду или правку файла. Теперь описание, пути, команды и имена файлов в diff выводятся в экранированном виде: управляющие символы, символы смены направления текста (bidi), невидимые символы, а также селекторы и соединители эмодзи показываются как escape-последовательности с кодом символа. Смысл в том, что строка, которую видит человек, должна совпадать с тем, что реально выполнится: невидимые и «переворачивающие» символы позволяют показать в интерфейсе одно, а передать в оболочку другое.
Рядом несколько исправлений логики подтверждений:
- автоматическое одобрение больше не повторяется, если автоодобрение уже выключили;
- отключение сохранённого правила «одобрять» или «запрещать» прямо в окне запроса теперь действительно удаляет это правило;
- сама настройка автоодобрения стала пользовательской: она читается и пишется только в пользовательских настройках, а не в конфигурации проекта.
Файлы окружения и секреты
Агент теперь спрашивает разрешение, прежде чем выполнить команду оболочки, которая выводит содержимое файла окружения, — в том числе когда такой файл подаётся на вход фильтру через перенаправление. Субагент для исследования кода тоже должен спрашивать перед чтением секретных файлов окружения, а файлы-примеры остаются доступными без вопросов.
Строже стала и передача учётных данных провайдерам моделей. Токен Cloudflare AI Gateway из переменных окружения отправляется только на адреса этого шлюза, токен Google Vertex — только на хосты Vertex API, включая mTLS-хосты. Пустые значения адреса теперь считаются незаданными.
Запись файлов и рабочая область
Инструмент записи отказывается сохранять файл, если цель изменилась до проверки, и сообщает причину. Это защищает от ситуации, когда агент перезаписывает правки, сделанные человеком или другим процессом за время между чтением и записью. Упомянутые в запросе файлы прикрепляются к контексту, только если лежат внутри текущей рабочей области. Для операции перемещения в патче теперь нужно подтверждать и путь назначения.
В консольной версии исправлены и бытовые проблемы: вызов оболочки завершается, когда завершилась основная команда, даже если дочерние процессы держат открытыми stdout и stderr; Gemini больше не отклоняет схемы MCP-инструментов, где тип массива сочетается с anyOf или oneOf; старые пользовательские режимы переносятся в новые ключи разрешений, а в спорных случаях агент спрашивает, а не расширяет права.
Что это значит на практике
Для команды, которая пускает ИИ-агента в рабочий репозиторий, этот релиз — повод пересмотреть настройки, а не просто обновиться:
- если автоодобрение раньше задавалось в конфигурации проекта, после обновления оно будет браться из пользовательских настроек — проверьте, какое значение реально действует у каждого разработчика;
- просмотрите сохранённые правила одобрения: раньше выключенное в окне запроса правило могло остаться в силе;
- запрос перед чтением файлов окружения — страховка, а не замена порядку: секреты в рабочей копии лучше держать в отдельном хранилище, а агенту давать ключи с минимальными правами;
- если вы ходите к моделям через Cloudflare AI Gateway или Vertex, проверьте, что адреса заданы явно: пустое значение теперь считается незаданным;
- экранированные символы в карточке разрешения — сигнал остановиться и разобраться, откуда в команде или имени файла взялись невидимые символы.
Черновик текста подготовлен с участием ИИ, факты сверены с первоисточником — официальные release notes проекта Kilo Code на GitHub
Comments 1
Newest Popular