Skip to content

Order /go review accounts by docket's priority - #265

Merged
haacked merged 1 commit into
mainfrom
haacked/priority-account-order
Oct 28, 2026
Merged

haacked merged 1 commit into
mainfrom
haacked/priority-account-order

Conversation

@haacked

@haacked haacked commented Oct 28, 2026

Copy link
Copy Markdown
Owner

/go picks a Claude review's account with the same rule as docket's account.Pick. haacked/docket#40 changes that rule to treat the account list as a priority order, so /go needs to follow or the two will pick different accounts.

review_accounts() in run-review.py now keeps the order config.toml lists the accounts in and skips each one a recorded limit still applies to. A review goes back to an earlier account as soon as its limit resets. The session's own account, the one-dir-per-login rule, and the refusal when every account is limited all work as before.

Test plan

  • python3 -m pytest -q ai/skills/go/scripts/tests/
  • run-review.py accounts lists the first account in config.toml first once its limit has reset.

https://claude.ai/code/session_01AovXvZFRJZXuPP3RLtqHUA

run-review.py keeps the order config.toml lists docket's accounts in and
skips each one a recorded usage limit still applies to, matching
docket's account.Pick, so a review returns to an earlier account as soon
as its limit resets.

Claude-Session: https://claude.ai/code/session_01AovXvZFRJZXuPP3RLtqHUA
@haacked
haacked marked this pull request as ready for review October 28, 2026 21:37
@haacked
haacked merged commit 0772974 into main Oct 28, 2026
1 check passed
@haacked
haacked deleted the haacked/priority-account-order branch October 28, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant