Cursor + Grok on Windows: one broken quote sent rmdir from D:\
真實血淚踩坑:詳細記錄 Windows 環境下 Cursor 代理因引號斷開導致誤刪磁碟根目錄的恐怖事故與分析。
Cursor + Grok on Windows: one broken quote sent rmdir from D:\ On 31 October 2026, Tax360 was being worked on in Cursor with Grok. The task was to deploy the OCR service on Railway. Indexing failed. The agent wrote a delete command on its own, aimed at a pytest cache it could not open. The quote broke, and the path passed to rmdir /s /q became \. From that working directory, \ is D:\. This was not a Cursor version rewriting the path into a drive root. The same command was issued twice,
來源:r/cursor
閱讀原文 ↗