Claude Code Bug Reported: Model Fabricates User Messages and System Notifications
hidari · ghdev · 2026-08-10
A developer reported a generation bug in Claude Code on GitHub. Occasionally, after finishing its turn, the model continues to generate and fabricates the next user message, system notification, or tool feedback (e.g., a fake git push completion notice).
These fabricated blocks are then read back as genuine context in the following turn. The reporter clarifies this is not an external prompt injection or security breach, but a generation-termination failure on the model side. Developers can distinguish real from fabricated content by inspecting the local session JSONL file: fabricated text found inside a type: assistant entry is generated by the model, whereas genuine user messages and notifications are separate type: user entries.
More from coding & agent
- Comparing AI Subscriptions: DeepSeek API vs. Claude Pro vs. Local LLMs — Unlikely_Bluejay5392 · 2026-08-24
- Claude Code introduces 'Remote Control' feature to boost coding efficiency — rohanpaul_ai · 2026-08-24
- rauchg lays out fx extension philosophy: MCP, Skills, Plugins and Unix composition — AccBalanced · 2026-08-24
- Netflix details its production LLM judge: hundreds of thousands of recommendations scored weekly — omarsar0 · 2026-08-24
- smolvm passes Simon Willison's Fable 5 agent test as a secure sandbox — yawnxyz · 2026-08-24
- Claude EA Project: Virtual Assistant Integrated with Notion and iMessage — willcb · 2026-08-24