After the latest Antigravity APP Update, /btw side question kept re-running the same turn in a background loop (~259 turns, ~30M tokens); weekly quota dropped ~50% → ~30%

Product: Antigravity 2.0 desktop app 2.29.0 (Windows). The agy CLI (1.3.5) was not used.

All times are UTC, with Turkey time (UTC+3) in brackets.

STEPS -as observed-:

  1. In a long-running conversation, start a task with /boost; its subagents run in the background.
  2. While it runs, open /btw and ask a side question that trigerred tools (here: checking recently changed files on disk).
  3. The /btw agent runs tools (run_command, read_file, ~40 calls) and answers.
  4. After the answer, the /btw turn keeps getting resumed automatically, with no input.

OBSERVED

  • Exactly one user message in the /btw conversation, at 07:32 UTC (10:32).
  • From 07:53 UTC (10:53) to 09:01 UTC (12:01): at least 259 model turns with no tool calls and no new input. They came every ~7–15 seconds until ~08:29 UTC (11:29), then sporadically until 09:01 UTC (12:01). A few similar empty turns appear just before 07:53 UTC but are not counted.
  • Every one of these turns returns almost the same reply: “This /btw side question is complete; close this side window and continue in the main chat.”
  • The conversation received only two background-task notifications (07:32 and 07:33 UTC), both before the loop. No subagent or task message triggered the resumes.
  • The model’s own reasoning during the loop: “The backend was unexpectedly resuming the same turn after timeouts or stream breaks … related to the Continue signal in the stream.” It checked for running background tasks; none were running.
  • The /btw panel disappeared from the UI while the loop kept running in the background, so I could not see or stop it.
  • Step numbers jump 6111 → 6336 → 7049, which suggests more turns ran than were written to the local transcript.

TOKEN IMPACT (from the local transcript)

  • Loop turns: 17,852,005 input + 12,427,293 cache read + 24,036 output = ~30.3M tokens.
  • Early loop turns were mostly cached (~2K new input + ~100K cache read each). Later turns averaged ~69K uncached input each, so prompt caching also stopped working.
  • Loop share of all my token usage, per quota window (measured at 10:08 UTC / 13:08):
    • Current 5-hour window (since 06:26 UTC / 09:26): ~38% of all tokens, ~85% of all uncached input (17.85M of 21.0M).
    • Current weekly window (since Nov 1, 08:07 UTC / 11:07): ~11% of all tokens, ~39% of all uncached input (17.85M of 45.8M).
    • These totals include conversations on both the Gemini and third-party model pools. The local transcript doesn’t record which model each turn used, so I can’t split them by pool.
  • My weekly quota dropped from ~50% to ~30% in about two hours, on the same workflow I had used for the previous three days.

POSSIBLY RELATED

  • agy CLI 1.5.0 release notes: “Changed /btw side questions to be able to call tools … showing each call live in the /btw card and a Called N tools summary once the answer is done.” The same capability seems to be live in the 2.0 app, since my /btw agent called tools. The loop started right after a tool-using /btw turn finished.

EXPECTED

  • A /btw turn ends once the answer is given and is not resumed without user input.
  • A running /btw panel stays visible and can be stopped.
  • Tokens spent by a loop I didn’t trigger are not counted against my quota.

REQUESTS

  1. Please investigate the Continue / turn-resume behaviour of /btw side conversations, especially after tool use.
  2. Please review and restore the quota consumed by this loop.

Evidence: I have a sanitized step-by-step log (timestamps, token counts, tool names only) and a quota screenshot. Happy to send them on request.

Additional finding: I compared this with my earlier /btw side conversations (about 60 of them, Oct 14 – Nov 3).

Until Nov 3, every /btw prompt was wrapped by the app with:
“This is a side question from the user. You MUST answer directly in a single response. Your tools are disabled… You must complete your response in a single turn with no follow-up turns.”
All of those finished in exactly 1 turn.

