Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.274 ·

Startup now fails gracefully with a structured result when cwd is unavailable

Claude Code now exits with a structured JSON error, not just a printed message, when its working directory is unavailable at startup

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaStartupwhat it touches
KindImprovementsin v2.1.274,
Under the hood

Claude Code now exits with a structured JSON error, not just a printed message, when its working directory is unavailable at startup

What

If Claude Code starts up and finds that its current working directory is missing or unreadable, it now produces a structured result with the reason cwd_unavailable before exiting, instead of just printing an error message. This puts it in line with other startup failure reasons like temp_dir_unusable (temporary directory can't be used) and shell_tool_missing (required shell tool not found).

Why

A structured, machine-readable failure result makes it easier for scripts, integrations, or tools that launch Claude Code to detect exactly why startup failed and react accordingly, rather than having to parse free-form error text.

See this entry in the whole of v2.1.274 →