claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Context low loop with parallel sub-agents blocks /compact and /feedback

Open ThatDragonOverThere opened this issue 1 month ago • 2 comments

Bug Description

When running multiple parallel sub-agents (Task tool), Claude Code repeatedly shows "Context low · Run /compact to compact & continue" after each agent completes, but:

  1. /compact doesn't work in this state
  2. /feedback also fails with "Error submitting feedback / bug report"

This creates an unrecoverable loop where you can't fix the context issue and can't report the bug.

Steps to Reproduce

  1. Start a session that spawns multiple parallel sub-agents using the Task tool
  2. Let agents run until context gets low
  3. Observe repeated "Context low · Run /compact to compact & continue" messages after each TaskOutput
  4. Try running /compact - doesn't work
  5. Try running /feedback - fails with error

Example Output

● Task 5.1 is still running. Let me check the remaining agents and then collect all results:

● Task Output af8f1e0
  ⎿  Read output (ctrl+o to expand)

● Task Output a8961aa
  ⎿  Read output (ctrl+o to expand)

● Task Output a082425
  ⎿  Read output (ctrl+o to expand)

● Task Output a307588
  ⎿  Read output (ctrl+o to expand)
  ⎿  Context low · Run /compact to compact & continue

● Agent "Task 5.1: Entry vs Regime Matrix" completed.
  ⎿  Context low · Run /compact to compact & continue

> /feedback
  ⎿  Error submitting feedback / bug report

Expected Behavior

  • /compact should work even when multiple agents are completing
  • /feedback should work regardless of context state
  • The "Context low" message shouldn't spam after every single tool output

Environment

  • OS: Windows 11 (MSYS/Git Bash)
  • Claude Code CLI

ThatDragonOverThere avatar Jan 06 '26 22:01 ThatDragonOverThere