Location: crates/hx-ai/src/claude_cli.rs (rate_limit_event parsing)
What is hacky: when claude reports only a status, no window is produced; surpassedThreshold is used as a guess.
Proper fix: surface status-only limits as their own state.
Original comment: "...else only a status; surpassedThreshold is the best percent then. ponytail: no percent -> no window."
Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
Location: crates/hx-ai/src/claude_cli.rs (rate_limit_event parsing)
What is hacky: when claude reports only a status, no window is produced; `surpassedThreshold` is used as a guess.
Proper fix: surface status-only limits as their own state.
Original comment: "...else only a status; `surpassedThreshold` is the best percent then. ponytail: no percent -> no window."
Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
johannes
added the ai label 2026-11-21 12:37:00 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Location: crates/hx-ai/src/claude_cli.rs (rate_limit_event parsing)
What is hacky: when claude reports only a status, no window is produced;
surpassedThresholdis used as a guess.Proper fix: surface status-only limits as their own state.
Original comment: "...else only a status;
surpassedThresholdis the best percent then. ponytail: no percent -> no window."Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).