ANTIGRAVITY LABJP
TAG

Antigravity CLI

30 articles
Back to all tags
Related:
automation12Gemini CLI6MCP5permissions4operations4security4Antigravity4CI3Migration3Setup2Node.js2troubleshooting2
Antigravity/2026-07-27Advanced

Who Approved the Right Side of &&? Splitting Shell Commands Before Matching Allow Rules

The approval dialog showed part of what actually ran. Here is a harness that splits compound shell commands without breaking quotes or command substitution, matches allow rules per segment, and the numbers from running it over 45 real commands.

AI Tools/2026-07-26Advanced

Routing /effort by Task Class in Antigravity CLI: Six Weeks of Measurements

I built a small router that picks an /effort level from the shape of the task, then aggregated six weeks of run logs. Here is where raising effort helped, where it actively hurt, and what mattered more than effort.

Agents/2026-07-19Intermediate

The Morning It Wrote Outside the Working Folder: Vetting Every Write Path in One Function

Antigravity CLI 1.1.3 closed a bug where always-proceed mode silently auto-approved writes outside the workspace. Here is a small guard that vets every write path with nothing but path canonicalization and a containment check, plus an escape-attempt test suite.

Integrations/2026-07-19Advanced

When an Unresponsive MCP Server Freezes Your Agent: Separate Timeouts for Connect, List, and Call

Antigravity CLI 1.1.3 closed the case where an unresponsive MCP server stalls an agent forever, by adding timeouts to connect, list-tools, and call-tool. This walks through why the three boundaries fail differently, and builds a defensive wrapper with a circuit breaker and failure-only notifications, backed by working code and a week of overnight runs.

Integrations/2026-07-18Advanced

Turning Silent Auto-Approvals into Allow Rules, One Soft-Deny at a Time

In Antigravity CLI 1.1.3, headless -p stops silently auto-approving confirmation-required tools and instead soft-denies them, printing the required allow-rule name to stderr. This piece uses that output as a discovery source to build least privilege from an empty allow set upward, with a working harness and real numbers from a personal automation.

Agents/2026-07-18Advanced

Treating Code Search as a Contract: Measuring the /codesearch Regex Default

Antigravity CLI 1.1.3 interprets /codesearch queries as regular expressions by default. I measured the gap between regex and literal matching across a 979-article repository and turned the results into three query rules and a drift harness.

Integrations/2026-07-01Advanced

Distribution-Path-Agnostic Antigravity CLI Automation: Betting on Both the Consumer and Google Cloud Editions

The 7/1 announcement began offering the Antigravity CLI via the Gemini Enterprise Agent Platform too. Here is a design that abstracts your personal automation to run on either the consumer or Cloud edition, laid out with a wrapper and capability-detection scripts.

AI Tools/2026-07-01Advanced

Measure Before You Trim: A Context Ledger for Antigravity CLI Token and Latency Costs

Prompted by the ~70% token reduction reported for the Android CLI agent, I built a thin wrapper and a weekly review to measure my own agent runs. Here is how I replaced whole-file context with line ranges and cut wait times.

Integrations/2026-06-19Intermediate

Running Antigravity CLI Unattended: Notify Only on Real Failures

A small wrapper for scheduled Antigravity CLI runs that stays silent on success and alerts you only on failures a human needs to act on, covering exit codes, transient-error triage, and duplicate suppression.

Integrations/2026-06-17Intermediate

When the Antigravity CLI Stalls on a 401 During Unattended Runs

If your scheduled Antigravity CLI job suddenly stops producing output after a single 401 in the logs, here is how to separate an expired token from a silent re-login prompt and rebuild your unattended setup.

Integrations/2026-06-17Advanced

Ask Antigravity CLI Once Whether It Actually Answers, Right Before a Scheduled Run

When Gemini CLI shuts down on June 18 and you move to Antigravity CLI, an expired token or a bad first day can let an unattended job fail silently. Here is a preflight that probes the CLI once, classifies the failure, and decides whether the real job should start at all.

Antigravity/2026-06-16Advanced

Does the New CLI Do the Same Job? An Output-Parity Gate Before Switching to Antigravity CLI

With Gemini CLI shutting down on June 18, here is how I froze the old CLI's artifacts as a golden baseline and built a parity harness to catch regressions before cutting over to Antigravity CLI — with normalization and a go/no-go gate, in code.