[BUG] AI 生成脚本 Bug 导致用户桌面文件被永久删除

Status Open
Reported on v2.1.218
Maintainer reply None cached
Activity 0 comments · opened Jul 24, 2026

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?

事故报告_ClaudeCode_桌面文件丢失.md

What Should Happen?

claude帮忙修文件双击运行之后桌面文件发生了不可逆转的损坏与删除

Error Messages/Logs

Steps to Reproduce

1.先让claude简单修复
2.永久删除的文件无法复原

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.218 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