[Bug] Auto-compact fails with "conversation too long" error in multi-agent workflows

Resolved 💬 3 comments Opened Dec 14, 2025 by mstjohn-ljk Closed Dec 17, 2025

Bug Description
when using multiple agents if the context runs low it doesn't auto compact, instead it tells the user to compact, however when trying to compact it then says conversation too long. by the time you get that message, you're too far into the task to clear and try and recover where you left off. so it ends up creating a disjointed task trying to figure out where it left off.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.0.67
  • Feedback ID: 52f6ba5a-1500-4cb2-991c-b5e58e649ded

Errors

[{"error":"Error: Plugin component file not found: /Users/mstjohn/.claude/plugins/cache/claude-code-templates/security-pro/1.0.0/cli-tool/components/commands/security/vulnerability-scan.md for security-pro\n    at Ij6 (file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:8564)\n    at async Jj6 (file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:5709)\n    at async file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:14558","timestamp":"2025-12-12T17:13:08.075Z"},{"error":"Error: Plugin component file not found: /Users/mstjohn/.claude/plugins/cache/claude-code-templates/security-pro/1.0.0/cli-tool/components/commands/security/code-security-review.md for security-pro\n    at Ij6 (file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:8564)\n    at async Jj6 (file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:5709)\n    at async file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:14558","timestamp":"2025-12-12T17:13:08.075Z"},{"error":"Error: Plugin component file not found: /Users/mstjohn/.claude/plugins/cache/claude-code-templates/devops-automation/1.0.0/cli-tool/components/commands/deployment/setup-ci-cd-pipeline.md for devops-automation\n    at Ij6 (file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:8564)\n    at async Jj6 (file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:5709)\n    at async file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:14558","timestamp":"2025-12-12T17:13:08.080Z"},{"error":"Error: Plugin component file not found: /Users/mstjohn/.claude/plugins/cache/claude-code-templates/devops-automation/1.0.0/cli-tool/components/commands/deployment/docker-compose-setup.md for devops-automation\n    at Ij6 (file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:8564)\n    at async Jj6 (file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:5709)\n    at async file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:14558","timestamp":"2025-12-12T17:13:08.080Z"},{"error":"Error: Plugin component file not found: /Users/mstjohn/.claude/plugins/cache/claude-code-templates/devops-automation/1.0.0/cli-tool/components/commands/deployment/kubernetes-deploy.md for devops-automation\n    at Ij6 (file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:8564)\n    at async Jj6 (file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:5709)\n    at async file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:14558","timestamp":"2025-12-12T17:13:08.080Z"},{"error":"Error: Plugin component file not found: /Users/mstjohn/.claude/plugins/cache/claude-code-templates/devops-automation/1.0.0/cli-tool/components/commands/deployment/monitoring-setup.md for devops-automation\n    at Ij6 (file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:8564)\n    at async Jj6 (file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:5709)\n    at async file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:14558","timestamp":"2025-12-12T17:13:08.080Z"},{"error":"Error: Plugin component file not found: /Users/mstjohn/.claude/plugins/cache/claude-code-templates/devops-automation/1.0.0/cli-tool/components/commands/deployment/backup-strategy.md for devops-automation\n    at Ij6 (file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:8564)\n    at async Jj6 (file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:5709)\n    at async file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:14558","timestamp":"2025-12-12T17:13:08.080Z"},{"error":"Error: Plugin component file not found: /Users/mstjohn/.claude/plugins/cache/claude-code-templates/devops-automation/1.0.0/cli-tool/components/agents/devops-infrastructure/devops-engineer.md for devops-automation\n    at Ij6 (file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:8967)\n    at async Jj6 (file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1045:5709)\n    at async file:///Users/mstjohn/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:104

Note: Error logs were truncated.

View original on GitHub ↗

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