- Track total tokens in _collect_subject_details to prevent overflow - Add final safety truncation in _get_tokens_for_category - Ensures setting 80 returns exactly 80, not 81 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>