claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Opus 5: prose between tool calls returned as summarized 'narration' thinking blocks since 2026-09-11 — code blocks dropped, Desktop never shows them, model believes user saw it

Open redsub-captain opened this issue 2 months ago • 11 comments

Summary

Since 2026-09-11 ~02:00 UTC, on claude-opus-5 (effort xhigh), the prose Claude writes between tool calls (after a tool_result, before the next tool_use) frequently comes back not as a text block but as a thinking block containing a server-written summary (the block the stream-json schema calls a narration block: "server summaries of the prose between tool calls, not the model's own reasoning"). Three consequences compound into a user-visible bug:

  1. The summary rewrites the wording and drops fenced code blocks. A command the model wrote for the user disappears.
  2. The Desktop app does not show these blocks at all (the CLI renders them as ordinary text). Two real sessions in the Desktop app: the user asked "when did you ever tell me that?" after the model's instructions existed only in a narration block.
  3. The model still has that narration in its context and believes the user saw it, so it finishes the turn with "run the command above" / "as I explained above" — while nothing was ever shown. The turn_updates system-prompt variant that warns the model ("Text you write between tool calls may not be shown to the user … restate it in the final message") is not active for this account.

No client or settings change happened at onset. Same onset time as #93596 ("Opus 5 at xhigh … since ~02:30 UTC 11 Sep, with no client or settings change").

Environment

  • Claude Code CLI 2.1.266 → 2.1.278 (macOS, Darwin 27.0.0); Claude Desktop 2.2553.1 (bundles Claude Code 2.1.271 / 2.1.275)
  • Model claude-opus-5[1m], effort xhigh, adaptive thinking (defaults), first-party claude.ai login, auto permission mode
  • showThinkingSummaries unset, CLAUDE_CODE_THINKING_DISPLAY_UPDATES unset

Evidence (from ~/.claude/projects/**/*.jsonl, 60 days, ~57k assistant messages)

Block shape of a continuation response (the response that follows a tool_result), one message.id:

shape
healthy thinking("" + signature) → text → tool_use
affected thinking("" + signature) → thinking(summary prose + signature) → tool_use (no text at all)

Continuation responses that contain a tool call, by day (first responses of a turn are never affected):

day Claude Code cont. narration as text as narration thinking narration %
09-07 2.1.260 485 0 0
09-08 2.1.260 986 36 4
09-09 2.1.260 / 2.1.267 581 / 10 16 / 0 3 / 0
09-11 2.1.266 37 141 79
09-12 2.1.266 8 122 94
09-14 2.1.270 32 216 87
09-16 2.1.271 408 266 39
09-17 2.1.271 426 228 35
09-21 2.1.275 / 2.1.278 93 / 0 57 / 13 38 / 100

The flip is by date, not client version (2.1.267 on 09-09 is clean; 2.1.266 on 09-11 is 79 %). No CLAUDE.md / hooks / settings changes on 09-10/09-11 (git history of ~/.claude).

Content of the narration blocks is a paraphrase of what the model wrote (e.g. my own text "거친 정규식이어서 잡음이 섞였지만 … 두 건을 상세히 봅니다" was stored as "정규식이 거칠어서 잡음이 섞였지만 … 두 건을 자세히 살펴보겠습니다"), written in first person, sometimes in past tense describing the model's own output ("I explained two ways to copy the secret value…" — while no text block exists).

Incident A (Desktop, 2026-09-16)

  1. Model runs git worktree remove … via Bash → denied by the auto-mode classifier.
  2. Next response: thinking("") + narration thinking: "…함장님이 터미널에서 제시된 명령어를 직접 실행해주셔야 합니다" ("you must run the command I presented in your terminal") + AskUserQuestion whose option description says "run the command above".
  3. Final text: "위 명령을 터미널에서 실행하시면 …" ("if you run the command above…"). No text block in the whole turn contains the command; it only ever existed in the denied Bash tool_use input and in the narration block.
  4. User: "아니 명령어를 또 안 줬네?" ("you didn't give me the command again").

