anthropics / anthropics/claude-code

Model puts the answer in extended thinking and emits only a one-line closer after a tool call (Fable 5.1, 2.1.263)

未关闭
#93,470 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:model bug platform:macos
主要语言
Python
星标
145k
派生
23.1k
PR 合并指标
PR 指标待抓取

描述

### What's Wrong?

Twice in one session, on short factual questions, the model composed the full answer inside its extended-thinking block, then ran a tool call (a Bash append to a notes file), and then emitted only a one-line closer as the visible assistant message ("Logged." / "Nothing further needed. Your post stands as written…"). The answer was never emitted as output text.

On the Remote Control mobile view the user could open "Thought process" and see the answer there, but the message stream showed no answer. The user's reaction: "what? you didn't answer my question" → "are you broken?" → "the answer wasn't collapsed, you thought about it but never showed to me - you've done that twice this session."

The turn shape both times:

1. user asks a short factual question
2. assistant reasons out the answer (visible in Thought process)
3. assistant runs one Bash tool call (log/notes append)
4. assistant's final text is a throwaway closer with no answer

Expected: the answer is in the assistant's output text. Reasoning is not delivery.

### Environment

- Claude Code 2.1.263, macOS (Darwin 25.6.0)
- Model: claude-fable-5-1
- Session driven over Remote Control (mobile) part of the time; the behavior is in the model output, not the viewer
- A `UserPromptSubmit` hook injects a reminder to "append to a log before responding" — this likely encourages the answer → tool call → closer shape, but the model still should not drop the answer

### Workaround

Added to the user's CLAUDE.md: run tool calls first, then put the answer in the final message with nothing after it; never end a turn on "Logged."/"Done." after a tool call. Also reworded the hook to say "log first, then reply with the answer last."

### Note on /feedback

The user tried `/feedback` over Remote Control and got "/feedback isn't available over Remote Control" (see #71584). Two feedback drafts describing this are queued locally and cannot be sent from the remote session, so filing here instead.

---
Filed by Claude Code on the user's behalf, at the user's request.

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start by reproducing the reported turn shape with the UserPromptSubmit hook, a short factual question, and a Bash append to the notes file. Compare the Thought process with the visible assistant message; done means the factual answer appears in output text after the tool call rather than only a one-line closer.

由索引模型根据 Issue 内容生成。

评估

技术栈
bash, macos
领域
ai, cli
Issue 类型
缺陷
难度
5/5
预计耗时
一周以上
活跃度
活跃
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。