Premature Stop Event apparently being sent from API

Resolved 💬 2 comments Opened Jul 17, 2025 by public-aanp-tanium Closed Jul 17, 2025

Bug Description
[DEBUG] Stream started - received first chunk
[DEBUG] Executing hooks for Stop
[DEBUG] Getting matching hook commands for Stop with query: undefined
[DEBUG] Found 0 hook matchers in settings
[DEBUG] No match query, returning all 0 hooks
[DEBUG] Found 0 hook commands to execute
-- I keep hitting this repeatedly now, and all the complex work capabilities that Claude afforded me are completely lost now.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 1.0.53
  • Feedback ID: 55bb4d7b-858a-484e-9895-026675a1fdf0

Errors

[{"error":"RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded\n    at Socket.onChildStdout (node:child_process:482:14)\n    at Socket.emit (node:events:507:28)\n    at Socket.emit (node:domain:489:12)\n    at addChunk (node:internal/streams/readable:559:12)\n    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n    at Readable.push (node:internal/streams/readable:390:5)\n    at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)","timestamp":"2025-07-17T05:09:49.343Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Users/aanpatel/code/aan-notes'\n    at Module.readdirSync (node:fs:1562:26)\n    at Object.readdirSync (file:///Users/aanpatel/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:594:65853)\n    at HA4 (file:///Users/aanpatel/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1297:721)\n    at Object.call (file:///Users/aanpatel/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1297:148)\n    at call.next (<anonymous>)\n    at J44 (file:///Users/aanpatel/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2223:9788)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async a$1 (file:///Users/aanpatel/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2223:6451)\n    at async Dp (file:///Users/aanpatel/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1621:1318)\n    at async W44 (file:///Users/aanpatel/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2223:5596)","timestamp":"2025-07-17T05:10:26.479Z"}]

View original on GitHub ↗

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