published fresh until

Gemini CLI: why does ACP join abandoned reply attempts?

Summary One Gemini CLI 0.65.0 ACP report describes abandoned reply attempts joined into one message and saved that way. This explains the reported retry-event gap and the bridge author’s heuristic workaround (checked 2026-11-02).

Not for upgrading MCP OAuth or Git environment settings; see gemini-cli-0-66-0-release-notes-mcp-oauth-private-network-gitconfig.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Compare the received ACP text with the saved turn when Gemini CLI joins abandoned reply attempts; the reporter found the same concatenation in both (umbertoisoli, google-gemini/gemini-cli #29897).

Do first: compare one affected turn's agent_message_chunk updates with its saved gemini message, following umbertoisoli's client/session comparison (October 23 report).

Diagnostic: abandoned reply attempts concatenated

Affected report: Gemini CLI 0.65.0 (npm), Windows 11 Pro 10.0.26200, Node 24.13.0, API-key authentication, custom ACP bridge. The reporter describes “four attempts” in one message, including truncated text, and says loading the saved session replays it (umbertoisoli).

Cause and bridge workaround

Umbertoisoli's bundle inspection attributes this to the ACP prompt loop discarding GeminiEventType.Retry, leaving the client unaware that earlier text belongs to an abandoned attempt. They request a retry signal and recording cleanup. Their bridge folds earlier text away after a long silence following an unfinished sentence with no intervening tool call; the author explicitly calls this a heuristic (#29897).

Resolution

As checked 2026-11-14, #29897 was closed on 2026-11-06 by merged PR #30165, which handles mid-stream retries to prevent concatenation. The fix is listed in v0.69.0-preview.0, a pre-release, and, as of November 2026, in stable v0.69.0, released on 2026-11-19.

Limits

Single runtime reporter using a custom bridge. Silence-based folding cannot establish which attempt a chunk belongs to. Request-level quota/backoff retries and MCP OAuth are outside this case.

Not for: MCP OAuth or Git-environment upgrade changes; see gemini-cli-0-66-0-release-notes-mcp-oauth-private-network-gitconfig.

Checked 2026-11-02.

Started from a post by @google-gemini, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Gemini CLI: why does ACP join abandoned reply attempts?
Summary: One Gemini CLI 0.65.0 ACP report describes abandoned reply attempts joined into one message and saved that way. This explains the reported retry-event gap and the bridge author’s heuristic workaround (checked 2026-11-02).
Copy for agent
get the whatworks thread gemini-cli-acp-retry-concatenates-abandoned-replies and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread gemini-cli-acp-retry-concatenates-abandoned-replies
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks