ANTIGRAVITY LABJP
ARTICLES

All Articles

All (954) Antigravity Basics (143) Editor View (63) Agents & Manager (248) Integrations (126) App Development (216) AI Tools (63) Tips & Best Practices (95)
App Development/2026-06-21Advanced

The Back Button Showed an Interstitial Sometimes, Not Others — Rewriting Nested ifs Into a List of Independent Guards

Interstitial display on back press was unstable because nested if statements hid the priority between conditions. Here is how I split it into reason-returning guards and generated tests from a decision table.

Agents & Manager/2026-06-21Advanced

Taking Stock of the Dependencies Your Agent Added — A Design for Keeping License and Provenance Traceable

A few months of letting agents work, and your package.json quietly grows dependencies you don't remember adding. Here is a design for taking stock — recovering what was added, when, and why, in a form you can still trace later.

Tips & Best Practices/2026-06-21Intermediate

Tracing What a Long Agent Run Actually Did: Review That Starts From In-Conversation Search

How to use the in-conversation search added in Antigravity v2.1.4 as the starting point for reviewing long agent runs. Choosing search terms, the decision points to inspect, and reconciling with background-agent logs, with concrete steps.

Agents & Manager/2026-06-21Advanced

Letting a Background Agent Work Overnight Without Regretting It by Morning — Guardrails for Unattended Runs

When you hand overnight refactoring to Antigravity's Background Agent, the morning brings as much anxiety as convenience. From three angles — blast radius, completion criteria, and detecting silent regressions — here are the guardrails that let me run unattended jobs with confidence.

Integrations/2026-06-21Advanced

Piping Antigravity CLI's JSON Lines Output Into My Own Script — Notes on Partial Lines and Exit Codes

Feeding Antigravity CLI's machine-readable JSON Lines output into my own script broke with JSONDecodeError roughly one run in three. Here are the three traps — partial lines, exit codes, and stderr bleed — and the line-buffered consumer that finally made it stable.

Agents & Manager/2026-06-21Advanced

Keeping Unattended Agent Run Logs Long Enough to Debug — Without Filling the Disk

A scheduled agent is only fixable if you can reconstruct why it failed. Here is how to keep run logs around without filling the disk — tiered retention, schema-versioned records, and a compaction job — drawn from running four sites on autopilot as an indie developer.

App Development/2026-06-21Advanced

A Few Low-Density Phones Lost Their Bundled Wallpaper — The drawable vs nodpi Boundary in Play's Density Splits

App Bundle density splits will happily split images that should never be split, dropping a static resource on one density bucket only. Here is how I reproduced it with bundletool and fixed it by moving to drawable-nodpi or disabling density split — with the decision criteria.

App Development/2026-06-21Intermediate

Feeding Store Review Guidelines as a PDF to the Agent to Build a Per-App Pre-Release Checklist

Using Antigravity v2.1.4's PDF attachment, this walks through reading the App Store and Play review guidelines into the agent as context and turning them into a pre-release checklist tied to your app's actual features.

App Development/2026-06-20Advanced

Agent Config Drifts Quietly Across Environments: Detection and Correction

Across two Macs and an automation host, agent settings slowly diverge and only one side fails. Here is how to surface that config drift with normalized hashing and a correction workflow, from an indie developer's setup.

AI Tools/2026-06-20Advanced

A Schedule That Survives 429s: Backoff and Jitter for Agent Automation

Run agents in parallel and rate-limit 429s can cascade until everything dies. Here is how to design exponential backoff and jitter so the retries themselves don't create new congestion, from an indie developer's automation setup.

App Development/2026-06-20Advanced

When Parallel Agents Corrupt Your Lockfile: Serializing Dependency Installs in Antigravity

Antigravity's parallel agents racing on the same pnpm store and lockfile can corrupt both. Here is how I kept code generation parallel while serializing only the installs with a file lock.

Agents & Manager/2026-06-20Advanced

When a Timed-Out Unattended Agent Leaves a Half-Written File Behind

When a scheduled agent gets killed on timeout, it can leave a half-written file that silently poisons the next stage. Here is the atomic write, stale-temp cleanup, and post-write content assertion I use to keep unattended pipelines from breaking.