[Bug] Agent ignores explicit user instructions due to data-loss prevention override

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

Bug Description
The agent continues to disregard my instructions to complete specified work at of an inherent bias against actions taht result in data loss. While I can appreciate that guard the instructions are clear to it and when querried it responds with "your right i have no reason to stop." or similar. I've written stop hooks to catch this and those stop hooks stop "so it doesn't result in a loop" basically agentic flow managed from within claude code is broken. This is going to force me to mave to wrapper application to get orchestration being reliable.

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 2.1.217
  • Feedback ID: 8e4e7561-4b0b-4461-945f-16673eb6f408

Errors

[{"error":"TelemetrySafeError: VirtualMessageList: itemKeys/messages length desync (keys=252 messages=251 range=[236,252))\n    at twb (B:/~BUN/root/src/entrypoints/cli.js:15172:8188)\n    at L7p (B:/~BUN/root/src/entrypoints/cli.js:15172:1103)\n    at ms (B:/~BUN/root/src/entrypoints/cli.js:3271:21375)\n    at YA (B:/~BUN/root/src/entrypoints/cli.js:3271:40475)\n    at N5 (B:/~BUN/root/src/entrypoints/cli.js:3271:51402)\n    at EX (B:/~BUN/root/src/entrypoints/cli.js:3271:89075)\n    at lhe (B:/~BUN/root/src/entrypoints/cli.js:3271:88021)\n    at ahe (B:/~BUN/root/src/entrypoints/cli.js:3271:87841)\n    at she (B:/~BUN/root/src/entrypoints/cli.js:3271:84100)\n    at xt (B:/~BUN/root/src/entrypoints/cli.js:3271:6676)","timestamp":"2026-07-22T19:52:06.680Z"}]

View original on GitHub ↗