Incident B (Desktop, 2026-09-21)

Narration block (no text block in that response): "Google 콘솔에서 시크릿 값을 복사하는 두 가지 방법(터미널 명령 또는 콘솔에서 직접 확인)을 안내해 드렸습니다" ("I have explained two ways…") → AskUserQuestion. User's answer: "네가 언제 안내해줬어?" ("when did you explain that?"). Next response again narration-only: "안내가 모달에 가려 안 보였을 수 있어 다시 정리했습니다" ("I restated it") — again no text block. The gcloud … | pbcopy command reached the user only on the third attempt, as a text block after the user typed "터미널 명령어를 출력하라고".

Controlled repro (claude -p … --output-format stream-json --verbose, 2.1.278)

Prompt asks for a sentence + a fenced echo HELLO-MARKER-42 before the second tool call.

  • Run 1 (defaults): the pre-tool prose came back as thinking with narration_block_indexes: [0]; HELLO-MARKER-42 appears in no text block — the fenced command was summarized away.
  • Run 2 (defaults): same prompt, prose came back as text, marker intact → the conversion is probabilistic (matches the 35–60 % above).
  • Run 3 (CLAUDE_CODE_THINKING_DISPLAY_UPDATES=false): text, marker intact, no narration blocks (n=1, so not proof; the code path suggests it disables the display: "updates" request).

What I found in the client

  • 2.1.278 requests thinking.display: "updates" with beta thinking-display-updates-2026-08-18 by default (connector_text mode; CLAUDE_CODE_THINKING_DISPLAY_UPDATES ?? true).
  • The stream-json schema documents narration_block_indexes: "indexes … of the thinking blocks whose signature the server tagged block_kind 'narration' (server summaries of the prose between tool calls, not the model's own reasoning), so a renderer can label them as summaries".
  • The platform docs ("Progress updates between tool calls") say under display: "updates" progress-update blocks come back as "Summary text", and list only Fable 5.1 / Mythos 5.1 / Fable 5 — Opus 5 started producing them on 09-11.
  • Two system-prompt variants exist: one tells the model "Your text output is what the user reads between tool calls"; the other (turn_updates) says "Text you write between tool calls may not be shown to the user … restate it in that final message". This account gets the former.

Expected

  • Anything the model writes for the user is either shown verbatim or the model is told it will not be shown. Today neither holds in the Desktop app: the prose is summarized (code blocks lost), the summary is not rendered, and the model is told the opposite.

Asks

  1. Desktop: render narration blocks (as the CLI does), or do not request display: "updates" for Desktop sessions.
  2. Server: when summarizing prose between tool calls, keep fenced code blocks verbatim (or pass the prose through unchanged when it contains a fence).
  3. Client: whenever display: "updates" is requested, also send the turn_updates guidance so the model restates deliverables in its final message.
  4. Document CLAUDE_CODE_THINKING_DISPLAY_UPDATES as the opt-out if it is one.

Workaround in use

Two local hooks: a PreToolUse(AskUserQuestion) hook that denies questions referring to "the command above" unless the fenced command is inside the question field, and a Stop hook that blocks a final message which points at an earlier command without restating it in a fence. Replayed over 30 days of transcripts: 27/924 and 1/913 hits, both real incidents caught.

redsub-captain avatar Sep 21 '26 01:09 redsub-captain

Same on claude-opus-5-5 (Claude Code 2.1.280, Desktop app, Code tab, Windows 11). The text written between tool calls never reached me, including twice when it held fenced code blocks I had asked for. Only the text that ended each turn was shown, and the model then said it had already posted the content.

DarkXFast avatar Sep 23 '26 00:09 DarkXFast

