◉ANTIGRAVITY LABJP
MEMBERSHIP

Membership

Exclusive premium guides and tutorials

Antigravity Lab Membership gives you access to premium articles added every week. Dive into AI agent development, editor extensions, and hands-on app development guides.

  • ✦Unlimited access to all premium articles
  • ✦New exclusive content added every week
  • ✦Advanced techniques & hands-on guides
PREMIUM ARTICLES

Premium Articles

484 exclusive articles
PREMIUM⟐ Editor/2026-09-03Intermediate

How much of Antigravity's generated commit message I actually keep

Where the Review pane's generated commit message stops being enough, and where I start writing. A prepare-commit-msg and commit-msg pair that adds and enforces a Why trailer, plus measured behaviour during rebase, cherry-pick, amend and revert.

PREMIUM✦ Tips/2026-09-02Intermediate

The work-root guard I run before letting an agent near several repositories

When several repositories share one machine, an agent's working root is remarkably easy to mix up. Here is a small guard that compares resolved paths, tested against seven inputs.

PREMIUM◈ Agents/2026-09-01Intermediate

Write Hundreds of Files in One Burst, or Space Them Out?

When an agent generates hundreds of files, the slowness usually is not the writing. It is the rescans on the watcher side. I measured four write patterns so you can decide where to batch.

PREMIUM▣ App Dev/2026-08-31Advanced

Why I took the show-or-not decision away from every dialog

A paywall prompt, a review request and a rewarded-ad confirmation landed on the same frame. Here is how I moved the show-or-not decision out of each dialog into a single gate, how I rewrote the agent instructions as invariants, and how a CI check keeps it that way.

PREMIUM◈ Agents/2026-08-30Advanced

What @ Includes Actually Shrink When You Split Agent Rule Files

I split my rule files using Antigravity 2.11.0's @path/to/file includes and measured the before and after across four real repositories. Maintenance surface dropped 62 percent. What a session actually reads dropped 1.7 percent. Here is why, plus the code that catches the silent failure mode.

PREMIUM▣ App Dev/2026-08-29Advanced

A Green Build Is Not Proof That Your pbxproj Edit Was Correct

When an agent edits project.pbxproj, the build stays green while resources and script phases quietly fall out. Four structural checks and an audit script that finishes in 0.1 seconds on a 1,200-file project, drawn from running iOS apps in production.

PREMIUM⚙ AI Tools/2026-08-28Intermediate

Three things I had to fix before my status line could tell me what a session cost

Getting real session cost into a custom Antigravity CLI status line took three fixes: how the script reads stdin, how to tell whether your build sends a cost field, and how to keep a usage ledger that does not double-count.

PREMIUM⟐ Editor/2026-08-27Intermediate

Three Byte-Level Checks I Run Before an Agent Edits Files That Contain Japanese

When an agent edit swaps a single multi-byte character, git shows it as an ordinary one-line change. Here is how I fold invalid UTF-8, replacement characters, and normalization drift into one pass.

PREMIUM◉ Antigravity/2026-08-26Intermediate

Redrawing Your Workspace Boundary Now That Review Mode Auto-Approves Reads

Antigravity CLI 1.1.20 made in-workspace reads auto-approved in review mode. Here is what I found when I actually counted what became readable across two real working trees.

PREMIUM▣ App Dev/2026-08-25Advanced

How Silently Ignored Config Keys Slip Through CI, and Where to Block Them

A key you added to a config file can be discarded without a single warning. Measured behavior across tsc, ESLint, wrangler, npm and vitest, plus a probe that verifies a setting is actually in effect and a wrapper that turns warnings into build failures.

PREMIUM▣ 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.

PREMIUM◉ Antigravity/2026-08-23Advanced

Choosing a Remote Control Host Machine Comes Down to Daemon Lifetime and Revocation Paths

What to settle before you flip on Remote Control in Antigravity 2.0: how the headless daemon behaves per OS, why there are two separate sign-out paths, and how to inventory the read surface on a candidate host machine.

PREMIUM⬡ 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.

PREMIUM◈ Agents/2026-08-21Intermediate

Why I Check Description Overlap Before Turning On inheritCustomizations

CLI 1.1.14 collapsed markdown agent inheritance into a single inheritCustomizations switch. Here is what happened when I actually inventoried the 47 skills in my workspace and decided the switch on description overlap rather than on context size.

PREMIUM◉ Antigravity/2026-08-20Intermediate

Count What Writes Outside Your Workspace Before You Upgrade to CLI 1.1.14

Antigravity CLI 1.1.14 makes paths outside the workspace read-only by default. If your source assets and delivery targets live outside the repository, it is worth knowing what breaks before you upgrade. Here is a script that inventories your write targets, and the two ways it quietly undercounts them.

PREMIUM⚙ AI Tools/2026-08-19Advanced

