anthropics / anthropics/claude-code
[Bug] Subagent closes without user confirmation before exit
- Dominant language
- Python
- Stars
- 145k
- Forks
- 23.1k
- PR merge metrics
- PR metrics pending
Description
**Bug Description**
I'm pretty sure the subagent was interacting with me and confirmed with me before closing, the parent agent got very confused about this and thought that the subagent had gone rogue.
**Environment Info**
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.251
- Feedback ID: a2c060e5-cbb6-4572-9477-7b0fcd0a3386
**Errors**
```json
[]
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the subagent exit on darwin using iTerm.app, then trace the subagent lifecycle and its interaction with the parent agent. Done means the subagent does not close before user confirmation and the parent agent receives an accurate exit state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100