ANTIGRAVITY LABJP
Articles/Agents & Manager
Agents & Manager/2026-06-13Advanced

Designing Parallel Agent Changes So You Can Trace Them Later

Antigravity 2.0 became a control tower for many agents. Here is how to build an audit trail that lets you trace who changed what and why, designed from real operational failures.

AI agents24auditreview5operations26Antigravity 2.014

Premium Article

Antigravity 2.0 shifted from a code editor to a "control tower that supervises many agents at once." Subagents running in parallel, scheduled runs in the background. The throughput genuinely goes up.

For me, the price of that throughput arrived as "I have no idea who did what." As an indie developer running four sites in parallel, some mornings a change I do not recognize is sitting in the repo. An agent did it, no doubt, but which task, on what judgment, I cannot trace. That is the scariest state to be in. I fell into exactly this on a Dolice media property and burned half a day finding the cause.

I should have put a trace-it-later design in place before adding agents. This article works backward from that operational failure to show how to build the audit trail.

You lose the thread because intent is never recorded

What makes agent changes untraceable is not the diff itself. The diff stays in git. What is lost is the intent: why the change was made.

A human developer writes intent into the commit message or the PR description. An agent, left alone, tends to leave hollow messages like "Update files." Look at that commit six months later and you cannot tell what it was for.

So the first step of an audit trail is to force intent to be recorded mechanically. Record intent, not just the diff. That is the starting point.

Stamp tracking metadata into the commit trailer

What I use is a convention that always appends structured metadata to the end of the commit message. The body is the human-facing explanation; the trailer is tags for machines to grep.

Add: publish 3 premium articles (claudelab)

Three themes: CLI migration, OS delegation, audit design. JA+EN.

Agent-Task: claudelab-premium-thu
Agent-Run: 2026-06-13T20:14+09:00
Agent-Intent: premium-content-publish
Agent-Gates: article,templating,frontmatter,redirect=pass

Agent-Task tells you which scheduled task it came from, Agent-Run the run time, Agent-Intent the intent, and Agent-Gates which quality gates it passed. When you later wonder "which task was that change," this alone makes tracing instant.

The extraction looks like this.

# List only commits from a specific task, in time order
git log --all --grep="Agent-Task: claudelab-premium-thu" \
  --pretty=format:"%h %ci %s"
 
# Audit for any commit that slipped past the quality gates
git log --all --grep="Agent-Gates:" --pretty=%b \
  | grep "Agent-Gates:" | grep -v "=pass" || echo "All commits passed the gates"

These two greps are my every-morning check. The first tells me which task added what last night; the second confirms no change slipped past a gate.

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
Commit-trailer metadata that stops 'which agent made this change?' from ever happening
A 3-tier gate that separates changes needing human review from those safe to auto-approve
A prompt convention that forces a one-line intent, greppable after the fact
Secure payment via Stripe · Cancel anytime

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Antigravity Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • Copy-paste ready implementation code
  • New advanced guides published daily
  • $5/mo or $10 for lifetime access
View Membership →

Related Articles

Agents & Manager2026-07-17
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.
Agents & Manager2026-07-15
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.
Agents & Manager2026-07-12
What to Delegate to an Antigravity Agent and What to Keep by Hand, After Two Weeks
After two weeks of handing my daily solo-dev tasks to Antigravity agents, a clear line emerged between the work I was glad to delegate and the work I had to pull back. A retrospective with the operational log.
📚RECOMMENDED BOOKS
Build a Large Language Model (From Scratch)
Sebastian Raschka
LLM Dev
Prompt Engineering for LLMs
Berryman & Ziegler
Prompting
AI Engineering
Chip Huyen
AI Eng
* Contains affiliate links
See all →