[Bug] Claude executing unintended actions despite explicit user instructions

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

Bug Description
really bad. Claude is just 'doing stuff' even if it's not what i asked. I've wasted $30 on credits today.

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 2.1.92
  • Feedback ID: 511f545f-093d-4409-b95e-9db4d67d7022

Errors

[{"error":"Error: ensureToolResultPairing: repaired missing tool_result blocks (39 -> 39 messages). Message structure: [0] user; [1] assistant(id=msg_01M5BxC6bBHcpDkm7y1Tf7vX, tool_uses=[toolu_0175ePtqKDuT9wVeVaaPQydb]); [2] user(tool_results=[toolu_0175ePtqKDuT9wVeVaaPQydb]); [3] assistant(id=msg_014K7oHmZy9VrYhfBuRtzbZB, tool_uses=[]); [4] user; [5] assistant(id=msg_01EBTWdCerjUjY3vMGfGArhV, tool_uses=[toolu_01VzFrxu2mpT7wsyxsci7qRy,toolu_01EwtFT32vfaG6EEvvNMXLAk]); [6] user(tool_results=[toolu_01VzFrxu2mpT7wsyxsci7qRy,toolu_01EwtFT32vfaG6EEvvNMXLAk]); [7] assistant(id=msg_01TX2hPSfsK2zeYvSWy3zRA2, tool_uses=[toolu_017SgxnxwtLhWZMKaScBLjGh,toolu_01Et92teTcY19keSydCcCAGL,toolu_01EreDj85ALnCfrrWgQ5mWtw]); [8] user(tool_results=[toolu_017SgxnxwtLhWZMKaScBLjGh,toolu_01Et92teTcY19keSydCcCAGL,toolu_01EreDj85ALnCfrrWgQ5mWtw]); [9] assistant(id=msg_01XhqzX2K16nXnMP5t4g1u8D, tool_uses=[toolu_015rg1Jy2jwzM9zY5sMF4iFu,toolu_01XSnDNqN9dVKN2Nhgg3Sdhs]); [10] user(tool_results=[toolu_015rg1Jy2jwzM9zY5sMF4iFu,toolu_01XSnDNqN9dVKN2Nhgg3Sdhs]); [11] assistant(id=msg_01Q341MtPDPjtSiuWSfQDydT, tool_uses=[]); [12] user; [13] assistant(id=msg_01JPEPuqQtgoCdg8A4FRd1gK, tool_uses=[toolu_018QKj4Kc7yDevxuXrYorWV1]); [14] user(tool_results=[toolu_018QKj4Kc7yDevxuXrYorWV1]); [15] assistant(id=msg_013e17sRD1BHyZtyiRgjfeqT, tool_uses=[toolu_012GJgKSEzGtPR8TMkSZMN4Y,toolu_01YTtwkarBnXwRLowr3L7EWg]); [16] user(tool_results=[toolu_012GJgKSEzGtPR8TMkSZMN4Y,toolu_01YTtwkarBnXwRLowr3L7EWg]); [17] assistant(id=msg_01UwVQrp1oXZKBvvciSKHaR5, tool_uses=[]); [18] user; [19] assistant(id=msg_01TQbYzcPGadoFLNh2nm8f5L, tool_uses=[toolu_01Ba7a4Z5QBGQ2HhCCYK3hEC]); [20] user(tool_results=[toolu_01Ba7a4Z5QBGQ2HhCCYK3hEC]); [21] assistant(id=msg_01Ffem9mJ8xK7PGk2dd18LUd, tool_uses=[toolu_01Syb3xuW8TH84mCzv2YLYoR]); [22] user(tool_results=[toolu_01Syb3xuW8TH84mCzv2YLYoR]); [23] assistant(id=msg_01WM4doiebf27UBSQDm6wZvw, tool_uses=[toolu_01XuqXcdhvfBngjJqzkaxHue]); [24] user(tool_results=[toolu_01XuqXcdhvfBngjJqzkaxHue]); [25] assistant(id=msg_01B5pUQidEARYBJE38mUKRLb, tool_uses=[toolu_01Mkeb8UrditGoLmXTBbujEY]); [26] user(tool_results=[toolu_01Mkeb8UrditGoLmXTBbujEY]); [27] assistant(id=msg_01BQU8hM6mp49ZftqR2RBvL1, tool_uses=[toolu_01EyshRc9A1Gu6Xqxt3n54Sp,toolu_01DWN1maEmRXpEekCuv4E9C5]); [28] user(tool_results=[toolu_01EyshRc9A1Gu6Xqxt3n54Sp,toolu_01DWN1maEmRXpEekCuv4E9C5]); [29] assistant(id=msg_01CSTeUP56Q5stsMqYmfZYND, tool_uses=[toolu_01D4xcv7MjtFBwv5XcKG1JBC,toolu_019rLHgJTJ2kMnRjULBFEskM]); [30] user(tool_results=[toolu_01D4xcv7MjtFBwv5XcKG1JBC,toolu_019rLHgJTJ2kMnRjULBFEskM]); [31] assistant(id=msg_01LUbzmG1w8Nf58mXVwr7Swe, tool_uses=[toolu_015nhKkPbHtxRdXrs5uwu7GR,toolu_01SrQGBB9p4y4FmKSAwHPuiF]); [32] user(tool_results=[toolu_015nhKkPbHtxRdXrs5uwu7GR,toolu_01SrQGBB9p4y4FmKSAwHPuiF]); [33] assistant(id=msg_014SKmSm78U47bYhKLnfT81Z, tool_uses=[toolu_01TLjCyxKb8Qc9z6yPuJA9do]); [34] user(tool_results=[toolu_01TLjCyxKb8Qc9z6yPuJA9do]); [35] assistant(id=msg_017WGMmEBADnHAAEKPop8Poo, tool_uses=[]); [36] user; [37] assistant(id=msg_01JDStEWnjud2GF3GyEPcawC, tool_uses=[toolu_01D5hKaHco9T8VnAwwg2djbb,toolu_01QRrpwnok1FJxNrLh26MsJy]); [38] user(tool_results=[toolu_01QRrpwnok1FJxNrLh26MsJy])\n    at G3_ (B:/~BUN/root/src/entrypoints/cli.js:4881:9357)\n    at LI_ (B:/~BUN/root/src/entrypoints/cli.js:7682:11848)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T15:19:37.001Z"},{"error":"MaxFileReadTokenExceededError: File content (15095 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at T5_ (B:/~BUN/root/src/entrypoints/cli.js:4345:13363)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T15:19:57.004Z"},{"error":"Error: ensureToolResultPairing: repaired missing tool_result blocks (107 -> 107 messages). Message structure: [0] user; [1] assistant(id=msg_01M5BxC6bBHcpDkm7y1Tf7vX, tool_uses=[toolu_0175ePtqKDuT9wVeVaaPQydb]); [2] user(tool_results=[toolu_0175ePtqKDuT9wVeVaaPQydb]); [3] assistant(id=msg_014K7oHmZy9VrYhfBuRtzbZB, tool_uses=[]); [4] user; [5] assistant(id=msg_01EBTWdCerjUjY3vMGfGArhV, tool_uses=[toolu_01VzFrxu2mpT7wsyxsci7qRy,toolu_01EwtFT32vfaG6EEvvNMXLAk]); [6] user(tool_results=[toolu_01VzFrxu2mpT7wsyxsci7qRy,toolu_01EwtFT32vfaG6EEvvNMXLAk]); [7] assistant(id=msg_01TX2hPSfsK2zeYvSWy3zRA2, tool_uses=[toolu_017SgxnxwtLhWZMKaScBLjGh,toolu_01Et92teTcY19keSydCcCAGL,toolu_01EreDj85ALnCfrrWgQ5mWtw]); [8] user(tool_results=[toolu_017SgxnxwtLhWZMKaScBLjGh,toolu_01Et92teTcY19keSydCcCAGL,toolu_01EreDj85ALnCfrrWgQ5mWtw]); [9] assistant(id=msg_01XhqzX2K16nXnMP5t4g1u8D, tool_uses=[toolu_015rg1Jy2jwzM9zY5sMF4iFu,toolu_01XSnDNqN9dVKN2Nhgg3Sdhs]); [10] user(tool_results=[toolu_015rg1Jy2jwzM9zY5sMF4iFu,toolu_01XSnDNqN9dVKN2Nhgg3Sdhs]); [11] assistant(id=msg_01Q341MtPDPjtSiuWSfQDydT, tool_uses=[]); [12] user; [13] assistant(id=msg_01JPEPuqQtgoCdg8A4FRd1gK, tool_uses=[toolu_018QKj4Kc7yDevxuXrYorWV1]); [14] user(tool_results=[toolu_018QKj4Kc7yDevxuXrYorWV1]); [15] assistant(id=msg_013e17sRD1BHyZtyiRgjfeqT, tool_uses=[toolu_012GJgKSEzGtPR8TMkSZMN4Y,toolu_01YTtwkarBnXwRLowr3L…

Note: Content was truncated.

View original on GitHub ↗

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