[BUG] (minor) List output suddenly often misses Line breaks
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other:
- Claude CLI version: 0.2.126 (Claude Code)
- Operating System: macOS 15.5
- Terminal: vsCode 1.100.2 Terminal, zsh 5.9
Bug Description
When outputting lists of what it did, claude suddenly does seem to randomly forget new line characters. It sometimes uses them and misses only one or two, sometimes it misses them all
Steps to Reproduce
unsure, it keeps deciding to create those lists itself at some point. Maybe a matter of fixing the system prompt that suggests these list.
Expected Behavior
Proper lists with new lines ;-)
Actual Behavior
Example:
✅ Arguments support - <$ARGUMENTS> for discussion starter✅
Tone-focused - emphasizes conversational but technical
approach✅ Practical outcomes - suggests potential amendments
to docs/requirements✅ Context-aware -
balances technical debt vs delivery needs
This problem is happening Multiple times in every edit i make with Copilot Clause 4 Sonnet in VScode on agent mode.
Which causes respones like:
- It seems there was an issue with the string replacement. Let me check the exact content around this area first:
- I can see there's a missing newline after the ------- line. Let me fix this:
- It seems the file may have gotten corrupted. Let me check the current content more carefully:
- I can see the issue - there's a missing newline after the -------- line. Let me fix this more carefully by fixing the broken line first:
- I can see the issue - the replacement created a malformed line. Let me fix this by replacing the entire problematic section:
- There's still a missing newline after the -------- line. Let me fix that:
- I can see there's some extra indentation in the ---------- line. Let me fix that:
- I can see the issue again - there's a missing newline after the -------- line. Let me fix this:
- It seems there are multiple line break issues. Let me fix this more comprehensively by replacing the entire problematic section:
- I can see the issue - there's still a missing newline in the file. Let me view the exact problematic section and fix it properly:
- I can see the exact issue. There's a missing newline after ------- Let me fix this specific line: ( THIS IS FROM A SINGLE PROMPT ⚠️ )
If this is not the right place to post this, please point in the right direction.
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.