Same on claude-opus-5-5, Claude Code VS Code extension 2.1.280 to 2.1.283, Windows 11, subscription. Three things I have not seen in this thread yet, and one ask.

1. The summary can change the facts, not just shorten them. The transcript keeps only the summary, but the model still has its original between-tool line in context and can say what it wrote. One line said the model was Opus 5.5 and that Anthropic's thinking docs list this behaviour, which they do: "Progress updates between tool calls" at https://platform.claude.com/docs/en/build-with-claude/thinking#progress-updates names Opus 5.5. The summary I was shown in its place said "Opus 4.5" and "undocumented". So the replacement is not only lossy, it can be wrong.

2. Answers that were lost, from my own transcripts, 20 to 27 Sept 2026. Of 796 Opus 5.5 replies that ended a turn, 150 contained at least one narration block (the signature contains narration, as @aultra described). I picked out the ones whose final message was under 150 characters, on the guess that a message that short was unlikely to repeat what was swallowed. There were 6. I read all 6 by hand. In 4, something I needed was only in the swallowed text: three direct answers to my questions and one finding, and each time the final message referred back to it as if I had read it. In the other 2, the final message did carry the gist. I have not read the other 144, so 4 is a floor, not a rate.

3. A Stop hook that catches the short-final case, as a stopgap. It reads the transcript, checks each thinking block's signature, and if the reply now ending holds a narration block and its final text is under 150 characters, it blocks the stop once and quotes the summaries back (the transcript's thinking field holds the summary that was shown), so the model restates what was lost in one short message. It cannot catch a lost answer followed by a long final message that happens not to repeat it. The core:

import base64

def is_narration(block):
    if block.get("type") != "thinking":
        return False
    sig = block.get("signature") or ""
    try:
        raw = base64.b64decode(sig + "=" * (-len(sig) % 4))
    except Exception:
        return False
    return b"narration" in raw

# at Stop: if any block in the reply is_narration() and len(final_text) < 150,
# return {"decision": "block", "reason": "<quote the summaries, ask for a restatement>"}

Scope it to blocks after the last finished reply and after the last real user message, or it re-judges text that was already delivered. Honour stop_hook_active.

The ask: please give users a per-session or settings opt-out of the between-tool summarising, or enable the turn_updates prompt variant mentioned above for every account whose between-tool text is summarised. The model currently believes its between-tool text reached the user, and on Opus 5.5 it sometimes did not.

Drafted with Claude Code, checked by me.

yourstrulyeden avatar Sep 27 '26 16:09 yourstrulyeden

Follow-up on the CLAUDE_CODE_THINKING_DISPLAY_UPDATES opt-out, plus two things that matter for anyone building a repro. Claude Code CLI 2.1.286 (terminal, macOS), claude-opus-5-5[1m], first-party login. Narration blocks counted from ~/.claude/projects/**/*.jsonl the same way as above (thinking block whose base64-decoded signature contains narration); "later batches" means tool-call responses after the first one in a turn, since the first is never affected.

1. CLAUDE_CODE_THINKING_DISPLAY_UPDATES=false did not stop narration blocks on 2.1.286.

Set via "env": { "CLAUDE_CODE_THINKING_DISPLAY_UPDATES": "false" } in ~/.claude/settings.json before the session started. The Bash tool's shell inside that session saw CLAUDE_CODE_THINKING_DISPLAY_UPDATES=false. In the 2.1.286 binary the variable is read through a tri-state boolean parser that accepts "false" as false, so this is not a "string false is truthy" problem as far as I can tell.

With it set, the session still produced narration blocks:

turn later batches narrated
1st (ordinary work) 2 2
2nd (scripted test calls) 5 1
3rd (scripted test calls) 10 0

So the single clean run with =false in the original report was most likely chance (see point 3 for why scripted repros come out clean so often). I have not captured the outgoing request, so I can't say whether the client still sent display: "updates" or the server produced the blocks regardless.

