[BUG] process exited with code 1
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Error: Claude Code process exited with code 1
I know there are many reports about this bug, but I want to share the issue I discovered!
What Should Happen?
When I define CLAUDE.md in my project and include content in the format of "half-width space + @ + alphanumeric characters," I get the error: Error: Claude Code process exited with code 1!
<img width="889" height="289" alt="Image" src="https://github.com/user-attachments/assets/e8088c1f-64ed-4e37-9a2c-09f606f34b6c" />
If I simply add an escape character \ before the @ symbols, ClaudeCode extension can automatically read the contents of CLAUDE.md on startup. It's a very weird bug!
<img width="818" height="267" alt="Image" src="https://github.com/user-attachments/assets/d394633c-9a2c-4008-888b-616b4103227f" />
Error Messages/Logs
2025-10-05 02:27:29.448 [info] Received message from webview: {"type":"io_message","channelId":"yjqkqdzt8r","message":{"type":"user","session_id":"","parent_tool_use_id":null,"message":{"role":"user","content":[{"type":"text","text":"1"}]}},"done":false}
2025-10-05 02:27:29.470 [info] Closing Claude on channel: yjqkqdzt8r
2025-10-05 02:27:29.470 [error] Error from Claude (on channel yjqkqdzt8r): Error: Claude Code process exited with code 1
Steps to Reproduce
- Add a CLAUDE.md file and include the text "- @abcdefg"
- Restart VSCode and try entering content in the chat box
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude Code for VS Code v2.0.5
Platform
Other
Operating System
Windows
Terminal/Shell
Other
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