Claude Code auto mode blocks routine in-repo edit with no reason, then allows the identical command on retry

junhyeokchoi-prothentia · ghdev · 2026-09-29

A Claude Code user (VS Code extension, auto mode, Windows 11) had the agent run a routine, explicitly requested edit to a tracked file in their own repo — a single Bash command with no network calls, deletions, or git operations. The server-side auto mode classifier denied it with only "judged this action dangerous" and no explanation. When the user asked for a retry, the byte-identical command executed without any prompt. The issue highlights two problems: classifier decisions are non-deterministic, and denials carry no reason, leaving neither the user nor the agent able to tell what triggered the block. The author argues routine working-tree edits should never be flagged and every denial should state its rationale.

Original post →

More from coding & agent

coding & agent channel →