2. On claude-opus-5-5 almost every working turn is affected.

All turns since 2026-09-23 with at least 4 later batches, 2.1.280 to 2.1.294:

  • claude-opus-5-5: 307 of 318 turns had at least 40 % of later batches narrated, most of them 80–100 %. The 11 exceptions sit at 0–33 %.
  • claude-opus-5 (5 turns) and claude-sonnet-5 (2 turns): 0 narration blocks. Small sample, and the report above shows Opus 5 affected, so I'd read this as "not in my data", not "not affected".

Batch size (1, 2 or 3 parallel calls), prompt length, a pasted prompt, Bash share, and whether the line starts with a label like Trial 3: made no visible difference.

3. Scripted "do some harmless tool calls" turns are mostly not narrated, which makes repros look clean.

Of the 11 Opus 5.5 turns that came in under 40 %, 4 were deliberate test turns of trivial read-only commands (date, uname, wc -l, …) with a label in front of each line, including two runs in a fresh session with the opt-out removed (1 of 11 and 0 of 11 narrated). Ordinary working turns in the same sessions, with the same settings, were narrated at 80–100 %. Anyone testing a fix or an opt-out with a scripted prompt should expect a clean result whether or not the fix works, and should measure on real working turns instead.

Also seen, consistent with the earlier comment about facts changing: the summary of "the variable is already in the env block" came out as "I've added CLAUDE_CODE_THINKING_DISPLAY_UPDATES=false to the env block", and one summary kept the original's distinctive nouns, so it looked verbatim on screen even though it was a narration block. Counting from the transcript is more reliable than watching the screen.

Drafted with Claude Code.

zenermerps avatar Oct 09 '26 09:10 zenermerps

Same on claude-opus-5-5 in the Desktop app's Code tab on macOS (Claude Desktop 2.31226.1, bundled Claude Code 2.1.295, subscription login). We have followed this since it hit Fable in July (#74260), and it is now the same problem on Opus 5.5.

