[BUG] Agent View: Name not always updating
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When creating agents in the agents view particularly using /goal the agent session name doesn’t update or it uses the first message and remains unchanged.
It only updates when ready for review or completed.
What Should Happen?
When an agent is created, the name should update within a few seconds of work beginning so that users can remember which session is for what.
This should also ideally show on the status line bar.
Error Messages/Logs
Steps to Reproduce
Use /goal and ask agent to do something - it just shows /goal with the text of the message
This can also happen for other tasks without goal.
The only time the name gets updated is once completed or ready for review, this is annoying when spinning multiple at the same time and trying to figure out what they are doing.
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.185
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
<img width="274" height="109" alt="Image" src="https://github.com/user-attachments/assets/ba9177df-4621-479c-a5cb-72e9df81fc82" />