anthropics / anthropics/claude-code

[Bug] Subagent closes without user confirmation before exit

Open
#94,375 0 comments 0 reactions 0 assignees View on GitHub
area:agents bug needs-repro platform:macos
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.