The statusline uses a hardcoded 80% scaling factor for context usage, but Claude Code's actual autocompact buffer is 16.5% (usable context is 83.5%). This inflates the displayed percentage and causes the context monitor's WARNING/CRITICAL thresholds to fire prematurely. Replace the 80% scaling with proper normalization against the 16.5% autocompact buffer. Adjust color thresholds to intuitive levels (50/65/80% of usable context). Closes #769 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4.0 KiB
Executable File
4.0 KiB
Executable File