◉ANTIGRAVITY LABJP
Articles/Integrations
⬡ Integrations/2026-06-28Advanced

Where to Start Reading an Unattended Agent's Changes — A Digest for Re-Entry

How do you review the pile of changes an unattended agent left overnight? Not the full diff, not the chat log — a re-entry digest built from rule-based risk classification, per-agent review markers, and a 30-second verification pass.

antigravity459unattended-agentscode-review11integrations21

✦ Premium Article

An agent I ran unattended had rewritten nearly 40 files overnight. I opened it first thing in the morning, tried to read every diff top to bottom, and gave up almost immediately. The chat log was long too, and just tracing where each decision was made dissolved the time.

When you run several apps and sites in parallel in indie development, this "next-morning review" of unattended runs becomes a daily task. The problem is not the volume of changes — it is the cost of a human re-entering that context. Here I design a re-entry digest that groups changes by risk class, so you never have to read the full diff top to bottom.

The Enemy Is Re-Entry Cost, Not Volume

Reviewing an unattended run is painful not because the diff is large, but because you cannot tell where it is safe to start. Of 40 files, only a few truly deserve a close look; the rest is often confirmation-free noise like formatting or renames.

But a diff presents the critical line and a whitespace tweak with the same appearance. A human reads them top to bottom and cannot hold focus to the end. What you need is a layer that reorders changes into "the order a human should review them."

There is a second trap I fell into for a long time: scrolling back through the chat log whenever something felt unclear. An agent's reasoning log is useful for finding out why a decision was made, but it is the wrong place to confirm what actually happened. Mixing the record of reasons with the record of results is what makes re-entry expensive. What you should read is the result — the repository state and the side effects that left the machine.

Group by Risk Class

I group changes into four classes. The reading order runs from the hardest to undo.

ClassWhat it includesReading orderDepth of check
Irreversible / externalpush, deploy, billing, data deletion, writes to external APIsFirstThe real thing, line by line
Contractpublic API, schema, config values, dependency versionsNextReason for change and backward compatibility
Internalfunction bodies, tests, refactorsAfter thatConfirm tests pass
Noiseformatting, renames, comments, import reorderingLast (skippable)Count only

This reordering alone changes how the review feels. It lets you spend your first few minutes — when focus is highest — on the changes that are hardest to take back. A single line touching AdMob config or billing belongs at the head of "irreversible / external."

What decides whether this table is actually usable is how you handle the edge cases. A CI workflow definition looks like internal code but is really the entrance to an irreversible deploy. A lockfile carries a huge line count yet belongs to the contract layer, because it decides what your dependencies actually are. A migration changes class entirely depending on whether it has already been applied.

I keep only two tie-breaking rules. When in doubt, promote one class up. And any change that includes a deletion gets promoted one class regardless of type. Erring toward the side that needs restoring keeps the damage small when the classifier is wrong.

✦

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
✦A rule table for classifying changes by risk class, plus a working script that does the sorting for you
✦A per-agent 'last review point' that survives parallel runs, rebases, and rewritten history
✦Machine-generated facts, agent-written reasons, and a one-command verification pass for irreversible operations
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 $15 for lifetime access
View Membership →

Related Articles

⬡ Integrations2026-09-05
Pointing GOOGLE_GEMINI_BASE_URL at Your Own Gateway Does Not Change Who Holds the Key
I pointed the Antigravity CLI at a gateway of my own and recorded exactly which credentials travelled with it. Authorization is dropped across a cross-origin redirect, but the API key header survives every hop. Here is the measurement, and how I moved the key off my laptop.
⬡ Integrations2026-05-24
Catching "Running but Doing Nothing" Antigravity Subagents — A 3-Layer Observability Pattern Across Six Production Apps
Running Antigravity subagents across six production apps surfaced more than ten silent failures every month — exits clean, logs green, but nothing actually happened. Here is the Heartbeat / Output Trace / Decision Log pattern I now use to catch them inside 60 seconds, with code, GCP costs, and four months of running numbers.
⬡ Integrations2026-05-04
Antigravity × Unreal Engine 5: In-Game AI Agents
A deep dive into integrating Antigravity into Unreal Engine 5 — three integration architectures, NPC implementation, procedural generation, performance budgets, and the three pitfalls I hit shipping a real project.
📚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