[Bug] Context compaction fails with 4+ parallel agents due to low context blocking
Resolved 💬 3 comments Opened Dec 19, 2025 by StepanchukYI Closed Dec 23, 2025
Bug Description
when use more than 4 agent in parallel and claude review all feedback on low context, context is blocked and cannot be compacted anymore.
Environment Info
- Platform: darwin
- Terminal: goland
- Version: 2.0.73
- Feedback ID: 5fa4f346-c383-4c5b-86d8-58a27883715d
Errors
[{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:442:20)\n at file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:9:429\n at rI (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:8:8084)\n at Object.readFileSync (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:9:404)\n at kcB (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:4822:22305)\n at Object.call (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:1016:942)\n at am5 (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:2200:17490)\n at runNextTicks (node:internal/process/task_queues:65:5)\n at process.processImmediate (node:internal/timers:453:9)\n at process.topLevelDomainCallback (node:domain:161:15)","timestamp":"2025-12-19T18:57:03.336Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:442:20)\n at file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:9:429\n at rI (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:8:8084)\n at Object.readFileSync (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:9:404)\n at kcB (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:4822:22305)\n at Object.call (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:1016:942)\n at am5 (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:2200:17490)\n at runNextTicks (node:internal/process/task_queues:65:5)\n at process.processImmediate (node:internal/timers:453:9)\n at process.topLevelDomainCallback (node:domain:161:15)","timestamp":"2025-12-19T18:57:10.699Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:442:20)\n at file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:9:429\n at rI (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:8:8084)\n at Object.readFileSync (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:9:404)\n at kcB (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:4822:22305)\n at Object.call (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:1016:942)\n at am5 (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:2200:17490)\n at runNextTicks (node:internal/process/task_queues:65:5)\n at process.processImmediate (node:internal/timers:453:9)\n at process.topLevelDomainCallback (node:domain:161:15)","timestamp":"2025-12-19T18:57:27.671Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:442:20)\n at file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:9:429\n at rI (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:8:8084)\n at Object.readFileSync (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:9:404)\n at kcB (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:4822:22305)\n at Object.call (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:1016:942)\n at am5 (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:2200:17490)\n at runNextTicks (node:internal/process/task_queues:65:5)\n at process.processImmediate (node:internal/timers:453:9)\n at process.topLevelDomainCallback (node:domain:161:15)","timestamp":"2025-12-19T18:57:56.179Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:442:20)\n at file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:9:429\n at rI (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:8:8084)\n at Object.readFileSync (file:///Users/evgeniystepanchuk/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:9:40
Note: Error logs were truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