[Bug] Usage policy violation triggered incorrectly after message retry

Resolved 💬 2 comments Opened May 23, 2026 by whynot666-max Closed May 23, 2026

Bug Description
its saying im violating my usage policy even if the message never did, and resending it via double esc makes that message suddenly violate policies and new messages also violate policies

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.149
  • Feedback ID: ae7ba740-2bad-4d65-b283-30cfca9db16e

Errors

[API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy (https://www.anthropic.com/legal/aup). Please double press esc to edit your last message or
     start a new session for Claude Code to assist with a different task.

     Request ID: req_011CbJryquA9VBULcncHPXiq]

View original on GitHub ↗

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