When Antigravity Swaps Its Default Model, Only the Jobs You Narrowed First Survive

Gemini 3.7 Flash is now the default model for Antigravity agents. The places you never configured are exactly the places that shift silently. Here is how to inventory your default-model exposure, then split your jobs into move-now and hold, scored by how much output freedom you left open.

PREMIUM▣ App Dev/2026-08-18Advanced

Ordering Six App Updates for the API Level 36 Deadline, and Sizing Each Staged Rollout

Google Play's API level 36 requirement lands on every app you own with the same date. When the deadline is fixed, the only thing left to decide is the order. Here is how I ranked six apps by fragility and worked each rollout step backwards from the observations I actually needed.

PREMIUM◉ Antigravity/2026-08-17Advanced

Deleting Duplicate Rows Will Not Shrink Your Antigravity CLI Conversation Database

A schema-agnostic way to audit conversation database growth, plus measurements showing why deletion reclaims nothing and why freelist_count is the wrong number to trust when you estimate how much you can get back.

PREMIUM◈ Agents/2026-08-16Intermediate

Android 17 Went Canary-Only, So I Gave My Agent the Silence Rules First

Android 17 dropped Developer Previews in favour of rolling Canary builds, which moved the verification deadline onto my side of the table. Here is how I handed the tracking job to an Antigravity agent by designing when it stays quiet, not when it reports.

PREMIUM▣ App Dev/2026-08-15Intermediate

How Far to Narrow an Agent's Choices in a 30-Category Wallpaper Classification Pipeline

Asking an agent to pick one of 30 categories per image means re-running every image the moment a definition changes. Here is the reasoning and the implementation behind switching to closed-vocabulary tags plus a deterministic rule mapping.

PREMIUM⟐ Editor/2026-08-14Intermediate

I Stopped Eyeballing Agent Diffs, and the 2.8.0 View Limits Are Why

Version 2.8.0 caps how much of a file and how much of a large history diff you can view. Losing the ability to scroll to the end forced a better split: let a script decide what machines can catch, and spend human attention only on what they cannot. Includes a working script and the defects it found in a real repository.

PREMIUM◉ 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.

PREMIUM◉ Antigravity/2026-08-10Advanced

The Line I Thought Matched Nothing Was Approving Everything: Auditing Empty Allowlist Entries

Allowlist entries that decompose to zero command words matched every command and silently auto-approved it. Here is how I scanned my own config, separated the hole the fix closed from the one it did not, and rewrote matching to a prefix-token comparison.

PREMIUM◉ Antigravity/2026-08-09Advanced

The Hooks That Get Rejected Are the Cheap Ones: Measuring Matcher Reachability

Hook configurations that can never execute are now rejected at load time. But when I checked my own config against all 21 tool names, the real problems were on the side that passed. A static reachability checker, plus measured numbers on what over-matching actually costs.

PREMIUM⬡ Integrations/2026-08-08Advanced

The MCP Server I Thought I Killed Was Still Holding the Port: 84 Teardown Trials

Closing a session should stop the MCP servers it started. Across 84 trials of four teardown strategies, a process-group SIGTERM left zero orphans — until the child called setsid, at which point it left 100%. Includes a full descendant-sweep implementation.

PREMIUM◈ Agents/2026-08-07Advanced

I Asked the Agent to Pick Tests From My Diff and It Said "None" Nine Times Out of Ten

Change-based test selection returned zero tests for most edits. Measuring how far an import graph actually reaches across three repositories, and rebuilding the selection contract around it.

PREMIUM✦ Tips/2026-08-06Advanced

Seven Characters Don't Only Point at Commits — Measuring When Your Agent's Recorded Hashes Stop Resolving

Short commit hashes recorded by an agent quietly stop resolving as a repository grows. Measuring where ambiguity begins, fixing the recording side, and building a batch verification gate.

PREMIUM◈ Agents/2026-08-05Advanced

Reading the Same History in 38 Seconds — or 0.4: Handing a Read-Only .git to Your Agent

Antigravity CLI 1.1.10 lets the sandbox read .git without write access. I built a per-session history summary two ways, measured a roughly 100x speed gap, traced it to process spawn cost, and added a guard for shallow clones that silently corrupt the numbers.

PREMIUM⬡ Integrations/2026-08-04Advanced

Startup Dropped to 3ms, and the First Turn Saw Zero Tools

Non-blocking MCP loading cut startup from 2,907ms to 3ms. The wait did not disappear — it moved into the first turn. Here is where it went, measured, plus a readiness gate that waits only for what a turn actually needs.

PREMIUM⬡ Integrations/2026-08-03Advanced

I Measured Before Writing a Number: MCP Connect and Tool Calls Differed by 486x

Antigravity 2.4.3 lets you set a timeout per MCP server. To find a defensible number I built a stdio server, measured each boundary separately, and found why a single value cannot cover both.