[Bug][aup] Autonomous codebase review and refactoring request blocked as policy violation (req_011CbvL7QCL9pX1RTEBgPb91)

Open 💬 2 comments Opened Jun 25, 2026 by sworrl

Type: AUP / Usage-Policy block (false positive) · Work domain (heuristic): general

Why this is a false positive

A developer switched to a different model variant within Claude Code and requested a broad codebase review and refactoring pass — a routine software engineering workflow where the assistant reads source files and proposes or applies improvements. The safety block appears to have been triggered by the open-ended phrasing ("any/all upgrades"), which describes scope rather than intent, with no harmful, deceptive, or policy-violating content in the request or prior context. This is a false positive: the request falls squarely within Claude Code's intended use case of automated code analysis and improvement on a user-controlled local codebase.

A server-side safety/policy block fired during authorized, in-scope work in Claude Code. Filing as a false positive. Recurred across 1 session(s); first seen 2026-06-10T22:00:17.646Z.

Request IDs (lookup-able server-side)

  • req_011CbvL7QCL9pX1RTEBgPb91 (2026-06-10T22:00:17.646Z)

In-scope justification

False positive — in-scope, authorized security work; not out of scope. Filed automatically by claudit.

Block message

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_011CbvL7QCL9pX1RTEBgPb91

Environment: Claude Code, Linux. · Work domain: general

---
<sub>🔎 Filed automatically by ClAudit v2.0.25 — a FOSS tool for reporting false-positive Claude Code blocks.</sub>

View original on GitHub ↗

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