anthropics / anthropics/claude-code

[Bug] Anthropic API Error: Unexpected session termination on PHI-related code

Open
#92,963 0 comments 0 reactions 0 assignees View on GitHub
area:model bug platform:windows
Dominant language
Python
Stars
145k
Forks
23.1k
PR merge metrics
PR metrics pending

Description

**Bug Description**
I was flagged because I am working on code that deals with patient data, and I was dropped from 5.1 without een asking or prompting any concerns about security, or where the conversation was going. This is incredibly frustrating. Our entire codebase depends on the context of handling PHI- that is the business of health tech.

**Environment Info**
- Platform: win32
- Terminal: windows-terminal
- Version: 2.1.265
- Feedback ID: 5f3626c3-450e-43b2-af5f-33f82a1f3944

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start from the reported environment: Claude Code 2.1.265 on win32 in windows-terminal, and use the Feedback ID 5f3626c3-450e-43b2-af5f-33f82a1f3944 to inspect any available logs. The issue does not name code entry points or tests, so first determine whether the termination is reproducible with PHI-related code context. Done means the session no longer drops unexpectedly, or the user receives a clear handled response instead of abrupt termination.

Written by the indexing model from the issue text.

Assessment

Domain
ai-infra-agents, cli, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.