Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.274 ·

Structured startup-refusal reasons for host integrations

New structured reason codes let a host app tell why Claude Code refused to start

Use it now New Features
JSON All of v2.1.274
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Host IntegrationsArea: what it touches
New FeaturesKind: in v2.1.274,
What probably matters to youSection of the release
What

Claude Code can now report a specific, structured reason when it refuses to start, instead of just failing silently or with a generic message. This is meant for a host application (like an IDE extension or desktop wrapper) that embeds Claude Code, so it can react to the specific cause rather than just retrying blindly. New reason values include:

  • worktree_resume_refused and worktree_unverified (problems resuming a git worktree, an isolated working copy of a repo)
  • session_held_by_background (another process is using the session)
  • bypass_root (a root-related safety check)
  • shell_tool_missing, tied to the CLAUDE_CODE_USE_POWERSHELL_TOOL setting
  • cli_version_too_old
  • gateway_signin_required and gateway_access_denied
  • org_pin_api_key_conflict, org_verify_failed, org_pin_mismatch
  • managed_settings_invalid and remote_settings_required_unavailable
  • proxy_invalid
  • temp_dir_unusable and cwd_unavailable
Why

Giving each startup failure a distinct machine-readable reason lets host applications show the right message or take the right corrective action automatically, rather than treating every startup refusal the same way.

See this entry in the whole of v2.1.274 →

Feedback