[BUG]Critical blocker (Max plan) — Claude Code shell bootstrap fails with ENOSPC

Resolved 💬 8 comments Opened Feb 24, 2026 by enginanywhere Closed Apr 21, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

I’m escalating this as a critical service blocker.

Issue:

  • Bash cannot initialize at all in Claude Code.
  • Failure happens before command execution when creating /sessions/.../tmp/claude-XXXX.
  • Behavior is ENOSPC (disk/inode exhaustion), so no shell command is possible.

Impact:

  • Complete development outage in Claude Code (echo hi, git, npm, tests all blocked).
  • /doctor is not executable in this state because shell bootstrap fails first.

Request:
1) Immediate hard reset/reprovision of the affected workspace VM (not session restart)
2) Reset/verify both disk capacity and inode state
3) Confirmation when completed + incident/root-cause note if reproducible

This is currently unusable for active work on a paid Max plan. Please prioritize and provide ETA.

What Should Happen?

Claude Code should initialize the shell successfully and run basic commands (e.g., echo hi) on every invocation.
If temp directory creation under /sessions/.../tmp fails, the platform should auto-recover (cleanup/recreate/fallback) instead of hard-failing all shell access.

Error Messages/Logs

Steps to Reproduce

  1. Open Claude Code in the affected workspace/session.
  2. Run a minimal shell command, e.g. echo hi.
  3. Observe shell initialization fails before command execution.
  4. Error path shows temp dir bootstrap under /sessions/.../tmp/claude-XXXX failing with ENOSPC behavior.
  5. Retry any command (pwd, git status, npm -v) and observe same failure every time.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Claude 1.1.4088 (7e63fd) 2026-02-23T21:25:53.000Z

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

  • Severity: Critical blocker (paid Max plan), complete dev outage in Claude Code.
  • Scope: All shell-dependent workflows fail (echo, pwd, git, npm, tests).
  • Failure point: Shell bootstrap, before command execution.
  • Observed path: /sessions/.../tmp/claude-XXXX
  • Symptom: ENOSPC-like failure (disk or inode exhaustion).
  • Important: /doctor is not actionable because shell never starts.
  • Workspace-level cleanup targets are not present (no large node_modules/.next/.cache/dist/build in session root).
  • Reproduces across retries/session restarts in same affected environment.
  • Requested action: Hard reset/reprovision of workspace VM (not just restart), including disk + inode state reset/verification.

View original on GitHub ↗

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