[Bug] Auto-Compact subagent context incorrectly counted in main context window
Resolved 💬 2 comments Opened Apr 3, 2026 by tylerlaprade Closed May 30, 2026
Bug Description
I was at 85% context usage and started to auto-compact. I canceled that, and then resumed the session, and now I'm at 17%. Did the massive amount of subagents accidentally count against my main context window?
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.91
- Feedback ID: 268cfaf6-9e85-46d6-8ec0-c768e36d0d1f
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/Tyler Laprade/.local/share/claude/versions/2.1.91 (expected in multi-process scenarios)\n at Am_ (/$bunfs/root/src/entrypoints/cli.js:1899:2153)\n at jl6 (/$bunfs/root/src/entrypoints/cli.js:1899:1233)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-03T18:27:48.816Z"}]This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