anthropics / anthropics/claude-code

[Bug] Goal fork creates infinite loop in active session

Open
#94,540 0 comments 0 reactions 0 assignees View on GitHub
area:agents bug platform:macos
Dominant language
Python
Stars
145k
Forks
23.1k
PR merge metrics
PR metrics pending

Description

**Bug Description**
looks like when forking an active goal session it messes up the fork. its stuck on a loop

**Environment Info**
- Platform: darwin
- Terminal: xterm-256color
- Version: 2.1.272
- Feedback ID: 4d168053-80e8-4924-9da6-6968b584d688

**Errors**
```json
[]
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in Claude Code 2.1.272 on darwin with an active goal session, then fork that session and observe the loop. Use feedback ID 4d168053-80e8-4924-9da6-6968b584d688 while tracing the fork flow; done means the fork completes without becoming stuck in an infinite loop.

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.