
What happened
Claude Code and Codex CLI break silently in 40 reproducible places on Windows, including exit codes returning 1 instead of 2, Japanese text becoming "?", and hooks that let writes through.
Why it matters
Because most failures show no error, teams running unattended jobs via claude -p or Task Scheduler may only notice the wrong results, not the breakage.
Summaries like this, every morning.
By signing up you agree to the Terms of Service and Privacy Policy.
The catalogue groups most of the 40 cases into four patterns. Exit codes arrive as the wrong number: powershell -Command turns a script's exit 2 into 1, and Claude Code reads 2 as "stop" while treating 1 or 127 as "continue." The default text encoding differs by location: Windows PowerShell 5.1 converts piped text to ASCII, reads external output as cp932 on Japanese Windows, and reads BOM-less .ps1 files the same way. Path spelling shifts meaning between Git Bash, the Bash tool and Windows itself. And safety devices fail open: hooks that time out or cannot start let Claude Code proceed by default unless onFailure: block is set.
The practical consequence is invisibility. Most of the cases surface no error, or an error worded differently from the real cause. They are easy to miss when working interactively and show up mainly when claude -p or Task Scheduler runs unattended, where only the results drift. The one-line doctor script is aimed at narrowing that gap: the author says results were reproduced on the author's own PC, and asks readers to report cases not on the list, or ones that no longer occur after a version update.
Pick your industry and the AI tools you use, and get news related to your work every day.
By signing up you agree to the Terms of Service and Privacy Policy.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
At AWS re:Invent 2026, AWS announced Project C2, where an AI agent writes Lean proofs of what code should do…

A Claude Code-written piece said unmanned-agent article drafts kept failing for "nearly a week"; lining up the…

The developer says coding is handed to worker AI agents, while the human moves cards on the kanban and answers…

Across 10 apps built with Claude Code (Sonnet 5.5), adding a single security instruction changed nothing in th…

A practitioner describes using Claude, Codex, Kiro and several other AI tools side by side, choosing which too…

A developer switched from one session handling sites in sequence to one Claude Code subagent per site from Oct…