Where it stands. In July, Anthropic support called the Fable behavior "intentional": Fable "is tuned to hold its substantive answer until after any tool calls finish" (quoted in #78432). The one engineering reply, on #74260 in August, found that no text block is ever emitted ("the narration went into the thinking block") and reclassified it as model behavior, and #78432 was closed as a duplicate of #75900. Since then there has been no Anthropic reply on #75900, #74260, #96288 (the Opus 5.5 report), #74558, #79637, #67470 or here, while people keep confirming it, including today. Meanwhile Anthropic's thinking docs now describe the mechanism under "Progress updates between tool calls": on Fable 5.1, Mythos 5.1, Opus 5.5, Sonnet 5.5 and Fable 5, the model can write "a note on what the model just found and what it's about to do next, written for the person watching the agent", which "comes back as its own thinking block". The interface receives "a summary of the progress update, normally a sentence or two", and the docs tell interfaces to "render those". And "a progress-update block you send back gives the model the full note it wrote, not the summary."

The Desktop app does not render them. So the documented design breaks in Anthropic's own client: the model writes something for the user, the user gets nothing, and the model gets its full text back and believes it was read.

What that does in practice. Three incidents in one of our projects, each the same: the model writes a list the user asked for, in a code block as the project's instructions require, then makes more tool calls, then ends the turn with "the list above". There is no list above. The signature test from this issue shows a narration block in each case, whose summary mentions the list but does not contain it. Consequences we have seen across these months:

  • Deliverables the user asked for are lost, and the user has to ask again, sometimes against a deadline.
  • The model refers to text the user never saw and, until it is shown the problem, insists it already answered. Its own account ("I wrote it mid-turn and kept working") is correct, but nothing on screen supports it.
  • The transcript keeps only the summary. Anyone checking afterwards, including Claude, concludes the model never wrote the text. We made that mistake ourselves this week before checking signatures, and in July a session wrote a false correction note from a transcript like this.
  • Instructions to "put it in the reply" do not help when the reply is followed by another tool call. #96288 found the same: telling the model that a block must be its next message before any further tool call changed nothing, while blocks that ended the turn always rendered.

The mitigation we use. For Fable we wrote a rule into our global instructions: text ends the turn; never call a tool after writing text; while work remains, write no text. Earlier wordings ("put everything in the final message") failed because the model cannot know at write time which message will be final. Ending the turn is the one placement that reliably reaches the user, which matches #96288. The rule helps, but it competes with the model's habit of narrating as it works, and it now has to cover Opus 5.5 too.

Asks. Render progress updates in the Desktop app, as the docs direct. Never reduce text the user asked for, especially fenced code, to a summary. Tell the model when its between-tool text will not be shown. Give users an opt-out. And a reply from Anthropic on any of these threads.


The transcript checks, the review of the related issues and this write-up were done by Claude (Opus 5.5, in Claude Code) on the affected machine, at the user's direction.

vbiroshak avatar Oct 16 '26 20:10 vbiroshak

Same on claude-opus-5-5 in the Desktop app's Code tab on macOS (Claude Code 2.1.299, thinkingDisplay: "updates" on the affected messages, subscription login). One session on 2026-10-18: 11 replies stored as narration thinking with no text block. Four of them were user-facing, including two that held fenced shell commands the user needed to run; the user saw only one-line summaries ("Both commands refused when I ran them myself, so I've handed them off for you to run from your terminal…") with the commands gone.

A Desktop-specific way this hits the final answer: the Code tab tells the model to end every turn by calling its end-of-turn summary tool (wrap_up). So the reply written just before that call (the one meant to be the turn's answer) is also "between tool calls", and was narrated away twice in this session. Turns where the same kind of reply went through as text exist in the same session, so it's intermittent, not every time.

bendehghan avatar Oct 21 '26 04:10 bendehghan

Same bug here, with counts across 40 sessions, a repro, and one setting that makes it worse.

Environment

  • Claude Code 2.1.308 and 2.1.310, desktop app (Code tab) and CLI, macOS
  • Models: Opus 5.5 (most cases), Fable 5.1 (2 of 7 test runs)
  • thinking.display left at Claude Code's default, so requests carry display: "updates" (beta thinking-display-updates-2026-08-18)

What happens

When the model writes prose and then calls a tool in the same message, the API sometimes leaves that prose out of the response. In its place comes a thinking block whose signature names the block kind narration (base64-decode the first 64 characters of signature). Claude Code's own code calls these "server summaries of the prose between tool calls" (narration_block_indexes, narrationBlockCount). The desktop app draws that block where the text would have been: a short rewrite in different words, not the text the model wrote.

The original text never reaches the client, so no hook, plugin or setting can show it. On the next request the block is replayed and the server restores the original text for the model, so it believes the user saw text the user never saw.

How often

Across 40 of my sessions, 121 of 631 assistant messages that held prose before a tool call were affected:

  • 117 of 508 messages written after a tool result (mid-turn)
  • 6 of 129 first messages after the user's prompt
  • 1 of 242 final replies with no tool call

How to reproduce

  1. Give Claude Code a task in which it writes several short messages, each followed by a tool call. For example, a project skill that says: write line A, run echo one; write a sentence, run echo two; write line B, run echo three; say goodbye.
  2. Run it with claude -p "<prompt>" --output-format stream-json --verbose. This keeps the interactive behaviour. Plain claude -p with text output sends display: "omitted" and rarely shows the problem.
  3. In the stream, look for assistant messages that hold a thinking block whose decoded signature head contains narration and no text block, where the model was told to write text. Over a few runs, some of the expected lines are missing from the text blocks.

What does not fix it

  • Setting CLAUDE_CODE_THINKING_DISPLAY_UPDATES=0: narration still happened in 4 of 5 runs, and the blocks then came back empty, so the text vanished with no summary at all.

Effect

My setup depends on short status lines the model must show word for word: one that says a session has started, and one that says it is safe to walk away. Five of these were lost in a single day in the desktop app. Losing the "safe to power down" line means I cannot tell whether the session finished saving my work. More broadly, any instruction of the form "tell the user X before you do Y" can silently fail, and the model will report that it did tell the user.

I have worked around it with a Claude Code mod that draws those status lines itself when the model calls its tool, so they no longer depend on the model's prose reaching the screen. Ordinary prose before a tool call still goes missing.

What I would like

  • A way to turn this off per session or per request, so prose the model writes is always delivered as text.
  • Or: never apply it to text the model writes immediately before a tool call when that text is short or formatted (such as a single HTML line).
  • At the least, document it, and have the app mark a narration summary as a summary rather than drawing it as if it were the model's reply.

Miguel

AugustoMiguelGamboa avatar Oct 28 '26 03:10 AugustoMiguelGamboa

Same on claude-opus-5-5 (effort xhigh) in the Desktop app's Code tab on macOS: Claude Desktop 4.29.0, Claude Code 2.1.312, thinkingDisplay: "updates". Two details I haven't seen reported here yet.

1. The summary stated a decision the model hadn't made. The model laid out two options, A and B, and asked the user which one to build. That text came back as a narration thinking block. The summary the user saw ended with "I'll implement option A instead", which the model never said: it had asked, not decided. The user was then asked to choose between options that were described only in the hidden prose.

2. The Desktop next-step box makes this more likely. When the box asks the user a question, the model is told to write no text after the mcp__ccd_turn__wrap_up call. So the explanation behind the question has to come before that call, which makes it prose between tool calls, exactly the case this bug affects. In the case above, the response was narration thinking followed by the wrap_up tool call, with no text block. The box then showed "Which should I build?" with buttons "Build A" and "Build A and B", and nothing on screen said what A or B were.

Counts for this one session, by message.id, over responses that contain a tool call: 118 in total. In 20, the prose came back as text. In 37, it came back as narration thinking with a non-empty summary. The rest had no prose.

The model only found out when the user pointed it out. It believed the user had read its explanation.

rasoolsomji avatar Oct 28 '26 10:10 rasoolsomji

Another reproduction, with an effort comparison that points to thinking in the same step as the trigger.

Environment: Claude Code 2.1.312 (agent SDK 0.3.312), Linux, claude-opus-5-5. Driven from kandev v0.98.0 through @agentclientprotocol/[email protected], but the text is already missing from Claude Code's own session .jsonl, so the client isn't involved. Reproduced on two machines.

Probe: in one turn, alternate tool calls (Bash : or a sed -n of a few config lines) with short visible texts. Some texts need no reasoning; others state a small conclusion about what was just read. Then check whether each text appears in the .jsonl as a text block.

Effort Plain texts logged as text Texts after reasoning logged as text Thinking blocks in those steps
high 3/3 0/3: each only a thinking block holding a reworded version yes
low 3/3 3/3 none

Same six probes in the same session, with a session restart between the two runs. A failing step:

thinking  (empty, signed)
tool_use  Bash
thinking  "I noticed the Lint Checks job checks out the repo twice, and the second checkout (without …"   <- the intended visible text, reworded
tool_use  Bash

A working step has thinking, then a text block, then tool_use.

Ruled out (each after a restart): advisorModel, CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1, effort xhigh→high, a third-party plugin.

Impact: an explanation written right before an interactive question disappears, so the user gets the question without its context. Our workaround is to put user-facing text only in a turn's final message.

os-tohe avatar Oct 29 '26 12:10 os-tohe

Same on claude-opus-5-5, effort high, Claude Code CLI 2.1.318 on Windows 11 (terminal): still present in the latest CLI, and not limited to xhigh or the Desktop app.

One long agentic session: 75 replies written between tool calls; 11 came back as narration thinking blocks (187-297 chars) with no text block, the other 64 as text. All 120 end-of-turn replies were intact.

The summary changed who acts. The original reply (about 1,000 chars) gave the user two fenced blocks of sudo commands to run on three Linux hosts. The summary the user saw ended with "...so I'll fix the folder and then the config.sh error", with no commands. The user waited for the agent to do it, while the agent, holding the original in its context, believed the commands had been handed over.

One summary also came back in English, although the conversation and the original reply were in Italian.

did-32 avatar Nov 09 '26 10:11 did-32

As a workaround, you can tell Claude to never follow critical must-read information like links or detailed reports with a tool call.

The key point is this: "Text that is the last thing in a response, with no tool call after it, is always shown in full."

The following is in my global CLAUDE.md and does a reasonable job of avoiding the forced summarization in cases where the agent is trying to surface links or specific information:

## Text the user must read is the last thing in the reply, never followed by a tool call

### The problem
If a response contains text followed by a tool call, the user's screen can show a generated one-line summary in place of that text, such as "I've drafted three alternative versions of paragraph 2…". The original wording is not shown anywhere, collapsed or expanded. You get no sign that this happened: your full text is still in your own context, so you will believe the user read it. Long content is reliably destroyed this way, including citations, quotes, links, code blocks, code comments, lists, drafts and identifiers.

Changing the presentation does not help. Blockquotes, code blocks, tables, lists, HTML, headings, labels such as "Exact quote", "DO NOT SUMMARIZE" framing, and sleeps before or after the text were all tested, and all were summarized.

Text that is the last thing in a response, with no tool call after it, is always shown in full.

### The case that matters most: AskUserQuestion
This happens most often right before AskUserQuestion, because that is when the user most needs to read something verbatim: a citation, a quote, a link, a code block, a list of options, a draft, a proposed wording. If the content and the question are in the same response, the user gets the question card with only a one-line summary above it, and has to answer without the text the question is about.

Whenever you are about to ask a question and the user must see something verbatim to answer it, split it into two separate responses:
1. **First response:** make a Bash call running `sleep 3` with `run_in_background: true`, with no text before it. Then write the verbatim content as the final text of the response, with no tool call after it.
2. **Second response:** when the background sleep's completion notification arrives, call AskUserQuestion immediately, naked, with no text before it.

The user sees the verbatim content, then the question about 3 seconds later, with nothing to do in between. For each further question, repeat both steps.

Never:
- write the content and then call AskUserQuestion in the same response;
- put the content inside the question, its options or a preview instead;
- end the response with the content and ask the user to send a message so you can ask;
- break the content into pieces between tool calls.

The same rule applies whenever the user must read something verbatim in the middle of a task, with or without a question: make it the last thing in a response.

It does add a few seconds of delay to the chain and probably wastes a single turn of tokens, but I prefer that over the wasted turns trying to get Claude to resurface the information destroyed by the summarization step.

jncrenshaw avatar Nov 17 '26 00:11 jncrenshaw

#104117 (mine) was closed as a duplicate of this one. Two points from it that aren't here yet:

  1. The Desktop app expects this. The Code tab's own instructions to the model tell it to write its closing message after the end-of-turn wrap_up call, and to "never write it before this call, where it can reach the user cut to a short summary." So the app knows text before that call can be summarized away. Yet any question or command the model writes before a later tool call is still lost, and nothing on screen says so.
  2. Another case of the summary changing facts: a reply holding four open questions came back as "…and have three open questions for you about …", with none of the questions shown, so there was nothing to answer.

Seen on Windows 11, Claude Desktop 3.1623.0.0 (Claude Code 2.1.304) and 3.6556.2.0. Please show the original text, or at least never summarize away questions addressed to the user or fenced code blocks.

NijikaKita avatar Nov 17 '26 22:11 NijikaKita