[BUG] Team lead not getting notified when getting messages in the inbox
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 I create an agent team with a lead and a few members in a new session, they work fine. However, when I resume the same session and ask to spawn the members from the same team name again without deleting the folder in /teams, the spawning works fine but whenever member tries to notify lead by sending a message, lead does not know. So the lead is just hanging, waiting for the responses from the members indefinitely. The "read" property in the team lead inbox doesn't get updated to true either, in the resumed sessions.
I'm using teammate mode tmux in iterm2.
What Should Happen?
Lead should be notified as soon as the members send messages to the lead's inbox. The "read" property in the team lead inbox should be updated to true as well.
Error Messages/Logs
Steps to Reproduce
- Create a new session.
- Ask to create a team.
- Shutdown the session.
- Resume the session.
- Ask to spawn the members again with the same team name without removing any folder from .claude/teams.
- Ask lead to assign any tasks to members.
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.71
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