Edition compiled at 07.36 NL EN FR
← Tech · Claude, Codex & Antigravity
Tech · Claude, Codex & AntigravityAntigravity

Antigravity CLI could read and change .env and .git without asking in its looser modes, and Google closes the gap in two new versions

Versions 1.5.23 and 1.5.24 tighten approvals, stop an MCP server allowlist from failing open and let AGENTS.md files carry a short summary for when not all rules fit.

· latest source update do · 4 sources · Google, Radar Ultra, Havoptic · Compiled with AI
Illustration for this article

After last week's four versions, Google has shipped two more updates to the Antigravity CLI. Version 1.5.23 came out on Thursday 3 December according to Radar Ultra's release overview, and the official changelog on GitHub now also lists version 1.5.24, which the tracking site Havoptic describes as well. The most important change is in 1.5.24 and concerns security. In the default, accept-edits and auto modes, the agent could bypass the built-in protection of sensitive paths when reading and writing files, such as .env, .git, .vscode and the ~/.gemini configuration folder. Ask rules that users had set themselves and hooks of the force_ask type were also skipped in those cases. According to the changelog, only the strict mode therefore did what it promised.

Version 1.5.24 also fixes a bug in the list of MCP servers that a company administrator allows (mcp_allowlist). Remote servers configured with serverUrl or server_url were not checked against that list, and a list containing invalid JSON let everything through instead of blocking everything. Version 1.5.23 had already tackled a related weakness: approving a permission prompt triggered by an Ask rule or a force_ask hook sometimes saved a permanent allowance or a broader rule than intended. Such an approval now applies only to that single call, and in compound commands the Ask rule of every protected subcommand counts. Anyone using the CLI in a team or company would do well to update quickly and review their own rules.

There is also a practical tip for people with many instruction files. Standalone AGENTS.md and GEMINI.md files can start with a YAML block containing a description (or summary) field. When all the rules together no longer fit within the budget the CLI sets aside for them, the agent only sees pointers, and according to the changelog it then sees that short summary. When space runs short, version 1.5.24 also drops the global settings from ~/.gemini first and only then those of the project, and keeps rules with the same name at different levels apart. A short, well written summary per file thus helps decide whether the agent still follows a rule.

Smaller additions according to Havoptic and the changelog: a colour scheme that follows a light or dark terminal, the new /theme command, the Agent Client Protocol's session/fork method to continue a conversation in a second session without replaying its history, and bash commands with ! and voice dictation in sessions running on a remote agent. A normal interactive launch of the CLI also no longer resumes interrupted conversations from earlier sessions unasked; that now only happens in the headless server mode.

Spotted a mistake in this article? Let us know.