◉ANTIGRAVITY LABJP
◈ Agents & Manager Articles

Agents & Manager Articles

Multi-agent development with Antigravity — Manager Surface leadership, orchestration patterns, loop prevention, and monitoring unattended runs.

2026-11-19Intermediate

Before an Agent Reads Your Issues: Splitting GitHub Actions Into a Reader Job and a Writer Job

Anyone can write an issue body. When an agent reads it inside GitHub Actions, split the workflow into a reader job with no write access and a writer job that never runs the agent, keep the body out of the shell, and check the agent's proposal with a small Python script. Working code included.

2026-11-14Intermediate

The Agent PR I Approved Was Rewritten a Week Later: Counting Which Lines Survive 14 Days with git blame

Agent PRs often sail through review, yet the same lines get rewritten soon after merge. Here is a small script that uses git blame to count how many of a commit's added lines are still there 14 days later, the date-ordering trap that skewed my numbers, and how I decide where to look next.

2026-11-09Intermediate

Hunting for a stopped antigravity-preview-05-2026 outside your source code

antigravity-preview-05-2026 stopped on October 5. Replacing it in source is not the whole job: .env files, CI, cron and runbooks can still carry the old name. A one-grep inventory, with an exit code you can wire into CI.

2026-10-30Beginner

I moved the stop conditions for a nightly Antigravity CLI run outside the CLI

A wrapper that gives a nightly agy -p run three outer stop conditions: time, output size and overlap. Seven endings tested with fake agy scripts showed a timeout exiting with 137, and a leftover process holding the lock so every night was skipped. Includes a morning triage table.

2026-10-25Intermediate

An Unattended Job Stopped With 11MB Free. du Counted Only 59MB; the Other 9GB Was Somewhere I Couldn't See

Two bash scripts that measure free space on the filesystem you are about to write to and stop an unattended agent run before it starts. Includes why du and df disagreed and how to spot a shortage you cannot fix.

2026-10-24Advanced

I Added pipefail and a Passing Check Turned Red: The False Failure That Starts Once Output Passes 8 KB

Adding pipefail can turn a passing check red. I reproduced the false failure that appears once output passes 8 KB on 1,122 files, then built a file-based runner and a canary.

2026-10-22Advanced

17 Dead References in My Handover Docs Turned Out to Be 2 Files, and the Real Risk Was a Different Site's Playbook Mixed In

The full Python script I use to check the root .md files an agent reads. My naive version counted 17 dead references; fixed, it was 7 across 2 files. Then it missed the real problem. Here is how I found it.

2026-10-21Intermediate

Hooks Load but Never Run — Isolating the Antigravity CLI 1.2.x Report with a Three-Line Canary

A reported problem in Antigravity CLI 1.2.1 and 1.2.2: hooks load and show up in /hooks, yet no hook process ever starts. Here is a three-line canary setup that tells a config mistake apart from an executor problem.

2026-10-16Advanced

Before Handing an Agent a .zip: Dropping .git Cut 29 MB to 15 MB, and 28 Secret Warnings Turned Out to Be Noise

Antigravity app v2.23.0 lets you attach a .zip. I packed my own repository to count what .git weighs and how many secret-scan warnings are false alarms, and I leave the full Python script that excludes, scans, and writes a manifest.

2026-10-14Advanced

When the App Reads an API Response by Position, I Put a Gate in Front of the Upload So Shipped Versions Don't Crash at Launch

A client that reads a server list by index, as a wallpaper app does, leaves old shipped versions in the wild for a long time. Deleting or reordering a field can crash them at launch. This note shows an append-only check and a hash ledger that freezes shipped version directories, with the output from actually running them.

2026-10-14Intermediate

I Expected Agent PRs to Wait Longer Than Human PRs, but 246 Public Pull Requests Showed the Opposite

A count of 246 July-August 2026 PRs in dotnet/runtime, comparing time to the first human reaction on agent-opened PRs and human-opened PRs. Includes the measurement script and a stale-PR check for solo projects.

2026-10-13Beginner

Turning Gut-Feeling Judgments into Rules an Agent Can Actually Follow

A repeatable way to turn the judgment calls that live only in your head into rules an Antigravity agent can apply: build conditions from past cases, choose where in .agents/rules they live and which trigger to use, catch rules that are silently ignored, and replay old cases before trusting them.

2026-09-29Intermediate

Stopping One Sub-Agent Without Taking the Other Seven Down With It

One of eight parallel sub-agents went wrong and I wanted to stop only that one. Here is how Antigravity, Claude Code, and Gemini CLI differ in what a stop actually stops, and the per-child output layout plus merge script that keeps a halted child's partial files out of the rest.

2026-09-24Intermediate

A Small Guard Script That Catches an Unattended Agent Rewriting Its Own Settings

After reading a report of an agent widening its own read-only limits by editing settings.json, I wrapped my overnight headless runs in an outside guard. Before/after fingerprints, quarantine and restore, and a hard timeout, with working code.

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.

2026-09-08Intermediate

Before I accept what /boost says it verified, I count what its throwaway worktree never saw

