Osegi
Software·2 min read

Google Antigravity 2.0 cuts chat history, so one dev built a gauge

Google Antigravity 2.0 can silently trim the start of a long session, and it has no built-in context meter. One developer had Gemini build a macOS app to show it.

A developer's desktop with an AI coding chat and a small ring gauge showing how much of the context window is used.
Image: Хабр

Mid-session in Google Antigravity 2.0, a grey system notice appears in the chat: "This conversation grew too large, so the history before this point may be missing or incomplete." For one developer, that line was the start of a side project.

What it means in practice: the server decided the dialogue had grown too big and either cut off the beginning or folded early turns into a compressed checkpoint. In a normal chatbot, losing the opening is no big deal. In an agentic coding environment, the start of the chat holds the original brief, architectural limits, a list of things not to touch and the background processes already running. Users on forums have dubbed the result "Compaction Amnesia": the model keeps working confidently, but may reinvent decisions that were cancelled two hours earlier or break rules it just forgot.

The author says he doesn't run marathon chats. He closes sessions with a strict routine: audit every task from the first message, write a summary into project memory files, and start fresh. A short emergency version exists for when the context is nearly full. But to stop in time, you have to see how much context is used, and the desktop Antigravity 2.0 has no such indicator, he says. The solutions he found online either didn't solve it or required patching the IDE itself.

How to see context size in Antigravity

So he asked Gemini to write one, under his supervision. It began as a small plugin called chat_tokens and grew into a native macOS app, ContextRing, which tracks how much of the window a session has used.

The point is timing. Without a gauge, a closing routine becomes a gamble: you plan to wrap up in a couple of turns, send one more message, and the notice arrives. The beginning is already gone, and an honest audit of the whole session is no longer possible. His own checklist now includes a sad caveat: if part of the conversation is compressed and invisible, say that the audit is incomplete.

The excerpt we have ends before the details of how ContextRing works, so its exact features and availability are not covered here.

Apps worth a look

SUMO: the number puzzle

Tap the right tiles, add them up, hit the target. Easy to learn, hard to master. Free, for all ages.

Tags:google antigravitygeminicontext windowcontextringai agentsmacos

More from this day

See all →

More in: Software

See all →