[BUG] It auto interrups when doing any task

Resolved 💬 14 comments Opened Mar 19, 2026 by FaizanZahid 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?

Claude Code is automatically interrupting itself during execution without any user interaction (no Escape press). Tool calls get cancelled mid-task, breaking
the workflow.

Environment

  • Claude Code version: 2.1.79
  • OS: macOS (Darwin 24.2.0)
  • Shell: zsh
  • Model: Opus 4.6 (1M context)
  • Install method: npm (@anthropic-ai/claude-code)

Steps to Reproduce

  1. Start a Claude Code session
  2. Give a task that requires multiple tool calls (e.g., reading files, editing code)
  3. Claude begins executing but stops mid-task with an interruption, as if Escape was pressed

Expected Behavior

Claude should complete all tool calls and finish the task without interruption.

Actual Behavior

Claude auto-interrupts itself during tool execution. No Escape key was pressed. The interruption appears unprompted.

Workarounds Attempted

  • /clear — temporary fix, issue recurs
  • /compact — no effect
  • Updating to latest version (2.1.79) — no effect

Additional Context

  • Context window was not full at the time of interruption
  • Issue occurs across multiple sessions
  • No MCP servers configured that could be adding overhead.

More details:

Environment

Claude Code version: v2.1.79
OS: macOS Tahoe 26.3.1 (MacBook Pro)
Node.js version: (run node --version and fill in)
Plan: Claude Max
Model: Opus 4.6 (1M context)

Description
Claude Code automatically interrupts itself after a few seconds of processing, showing "Interrupted · What should Claude do instead?" even though I did not press any key, type anything, or interact with the terminal in any way.
This happens consistently across:

Multiple fresh sessions (/clear)
Different effort levels (auto, high, max)
Different repositories (tested on 2 separate projects)
Different networks (WiFi, mobile hotspot)
After full laptop restart
With voice mode both enabled and disabled
Simple and complex prompts

Steps to Reproduce

Open terminal, run claude
Type /clear
Type any prompt (e.g., "Read CLAUDE.md and tell me the char count")
Remove hands from keyboard completely — do not touch any keys
Wait 5-30 seconds while Claude Code is processing (showing spinner)
Claude Code shows: ⎿ Interrupted · What should Claude do instead?

No user input was provided. The interruption is automatic.
Expected Behavior
Claude Code should continue processing until the task is complete, then show the ❯ prompt for new input.
Actual Behavior
Processing is interrupted mid-task with "Interrupted · What should Claude do instead?" despite zero user input. This makes Claude Code unusable — no task can complete because it gets interrupted before finishing.
Example Session Log
❯ Claude code is automatically interrupting itself. Can you check why?
⏺ Let me check your Claude Code settings and configuration.
Searched for 2 patterns, read 3 files (ctrl+o to expand)
⏺ You have several plugins installed with hooks. Let me check if any of them might be causing the interruptions.
Read 5 files (ctrl+o to expand)
⎿ Interrupted · What should Claude do instead?
Second attempt immediately after:
❯ Claude code is automatically interrupting itself. Can you check why?
⎿ Interrupted · What should Claude do instead?
The second attempt interrupted before Claude Code even started processing.
Troubleshooting Already Attempted

Restarted laptop
Switched networks (WiFi → mobile hotspot)
Tried different repositories
Tried /effort auto, /effort high, /effort max
Disabled voice mode (/voice toggle)
Used /clear for fresh sessions
Verified latest Claude Code version (v2.1.79)
Verified stable internet connection
Confirmed no keyboard/mouse input during processing

Possible Causes

MCP server or hook timeout: If any configured MCP servers or hooks have a timeout, they might be sending an interrupt signal
Terminal emulator interaction: Something in the macOS terminal environment sending an unexpected signal
API response timeout: The Anthropic API connection dropping and being interpreted as an interrupt
Background process interference: Some macOS process sending SIGINT or similar to the Claude Code process

Additional Context

This started happening around March 19, 2026
Prior to this date, Claude Code worked fine for hours-long sessions on the same laptop and network
The CLAUDE.md file in the primary repository is ~38k chars (recently trimmed from 45k)
7+ MCP servers may be configured (if relevant)

What Should Happen?

Happens a lot when doing sessions on deep of basic coding tasks

Error Messages/Logs

Steps to Reproduce

Steps to Reproduce

  1. Start a Claude Code session
  2. Give a task that requires multiple tool calls (e.g., reading files, editing code)
  3. Claude begins executing but stops mid-task with an interruption, as if Escape was pressed

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.79

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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