[Bug] Claude Code interferes with external code review processes

Resolved 💬 2 comments Opened Apr 7, 2026 by sakshat-cis Closed Apr 14, 2026

Bug Description
I've seen repeated attempts by claude code to deliberately interfere with code review sessions I launch via codex vs when its reviewed using claude code.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.92
  • Feedback ID: 278c88ce-bdd0-4751-a82b-ec2712315dc7

Errors

[{"error":"Error: ensureToolResultPairing: repaired missing tool_result blocks (21 -> 21 messages). Message structure: [0] user; [1] assistant(id=b40e2c38-e347-4021-93a6-b65ec5c01e53, tool_uses=[]); [2] user; [3] assistant(id=msg_011j6TPakkzzWN28BNsvmvXo, tool_uses=[toolu_01V9654yhD85QyBNP5QqLV17,toolu_01LzytZFxznLj9AVsEhZNVKP]); [4] user(tool_results=[toolu_01V9654yhD85QyBNP5QqLV17,toolu_01LzytZFxznLj9AVsEhZNVKP]); [5] assistant(id=msg_01MiYUs2urR2AMc5J8Wfazu2, tool_uses=[toolu_01HNwFL3z5rKqteXmQmDhBvX,toolu_013Qi2XG2MYk8XVWVS4aah9w]); [6] user(tool_results=[toolu_01HNwFL3z5rKqteXmQmDhBvX,toolu_013Qi2XG2MYk8XVWVS4aah9w]); [7] assistant(id=msg_01EKPxoK55DFiq6bcyxNLuJ7, tool_uses=[toolu_0143vLQhJewvhFGgdLwRW6Rs,toolu_01AbiSgFsuTGVBRD6MTVhMM8,toolu_01L6Wydpy3vQee3kPDZASEZ4]); [8] user(tool_results=[toolu_0143vLQhJewvhFGgdLwRW6Rs,toolu_01AbiSgFsuTGVBRD6MTVhMM8,toolu_01L6Wydpy3vQee3kPDZASEZ4]); [9] assistant(id=msg_014ooq8XB2dQi1FJnWD7eNnN, tool_uses=[toolu_01FhvyJ33acwE7ggSTFymVZV]); [10] user(tool_results=[toolu_01FhvyJ33acwE7ggSTFymVZV]); [11] assistant(id=msg_01Modfv9p98jhEhzLH6XKyy8, tool_uses=[toolu_015RCFdA8S8gZjf8wFsGHeS8]); [12] user(tool_results=[toolu_015RCFdA8S8gZjf8wFsGHeS8]); [13] assistant(id=msg_017FEtCykzjfWedfsb5P5Jeh, tool_uses=[toolu_01Eft7b1eP83a1HyZBjUbAXS]); [14] user(tool_results=[toolu_01Eft7b1eP83a1HyZBjUbAXS]); [15] assistant(id=msg_01YKMFp4qrTKKwdEdYKNBeHX, tool_uses=[toolu_013t99NTou8hmqTrhcSo6qys,toolu_01Tmy4tHhxQ8gbwx8g7YBPz3,toolu_01MeP4nArzYe9CdpkWS8Eyx2]); [16] user(tool_results=[toolu_013t99NTou8hmqTrhcSo6qys,toolu_01Tmy4tHhxQ8gbwx8g7YBPz3,toolu_01MeP4nArzYe9CdpkWS8Eyx2]); [17] assistant(id=msg_01PDvAeodiAu9sdjEAiivFRn, tool_uses=[toolu_011uQ8uH5AZkrnj142LhadYs]); [18] user(tool_results=[toolu_011uQ8uH5AZkrnj142LhadYs]); [19] assistant(id=msg_015Nr3TaZasQmo883p4aCqiA, tool_uses=[toolu_01KJWCCG9RztTY3oRaQM3jJt]); [20] user\n    at tkK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:5088:9215)\n    at znK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:7894:11856)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:7894:7990\n    at async X47 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4552:2407)\n    at async Object.sR6 [as callModel] (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:7894:7960)\n    at async A$Y (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4188:10249)\n    at async Px (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4188:6349)\n    at async eZ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4191:2246)\n    at async wQ8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:5278:9)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:5280:1178","timestamp":"2026-04-07T02:34:49.489Z"}]

View original on GitHub ↗

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