ANTIGRAVITY LABJP
TAG

Automation

101 articles
Back to all tags
Related:
antigravity40Antigravity31agents23Antigravity CLI14antigravity-cli8ci-cd7migration7workflow6troubleshooting5ios5cli5CI/CD5
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.

Agents/2026-09-09Intermediate

When an Antigravity Scheduled Task Never Runs: Check sidecar.json, Then enabled, Then the Logs

A checking order for Antigravity 2.0 Scheduled Tasks that quietly do nothing: where sidecar.json lives, how the directory name becomes the ID, the enabled flag in config.json, and the logs under sidecar_data.

App Dev/2026-08-24Advanced

The Cleanup Step Removed the Working Directory, Not Its Contents — Making Unattended Destruction Fail Closed

An unattended cleanup step deleted the working directory itself instead of what was inside it. Here is why the mkdir -p that followed was not a safety net, and how a defensive-looking default value ended up selecting the destructive branch, with the actual verification output.

Integrations/2026-08-22Intermediate

Driving Antigravity CLI with stream-json Input: Where to Split the Conversation

The print mode now accepts --input-format stream-json, letting an external driver hold one session open and feed it jobs one at a time. I measured how much a single conversation carries across 24 jobs, found that a byte budget splits work in the wrong place, and worked out how to choose the split boundary instead.

Tips/2026-08-21Beginner

The pipe in my wrapper was swallowing Antigravity CLI's exit code

CLI 1.1.14 surfaces language server failures as a non-zero exit. That improvement never reaches you if your automation wrapper drops the exit code first. I ran sixteen calling patterns on bash 5.1 and recorded which ones make the failure disappear, plus the fixes that bring it back.

Editor/2026-08-13Intermediate

2.6.0 Changed How Hooks Wait. A Triage Order for Turns That Never Finish

When an agent turn never finishes, the cause is often a hook you wrote rather than the model. Here is what changed in IDE 2.6.0, an audit script that finds hooks capable of stalling a turn, and how to give a hook its own cutoff.

Antigravity/2026-08-10Advanced

Guarding the Turn Boundary in Non-Interactive Runs: A Command Table and a Fail-Closed Gate

A scheduled job meant only to record usage was calling the model on every run. Here is how I split commands into ones that start a turn and ones that do not, built a gate that refuses anything unclassified, and measured it against real scripts.

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.

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-19Advanced

The One File That Stops Startup: Guarding config.json Integrity Before Scheduled Runs

Antigravity 2.3.1 fixed a bug where an empty or corrupt config.json blocked startup. The symptom was fixed; the causes of corruption still live in your environment. Here is a three-layer guard — validate, snapshot, restore — that runs before a scheduled job, with working code and notes from running it nightly.

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.

Editor/2026-07-17Advanced

One Space in a Path, and Nine Commands Reported Success While Counting the Wrong Place

A single space in a workspace name sends agent-written commands somewhere else, quietly. Measurements across eleven unquoted-path forms, and the entry-point script that closes the boundary in one cd.