You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Watch reports 'Board is clear' when GitHub API rate limit is hitΒ #806
When squad watch hits a GitHub API rate limit, capabilities (triage, two-pass, execute, board) return empty data. The watch loop then reports:
π Board is clear β Ralph is idling
This is misleading β the board isn't clear, the API just can't be reached.
Observed behavior
β [11:57:35 AM] Check failed: GraphQL: API rate limit already exceeded for user ID 188938611.
β [11:57:36 AM] two-pass: two-pass error: GraphQL: API rate limit already exceeded
β [11:57:36 AM] execute: execute error: GraphQL: API rate limit already exceeded
π Board is clear β Ralph is idling β WRONG, should say rate-limited
Expected behavior
When API errors occur, watch should:
Report: β API rate limited β skipping this round (retry in {interval})
NOT report 'Board is clear' β that implies no work exists
Automatically increase interval (exponential backoff) until rate limit resets
Check gh api rate_limit to show when limit resets
Additional context
EMU accounts (_microsoft suffix) have stricter rate limits
2-minute interval with 4+ capabilities = 12+ API calls per 8 minutes
The circuit-breaker capability exists but doesn't catch this case
Activity
feat(watch): auth guard β detect and recover from gh auth switches
fix(watch): detect rate-limit errors instead of reporting 'Board is cβ¦
fix(watch): detect rate-limit errors instead of reporting 'Board is cβ¦