[Bug] Agent modifies code in plan mode

Resolved 💬 3 comments Opened Apr 4, 2026 by moszinet Closed Apr 8, 2026

Bug Description
The agent changed code in plan mode.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.92
  • Feedback ID: 0d91236a-6d71-4c26-92a5-27824b33a731

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/moszi/.local/share/claude/versions/2.1.92 (expected in multi-process scenarios)\n    at im_ (/$bunfs/root/src/entrypoints/cli.js:1884:2153)\n    at An6 (/$bunfs/root/src/entrypoints/cli.js:1884:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T14:32:32.699Z"},{"error":"McpToolCallError: Error calling tool 'retrieve_work_item': Client error '404 Not Found' for url 'https://api.plane.so/api/v1/workspaces/nimbus-online/projects/7ad94fbe-70e4-4b90-bcab-f011d64e0e86/work-items/119/?expand=state'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404\n    at Ov9 (/$bunfs/root/src/entrypoints/cli.js:1566:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T14:32:53.141Z"},{"error":"McpToolCallError: Error calling tool 'retrieve_work_item': Client error '404 Not Found' for url 'https://api.plane.so/api/v1/workspaces/nimbus-online/projects/7ad94fbe-70e4-4b90-bcab-f011d64e0e86/work-items/120/?expand=state'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404\n    at Ov9 (/$bunfs/root/src/entrypoints/cli.js:1566:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T14:32:53.627Z"},{"error":"McpToolCallError: Error calling tool 'retrieve_work_item': Client error '404 Not Found' for url 'https://api.plane.so/api/v1/workspaces/nimbus-online/projects/7ad94fbe-70e4-4b90-bcab-f011d64e0e86/work-items/121/?expand=state'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404\n    at Ov9 (/$bunfs/root/src/entrypoints/cli.js:1566:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T14:32:53.841Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/Users/moszi/Storage/Projects/architecture-principles/laravel'\n    at mKH (/$bunfs/root/src/entrypoints/cli.js:3859:410)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T14:33:32.375Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/Users/moszi/Storage/Projects/architecture-principles/common'\n    at mKH (/$bunfs/root/src/entrypoints/cli.js:3859:410)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T14:33:32.472Z"},{"error":"McpToolCallError: Error calling tool 'retrieve_work_item': Client error '404 Not Found' for url 'https://api.plane.so/api/v1/workspaces/nimbus-online/projects/7ad94fbe-70e4-4b90-bcab-f011d64e0e86/work-items/PHARWATCH-119/?expand=labels%2Cstate'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404\n    at Ov9 (/$bunfs/root/src/entrypoints/cli.js:1566:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T14:34:26.617Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/moszi/Storage/Projects/pharwatch.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4303:7610)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T14:34:26.783Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/moszi/Storage/Projects/pharwatch.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4303:7610)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T15:03:50.087Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/moszi/Storage/Projects/pharwatch.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4303:7610)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T15:07:51.170Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/moszi/Storage/Projects/pharwatch.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4303:7610)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T15:07:51.325Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/Users/moszi/Storage/Projects/architecture-principles'\n    at mKH (/$bunfs/root/src/entrypoints/cli.js:3859:410)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T15:07:54.120Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/moszi/Storage/Projects/pharwatch.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4303:7610)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T15:08:02.331Z"},{"error":"McpToolCallError: Error calling tool 'update_work_item': Client error '400 Bad Request' for url 'https://api.plane.so/api/v1/workspaces/nimbus-online/projects/7ad94fbe-70e4-4b90-bcab-f011d64e0e86/work-items/7f093ed5-f404-4f69-a37f-885fba955561/'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400\n    at Ov9 (/$bunfs/root/src/entrypoints/cli.js:1566:63)\n  …

Note: Content was truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