Antigravity's /boost runs its tests inside an ephemeral isolated worktree. If your build reaches for files git never tracked, that verification passed on a different tree than yours. Here is how I measure the gap first.

2026-09-07Intermediate

I count the posts three times before flipping a WordPress host migration

The copy-complete notice from a shared host is a snapshot taken when the copy started, not when it finished. Here is the full enumeration I run before the cutover, and where I stop delegating.

2026-09-06Advanced

With scheduled agents, I now look for runs that never happened before I look for failures

My run ledger showed a 100% success rate while the evening slot had not fired for two weeks. Here is the reconciliation I now run against an expected-fire table, with measured notes on cron expansion, exit codes, and how the ledger itself gets written.

2026-09-05Intermediate

A Custom Tool That Says any_of Loses Its Constraint Without Ever Erroring

I tested ten spelling variants in custom tool parameter definitions to see which ones fail loudly and which slip through unnoticed, then measured how argument validation shifts once normalization lands.

2026-09-04Intermediate

Snapshot Your Agents' Effective Scope So You Notice the Day a Default Changes

Antigravity 1.1.25 made Markdown-defined custom agents inherit the surrounding skills, rules, and subagents by default. Here is the snapshot-and-diff routine I now use to check whether an agent I meant to keep narrow quietly got wider after an update.

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.

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.

2026-08-28Intermediate

Git Tracks the File, but Your Agent Can't See It. Here's Where It Drops Out

An agent's code search returned two files. git grep returned six. I traced the three paths that quietly drop tracked files out of search, measured them on a synthetic repo and a production one, and worked out how to spot the gap in a single line.

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.

2026-08-17Intermediate

When a Subagent Never Finishes, Look at the Parent's Unapproved Artifacts First

A subagent that runs all night and never returns is usually not the one that is stuck. Here is how I separate a blocked parent from a blocked child using a short log-scanning script, what the official docs say about approvals, and where I stop letting approvals happen automatically.

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.

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.

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.

2026-07-29Advanced

A Typo in agent.md Quietly Widened My Permissions — Writing a Strict Frontmatter Lint

Misspelled keys in agent.md frontmatter do not raise errors. They fall back to defaults, and for permission fields that fallback points the wrong way. Here is the failure I hit, the lint I wrote to catch it, and what the measurements showed.

2026-07-25Advanced

The night my agent shipped nothing: giving generation agents an abstain outcome

When you score a background generation agent by how much it produces, the quality gate quietly loosens over time. Here is a three-valued ACCEPT / ABSTAIN / REJECT design that counts a zero-artifact run as a success, with the code and the measurements from running it.

2026-07-24Advanced

Leasing Runtime Environments to Parallel Agents: Port Ranges, DB Schemas, and Dev Servers, One Per Agent

When Antigravity 2.0 runs agents truly in parallel, they collide on the same port, database, and dev server. Here is a lease-based design that hands each agent its own isolated environment, with implementation and measured numbers.

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.

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.

2026-07-17Advanced

Three Quarters of My Reference Notes Never Reached the Agent: Measuring What head Cuts Away

I fed reference notes to a scheduled agent with cat and head, and the lines that mattered were quietly cut. Here is the measurement, and how I replaced a line count with a section-level contract.

2026-07-16Advanced

The More I Wrote in AGENTS.md, the Less Got Followed — Measuring Adherence and Cutting Rules

The rules in my AGENTS.md were being ignored — not from precedence conflicts or load failures, just plain ignored. Here is how I turned rules into checkable predicates, measured adherence over three weeks, and cut the file in half.

2026-07-16Advanced

When to Hand Your Agent the Next Instruction: Waiting, Interrupting, and Queuing, Measured

Antigravity v2.3.0 added message queuing and Send Now. I measured waiting, interrupting, and queuing against the same yardstick, found that 41% of queued instructions arrive stale, and cut rework from 22% to 9% with a twenty-line stamp.

2026-07-15Intermediate

When Your Agent Commits a .bak File: Why Fix-Tool Artifacts End Up in Git

Backup files like .bak and .orig slip into commits after an agent runs a --fix tool. Here are the reproduction conditions, the real root cause, and three fixes: narrowing the staged scope, wrapping the fixer, and adding a pre-commit extension gate.

2026-07-15Advanced

The File Is Right There in ls, and Your Agent Still Can't Open It

The agent says the file does not exist. Your terminal says it does. After three days of blaming cloud sync, the answer turned out to be that one voiced consonant mark was never a single character. Detection script and a three-layer gate included.

2026-07-14Advanced

I Changed One Line in AGENTS.md and Broke the Agent — Regression-Testing the Instructions Themselves

Every time you edit the instructions you hand an agent — AGENTS.md, skill text — some other task quietly breaks. Here is a regression harness whose subject is the instructions, not the code: fixed tasks, deterministic assertions, and a way to wire it into unattended runs.

2026-07-13Intermediate

Passing API Keys to Agents Safely: Runtime Env Injection and Log Redaction

How to hand secrets to an Antigravity agent without leaving them in your repo or your logs, using runtime environment injection and output masking.

← All Articles