Since the update (first seen Nov 4, 07:32 UTC), this wrapper is gone: the question is sent as-is and tools are enabled. In the broken conversation, the single-turn guard no longer applied, and the side conversation kept getting resumed by a “Continue” signal: 347 turns from one question.

So the regression seems to be: tool-enabled /btw removed the single-turn limit, but the side conversation still gets auto-continued and has no stop condition.

Hi @burackb,

Welcome to the Forum, and thank you for the detailed bug report and root-cause analysis across both posts.

  1. Engineering Investigation (/btw Background Auto-Resume): Per our documentation, side questions (/btw) are designed to complete in a single response and close the temporary branch once the answer arrives. We are escalating this regression—where a tool-enabled /btw side question in Antigravity App v2.29.0 kept auto-resuming in the background—to our engineering team. Please reply here with the sanitized step-by-step log and quota screenshot you offered so we can attach them to the investigation.
  2. Quota Review: While 5-hour quotas refresh automatically (Plans), we cannot manually adjust account quotas from the public forum. For an account-level review of your weekly Google One plan quota, please submit a request through Google One Support.

Actually crazy, I use /btw a LOT and just today noticed a drop from like 80% to like 20% of my WEEKLY quotas when my Daily quota seemed relatively untouched! I was super confused, I leave my computer open at night and I’ve never been able to dent the weekly Ultra quotas ever.

I think this might’ve been the bug, my computer running some /btw command all night. Terrible issue if true, will have to rethink how I use /btw or not do it for the time-being. Is this detectable in any way, could I scroll and close the /btw tabs and would that work?

I think it does not stop the continue signal if there are multiple agents (subagents) ongoing.

And every/btw creates a forked conversation folder under ~/.gemini/antigravity/brain/...
This conversation has all your previous context and messages. Only difference is that “it creates another fork when you use the /btw again”. And I am sure that -before this particular update- /btw messages does not recognize each other but lately that was solved. If you use it occasionally you might’ve noticed it.

If you sort your brain folders by last modified date and see a side conversation with hundreds of PLANNER_RESPONSE lines and no USER_INPUT, that’s the runaway /btw loop. You can ask your agent also.

Hi @Rebbanpalli_Naveen, thanks for escalating this.

Two corrections: the /btw card didn’t disappear on its own. I closed it at some point and it kept running in the background, and since side threads don’t show up in the conversation list I didn’t notice. Also, I don’t have a screenshot from that morning. A quota check at 08:54 UTC showed the Gemini 5-hour quota at 0% and weekly at 30%, down from about 50% a couple of hours earlier.

Going back through the local transcript, the loop started earlier than I first reported: right after the first answer at 07:33:51. In the 20 minutes after that, the thread made 31 tool calls with no input, including 12 edits to one source file (add/revert, 6 times). Then it switched to empty “side question is complete” turns until 09:01.

Selected steps (UTC, Nov 4, app v2.29.0, Windows):

time      step  input     cached   output  what happened
07:32:07  5712        -        -       -   my only message
07:32:07  5713   36,527        0     267   run_command
07:33:51  5727    2,343   48,053   2,552   first full answer, turn should end here
07:36:46  5741    3,544   59,944     685   resumed, no input
07:41:16  5767    2,411   80,427   1,608   resumed, edit_file (add)
07:41:37  5769    3,763   80,789     771   resumed, edit_file (revert)
07:48:00  5807    2,259   97,970     417   resumed, run_command
07:53:21  5841    2,277  103,107     149   resumed, empty
07:57:59  5875   85,555   24,313     152   resumed, empty, mostly uncached from here
08:21:52  6050   98,837   24,313      90   resumed, empty
08:35:31  6336  128,122        0      99   resumed, empty
09:01:17  7049  128,217        0      68   last turn

Totals after the first answer: 341 turns, ~37.6M tokens (259 of those turns were empty, ~30.3M). Step numbers jump 6111 → 6336 → 7049, so some turns may be missing from the local log.

