ANTIGRAVITY LABJP
TAG

headless

4 articles
Back to all tags
Related:
automation4Antigravity CLI3CI1exit codes1least-privilege1permissions1security1Antigravity1OAuth1authentication1keyring1CI/CD1
Integrations/2026-09-12Intermediate

Antigravity CLI 1.1.28 turns a print-timeout overrun into a successful exit — rechecking unattended runs

Since 1.1.28, an expired --print-timeout returns partial output and exits successfully instead of failing. Fetching an external URL now asks for approval first. Here is how I rebuilt an unattended pipeline that judged everything by the exit code.

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.

Integrations/2026-07-08Advanced

Antigravity Now Saves OAuth Tokens to the OS Keyring — Keeping Auth Alive in Headless Runs

In v2.2.1, refreshed OAuth tokens are saved to the OS keyring automatically. Pleasant on the desktop, but on headless scheduled runs the vault itself may not exist and auth quietly breaks. We design explicit backend selection, a safe file fallback, and per-location liveness checks.

Integrations/2026-06-13Advanced

Running Antigravity CLI Headless: Design Before It Hits CI and cron

The Antigravity CLI was rewritten in Go. Here is how to run it unattended in CI and cron, covering exit codes, idempotency, timeouts, and output parsing.