In several of those turns the model notes a “Continue” message it didn’t expect, e.g. “The presence of the <user>Continue</user> message is unexpected.”

I have the full sanitized log (all 388 steps: timestamps, token counts, tool names only) and can share it wherever works for you.

On the quota, if you could add a note to the escalation that this bug consumed my quota and forward it to the related division, I’d appreciate it.

Hi @Rebbanpalli_Naveen and @burackb — I can confirm this exact /btw runaway background loop on Linux (Antigravity Desktop / CLI), and I ran a full forensic SQLite audit on ~/.gemini/antigravity/conversations/*.db (steps.metadata protobuf telemetry) yesterday when my Google AI Ultra quota and credits suddenly vanished mid-deployment.

In my case, a single 7-word /btw side question spawned a background loop that ran for 1 hour and 54 minutes (545 calls / 74.36M total input tokens / 15.09M uncached input tokens). My SQLite audit also uncovered a second /btw billing bug (100% KV prompt-cache miss on Turn 1 of every /btw fork).

Here is the exact telemetry breakdown for the engineering team, followed by a critical heads-up on the support gap this is creating for paid Ultra developers right now:


1. Bug 1: /btw Side-Question Thread (trajectory_type = 22) Inherits Unstoppable Auto-Continue Loop

  • Date & Window: 2026-11-05 (14:53:21 – 16:47:28 PST)
  • Model ID: MODEL_PLACEHOLDER_M37 (gemini-3.1-pro-high)
  • Parent Cascade ID: 762a75d6-3514-4b63-ab83-e0f9d******
  • Spawned /btw Cascade ID: beea2176-8d98-4f38-8b03-811****** (trajectory_type = 22, forked at Step 2287)

Timeline from steps.metadata:

  1. 14:53:21 PST (Step 2287): I submitted one /btw question ("so you dont have the adminbot key?").
  2. 14:54:13 PST (Step 2298): The /btw agent finished answering. The turn should have terminated here.
  3. 14:54:25 – 16:47:28 PST (Steps 2299 to 3034): Because the /btw panel was closed/minimized while forked from an active parent cascade, bee**** inherited an autonomous continuation state with zero USER_INPUT. The harness automatically re-invoked the model 541 additional times (every 6–10 seconds for nearly 2 hours).
  4. Loop Behavior: Just like @burackb saw, the model repeatedly output “Side question complete—close this /btw panel to return to the main chat” (~285 times), burned through two full context compactions (Steps 2696 and 2988), and only stopped at Step 3034 when the model itself invoked the ask_question tool to force a blocking user-input state and break the harness loop.
  5. Token Impact of be**** Alone: 545 model calls | 15,088,135 uncached input tokens | 59,271,779 cached input tokens (74,359,914 total input tokens) | 191,866 output tokens.

2. Bug 2: 100% KV Prompt-Cache Miss on Turn 1 of Every /btw Fork (1.82M Uncached Input Tokens)

While auditing 762a**, I found that every /btw side question forked from the parent thread is assigned a brand-new sessionID (steps.metadata field 9.8) instead of sharing the parent cascade’s KV cache prefix:

  • Affected /btw Cascade IDs: c94e494a-ce3d-4361-bd64-17f9a0b*****, 6f650447-b156-4d74-bfac-d13301c*****, ef16ed11-3dd2-4e72-86fc-4edfc9c*****, 757ab090-a6f6-4f8c-b41d-169a0b4*****, 70246e8b-a3e8-4cf8-a5ae-a080318*****, c9923698-70ee-4d89-9300-e961ef1*****, 50e8852a-1d4e-4d5e-b5a4-0d606c0*****, a774c025-8622-4503-92bb-745238e*****, 943842b2-3679-4996-8306-4475b2b*****, bdb404eb-1131-48fb-a40a-3a9c5b4*****
  • Impact: Every single-sentence /btw query reports cacheReadTokens = 0 on Turn 1, billing the entire 116k–241k parent context as 100% fresh uncached input tokens (1,817,932 uncached tokens across 10 side questions). Combined with Bug 1, /btw bugs consumed 75.5% of my entire day’s uncached tokens (16.91M out of 22.38M).

3. The Developer & Support Impact (Why This Is Hurting Ultra Users Right Now)

I want to flag what happens to a working developer when this bug hits, because right now there is a complete disconnect between Antigravity quota management and Google One Support (Case ID: 1-5547000041523):

  1. Paid Ultra Quota Wiped Out Mid-Deployment: I pay for Google AI Ultra specifically so I can rely on predictable capacity for contracted production work. This background loop silently wiped out my 5-hour refresh window, drained my weekly quota down to 1%, and ate my remaining included AI Credits while I was mid-deployment on a live production front-end.
  2. Forced Out-of-Pocket Top-Up & Support Clawback: Because my deployment was hanging and my Ultra account locked out, I was forced to spend $25 out of pocket on emergency AI Credits just to finish my release and pull the SQLite logs for this bug report.
  3. Locked Out for a Full Workday: When I contacted Google One Support (Case ID: 1-5547000041523) with the PDF telemetry and screen recording, they processed a refund on the $25 top-up (SOP.3374-2327-0421****), which immediately clawed back all 2,500 credits and dropped my balance to 0—and then the agent ended the 2-hour chat without applying the promised 2,000 temporary appeasement credits, placing the ticket into a 24-hour supervisor email queue.

Google One agents have zero visibility into Antigravity token telemetry and no tool to reset a poisoned 5-hour/weekly model quota bucket. As a result, I am sitting at 1% usage and 0 credits on a Friday morning, completely locked out of Antigravity when I have a live pre weekend deployment to finish.

@Rebbanpalli_Naveen — Could you please add my Cascade IDs (beea2176-8d98-4f38-8b03-8117f***** / parent 762a75d6-3514-4b63-ab83-e0f9*****) and Google One Case ID (1-5547000041523) to the internal escalation, and check if the Antigravity team can reset my backend model quota bucket (or push the credit restoration through) so I’m not locked out of work today? I have the full SQLite extract and PDF audit ready to share if needed.

2b. Additional Telemetry: Live Voice Mode (<talker_agent_context>) & How It Preceded the /btw Loop

Because I was also beta-testing the new Live Voice Mode on 2026-11-05, my SQLite audit tracked how Live Voice interacted with both token consumption and the /btw state machine:

  • Trigger Context Before Bug 1 (14:38:32 PST): Fifteen minutes before spawning the runaway bee*** /btw thread, I activated Live Voice Mode inside the 2,200+ step parent cascade (76***), which also had /goal autonomous continuation state in its history. When the /btw fork refused to terminate at Step 2299, the model’s internal thinking block explicitly logged: “The ‘Continue’ input likely means the user is still within the /btw context”—and after the two automatic context compactions (Steps 2696 and 2988, each wiping the KV cache and billing ~150k uncached tokens/step), the background loop began executing git status and gh pr view 29 in circles.
  • Standalone Live Voice Sessions Were Normal (5.0% of Daily Uncached Usage): In fresh threads, Live Voice token usage was completely reasonable across two separate tests (638,723 uncached tokens across 36 calls at 10:41 PST, and 472,636 uncached tokens across 51 calls at 14:05 PST).
  • Live Voice Inside a 2,200-Step Thread (3.58M Uncached / 36.49M Cached Input Tokens): Live Voice (<voice_instructions> / <talker_agent_context>) runs two models simultaneously: the real-time bidirectional Talker Agent streaming audio + gemini-3.1-pro-high executing tools. When attached to an existing 2,200+ step conversation (150k–240k tokens), every spoken turn that triggered coding or subagent work (294 calls / 5 subagents) carried the full parent context window, consuming 3,582,499 uncached input tokens (16.0% of my daily uncached usage) and 36,488,625 cached tokens.

I can also confirm both Bug 1 (the /btw runaway auto-continue background loop) and Bug 2 (100% KV prompt-cache miss on Turn 1 of every /btw fork) on macOS from a forensic SQLite audit of ~/.gemini/antigravity/conversations/*.db:

1. Bug 1: /btw Side-Question Thread (trajectory_type = 22) Inherited Unstoppable Auto-Continue Loop

  • Date & Window: 2026-11-03 22:06:14 – 23:26:39 PST (2026-11-04T06:06:14Z – 07:26:39Z, 1h 20m)
  • Model Enum: 1417
  • Parent Cascade ID: 022b5033-8c63-47b2-a5af-e330*****
  • Spawned /btw Cascade ID: 622815f9-6b27-4171-a2e9-ef870***** (trajectory_type = 22, forked at Step 713)
  • Timeline:
    • Step 715 (22:06:14 PST): Submitted 1 /btw question (“It is running at 9 seconds per step, the, is that normal…”).
    • Step 735 (22:10:16 PST): The /btw agent finished answering the side question. The turn should have terminated here.
    • Steps 736 to 1244 (22:10:21 – 23:26:39 PST): With zero USER_INPUT (only 1 USER_INPUT in the entire thread), the closed /btw panel inherited the parent’s continuation loop and re-invoked the model 284 times (287 total model calls across 532 steps), burning through 3 context compactions (Steps 732, 922, 1149). Near the end (Steps 1235–1239), the model itself read its own transcript.jsonl to figure out why it was receiving phantom continue signals every ~7 seconds after cancelling its timers, and finally called ask_question at Step 1242/1244 to force a blocking user-input state and break the loop.
  • Token Impact of 622815f9-6b27-4171-a2e9-ef87**** Alone: 287 model calls | 1,739,012 uncached input tokens | 33,977,852 cached input tokens (35,716,864 total input tokens) | 204,480 output tokens.

2. Bug 2: 100% KV Prompt-Cache Miss on Turn 1 of Every /btw Fork (72 / 72 /btw Threads)

  • Across 72 /btw side-question cascades (trajectory_type = 22) forked from parent threads (022b5033-8c63-47b2-a5af-e330d****, 06cdb5c1-62bd-417d-8e56-1c9d****, 7e1b3332-9e5d-4792-a7e1-50a518*****, e201dad3-d882-4324-b806-ff5bd****, etc.), 72 out of 72 (100%) reported cached_input_tokens = 0 on Turn 1.
  • Sample affected /btw Cascade IDs: 622815f9-6b27-4171-a2e9-ef8701c*****, 9381220e-fff7-4109-a1c0-bd871cf*****, 8d799dbf-7f43-4f94-a57d-9889735*****, b2bd5c9e-51d0-4798-9161-513f3b8*****, 6922461a-9f75-492f-a32b-56adb92*****, b0dff34e-ef3f-49b0-9d41-86b054b*****, 5b088f33-8744-48a6-8d86-49b0156*****, 57e7a5bd-527c-481c-8824-8103ee1*****, 09a6886d-9f35-4dd1-8f80-ff1db1c*****, 6462317d-bbb2-4d44-84e1-bf81e39*****
  • Impact: 6,464,046 uncached input tokens were billed solely on Turn-1 KV cache misses across 72 /btw questions (and 8,028,536 uncached input tokens / 44,208,560 total input tokens across all /btw threads combined).

I don’t need quota back or anything, my week is about to reset, but this is a very bug that makes me, a heavy /btw user using it to clarify and learn context of the agent’s current work, basically unable to use it at all anymore.

I checked my local transcript and can confirm **Bug 2 (Turn-1 100% cache miss)** on Windows as well:

- Turn 1 of my `/btw` fork (`step 5713`) billed `36,527` uncached input tokens with `0` cached tokens, even though the parent conversation context was already cached. Subsequent turns in the same fork immediately read `34K–103K` from cache.

Yes can confirm still happening I was told I would be given credits in replacement but have yet to get them as well have lost two days of work and with a new refresh already playing catch up on projects using more usage then I normally would. it still happening.

Hi @burackb, @Jaded_Rose, and @ningkaiyang,

Thank you all for following up with the detailed step-by-step transcripts and SQLite telemetry audits (trajectory_type = 22).

  • 1. Update from v2.29.0 to Antigravity App v2.31.0 & CLI v1.5.5:
    • All three of your reports were captured on v2.29.0 (November 3–5). Since then, we shipped Antigravity App v2.30.0 and v2.31.0 and Antigravity CLI v1.5.5 (Changelog), which include fixes for /btw side questions in subagent conversations and queued/background task completion handling.
    • Please update to v2.31.0 from the Download page, and avoid leaving a /btw side question open or minimized while an autonomous /goal or /boost loop is actively running in the parent thread.
  • 2. Let us know if it still reproduces on v2.31.0:
    • Please test on v2.31.0 and let us know if you still see any /btw background auto-continuation or Turn-1 cache misses on the latest release so we can investigate further.

Thanks, seems like it is solved.

Thanks for the detailed write-up. I checked my own local data the same way (~/.gemini/antigravity/conversations/*.db) to see if I was hit by the /btw loop.

Result: no /btw threads (all trajectory_type 4), and no runaway turns. Every burst of calls starts right after my own input. So in my case it’s not this bug. But the numbers show how small the Ultra weekly cap is (Windows, Nov 11, KST):

  • Claude/GPT: 125 model calls (a batch of 32 Claude Sonnet 5.5 subagents, ~10 min) → 23% of the 5h limit and 12% of the WEEKLY limit.
    That’s ~10 calls per 1% weekly, i.e. roughly 1,000 calls for the whole week on Ultra.
  • Gemini: 111 calls (09:36–10:31) → 11% of the 5h limit, 3% weekly.

So the weekly bucket is only ~2 full 5h windows for Claude/GPT and ~4 for Gemini. With agent workflows that spawn subagents, one run can burn 1/8 of the week.

@Rebbanpalli_Naveen could you confirm whether these weekly limits are intended for Ultra? If they are, please document them, because right now there’s no way to know before you’re locked out. Google One support also told me they can’t see Antigravity quota.

Seems to still be hanging: The /btw Cold-Cache (0 Cached Tokens) Bug Hit 12 Times Since Yesterday (2.22M Uncached Tokens):You used /btw 12 times since yesterday afternoon (480cb837 at 17:47 today, 3dcd352f at 15:50, etc.) .11 out of 12 still recorded cache_read_tokens = 0, billing 113k to 241k uncached input tokens per single question (2,224,610 uncached input tokens total for just 12 quick side questions!).

Edit carbon offered: Moving the branched /btw Conversation ID / Artifact Directory Path override into the trailing <SYSTEM_MESSAGE> at the end of the parent history (instead of mutating <user_information> at the top of the system prompt) would immediately fix the cache_read_tokens = 0 bug on active threads. unsure it helps.

Update after testing further on Antigravity Desktop v2.31.1 (Windows) last night (@Rebbanpalli_Naveen, @Jaded_Rose):

While the infinite zombie loop didn’t trigger, the /btw mechanism is still broken on v2.31.1 in two ways:

1. 100% Turn-1 Cache Miss on v2.31.1 (8 out of 8 /btw questions = ~1.98M uncached tokens)

I asked 8 follow-up /btw questions yesterday evening on the same parent conversation (forked at step 4067). Every single one spawned a brand-new fork UUID and hit cache_read_tokens = 0 on Turn 1, billing the entire ~248K parent context as fresh uncached input every time:

Nov 11 (UTC) | Fork Step | Turn-1 Uncached Input | Turn-1 Cache Read
16:53:31     | 4067      | 247,986               | 0
17:02:31     | 4067      | 247,999               | 0
17:07:20     | 4067      | 247,975               | 0
17:12:54     | 4067      | 247,999               | 0
17:18:48     | 4067      | 247,993               | 0
18:09:41     | 4067      | 248,147               | 0
18:57:28     | 4067      | 248,262               | 0
19:20:44     | 4067      | 248,285               | 0
--------------------------------------------------------------------
Total (8 Turn-1 calls)   | 1,984,646 uncached    | 0 cached

As @Jaded_Rose noted, mutating Conversation ID / Artifact Directory Path inside <user_information> at the top of the system prompt for each new /btw fork invalidates the entire KV cache prefix of the parent conversation.

2. Back-to-Back /btw Questions Spawn Separate Forks and Force the Agent to Read Local Logs for Context

The whole point of using /btw is to ask side questions without polluting the main chat context. However, when asking 8 follow-up questions in /btw, the app still forks each message from the parent’s old step (4067) as a separate conversation folder instead of continuing in a single side thread.

Because each new fork lacked the previous /btw Q&A in its normal history, the agent had to use read_file on local transcript.jsonl files from earlier /btw folders just to understand my follow-up questions—turning a simple side question into a 65-step run with 4 separate PLANNER_RESPONSE completions as background tasks finished.

5-Day KV-Cache & Bug Persistence Health Check (For the Dev Team)

Antigravity developers, status update on what is still happening in version 1.23.2-1776332190, here are the exact numbers from the last 5 days:

  1. Bug #1 Still Persisting — /btw (trajectory_type = 22) First-Turn Cold-Cache Miss (22 / 22 cascades):
    • Across all 22 /btw side questions you opened between Nov 10 and Nov 15 (180228bf, 55637c05, d16e2aac, etc.), Turn 1 still hits cache_read_tokens = 0 100% of the time, billing 145k–254k uncached input tokens on the initial fork because /btw creates a new trajectory_id without inheriting the parent conversation’s KV-cache prefix key.
    • (Note: If you ask a 2nd follow-up question inside the same /btw popup—like in 180228bf or 5c573130—Turn 2+ does hit the KV cache (cache_read = 245,856), proving that KV caching works inside /btw once initialized, and only the initial parent-to-/btw prefix handoff is broken.)
  2. Bug #2 Still Persisting — Mid-Session KV-Cache Evictions (8 Instant Drops <= 100s Between Turns):
    • Out of 78 times a >50k KV cache dropped to cache_read_tokens = 0 in the last 5 days:
      • 70 were normal TTL expirations after > 2 minutes of idle time.
      • 8 happened in the middle of active back-and-forth turns (8s to 101s after the previous turn!), forcing sudden 90k–244k uncached re-prefills:
        • 762a75d6 Step 4173 (gap = 8.0s: prev_cache = 90,418 → cache_read = 0, new_uncached = 103,845)
        • 9bfe2d8e Step 1086 (gap = 35.0s: prev_cache = 182,441 → cache_read = 0, new_uncached = 178,259)
        • 8f40f259 Step 163 (gap = 43.0s: prev_cache = 219,806 → cache_read = 0, new_uncached = 203,519)
        • 9bfe2d8e Step 1044 (gap = 58.0s: prev_cache = 134,084 → cache_read = 0, new_uncached = 138,256)
    • Why this happens (for the devs): Whenever the client performs an inline CONTEXT_SUMMARY compaction or mutates an early system/prefix block, it changes the token prefix at index 0, which invalidates the entire server-side KV cache even if 90%+ of the recent turns are unchanged.
  3. No Runaway Auto-Continue Loops on /btw:
    • All 22 /btw threads terminated cleanly (1–5 turns). The only high-turn zero-user-input trajectories (231ec393 with 411 turns and edc4cd95 with 277 turns on Nov 14) were both legitimate subagents spawned by your 9bfe2d8e session, plus 4 scheduled InArgonWeTrust crons (b9123617, d5eb3151, 6d558c7b, 619b68f5).

      Thanks for your work. Looks like btw is being cleaned up so we are making progress. <3 Just did a quick copy paste from argons main chat because It was more human digestable oddly then the “bug report” it wanted to make. If you need more though let me know

  • I personally enjoyed the note on bug one. Good food there.

Argon:

40-hour delta checkup (Nov 15 18:10 PST → Nov 17 10:05 PST, covering 30 active .db trajectories and 944 planner turns on version 1.23.2-1776332190).


1. Why Your Usage & Performance Feel Much Better Right Now (Confirmed in Telemetry)

You aren’t imagining the improvement your token efficiency over the last 40 hours is dramatically healthier:

  • 89.7% Overall KV-Cache Hit Rate: Across all 944 planner turns since Nov 15, 186,618,657 input tokens were served from warm KV cache vs. 21,542,319 uncached input tokens.
  • Zero /btw Cold-Cache Drain: You only opened /btw (trajectory_type = 22) once (4fc7f26d on Nov 16 at 14:45, with 0 planner turns), eliminating the 2M–4M uncached token drain that was hitting you earlier.
  • Orchestrator Offloading: In your heavy sessions (47f18f97 with 280 turns and this thread 56c28778), using Orchestrator kept the expensive planning model focused on decision turns while offloading the multi-step file edits and command runs to the faster, cheaper execution model.
  • Clean Background State: Only 1 scheduled InArgonWeTrust cron ran (10b4475d on Nov 16 at 17:15 PST: 64 turns at a 96.8% KV-cache hit rate), and zero runaway loops or unauthorized calls occurred.

2. One Final High-Value Finding for the Google Devs (Orchestrator Plan ↔ Execute Handoffs)

When I inspected the 8 mid-session KV-cache resets (gap <= 120s) over the last 40 hours, almost all of them traced to one exact mechanism in Orchestrator mode:

  • Look at what happens at the exact moment exit_plan_mode or enter_plan_mode fires:

    • In this conversation (56c28778, Steps 758 → 761):
      • Step 758 (17:55:32Z, Planning Model calls exit_plan_mode): input_tokens = 3,669 | cache_read_tokens = 323,111
      • Step 761 (17:56:18Z, Execution Model starts): input_tokens = 318,636 | cache_read_tokens = 0
    • In your 47f18f97 session (Steps 370 → 373 and 455 → 458):
      • Step 370 (02:47:28Z, Execution Model calls enter_plan_mode): input_tokens = 2,558 | cache_read_tokens = 505,667
      • Step 373 (02:47:36Z, 8 seconds later, Planning Model resumes): input_tokens = 532,755 | cache_read_tokens = 0
      • Step 455 → 458 (03:00:02Z → 03:00:13Z, 11 seconds later, enter_plan_mode handoff): cache_read_tokens = 113,550 → cache_read_tokens = 0 (input_tokens = 119,295)
  • Why this happens & what to tell the devs (1-sentence takeaway):

    • While the Planning Model and Execution Model naturally have separate model weights (so the very first handoff to the Execution Model must warm its own cache), mutating the <plan_execute_protocol> block inside the top system prompt on every enter_plan_mode / exit_plan_mode transition invalidates the prefix hash from token 0—forcing a full 300k–530k uncached cold re-prefill even when switching back to a model that was warm 10 seconds earlier! Moving the plan/execute mode state to the end of the shared prefix (or keeping per-model KV prefixes stable across handoffs) would save hundreds of thousands of uncached tokens on long Orchestrator sessions.

Me: Everything else on my system is rock-solid and running cleanly I feel like I am in a great spot to let you brilliant devs cook on those fixes for a few days! SO MUCH IMPROVEMENT!!! THANK YOU!!! *ps sorry I prefer the raw output over a doctored message for you guys :confused: