Wait out a usage limit and retry, without counting it as a failed run #198

Merged
lilleman merged 8 commits from usage-limit-wait into main 2026-10-02 23:21:33 +02:00
Owner

loop-claude waits until 2 minutes past a usage limit's reset, read from the worker's stream-json rate_limit_event, or polls every 10 minutes when no reset is known, as for the judge's json reply. A limit is not a failure and ends a run of failures.

Waiting on the owner (headless run, every pass at its round cap):

  1. Comprehension floor not met: Navigation 7.63, Locality 6.88, Shape 7.38, Self-sufficiency 6.75, overall 7.13. Every seat named larv-review §3 (todo item 13). Ship under the floor, or grant a fourth architecture round? Recommendation: ship under the floor; the capping place is item 13, and the seats rated this chunk's code easy.
  2. The architect-round fixes (Limited in limited.py, an injected local_time, a limit resetting the failure count, the help's limit clause) re-enter stability, product-owner and prose, each at 3 rounds. Grant each one more round? Recommendation: yes.

Rounds: security 1, stability 3, product-owner 3, prose 3, architecture 3. Full scan not fired. No CI, no auto-reviewer; local suite green.

loop-claude waits until 2 minutes past a usage limit's reset, read from the worker's stream-json `rate_limit_event`, or polls every 10 minutes when no reset is known, as for the judge's json reply. A limit is not a failure and ends a run of failures. Waiting on the owner (headless run, every pass at its round cap): 1. Comprehension floor not met: Navigation 7.63, Locality 6.88, Shape 7.38, Self-sufficiency 6.75, overall 7.13. Every seat named larv-review §3 (todo item 13). Ship under the floor, or grant a fourth architecture round? Recommendation: ship under the floor; the capping place is item 13, and the seats rated this chunk's code easy. 2. The architect-round fixes (Limited in limited.py, an injected local_time, a limit resetting the failure count, the help's limit clause) re-enter stability, product-owner and prose, each at 3 rounds. Grant each one more round? Recommendation: yes. Rounds: security 1, stability 3, product-owner 3, prose 3, architecture 3. Full scan not fired. No CI, no auto-reviewer; local suite green.
lilleman added 1 commit 2026-10-02 22:45:37 +02:00
lilleman added 1 commit 2026-10-02 22:49:41 +02:00
lilleman added 1 commit 2026-10-02 22:52:19 +02:00
lilleman added 1 commit 2026-10-02 22:59:25 +02:00
lilleman added 1 commit 2026-10-02 22:59:32 +02:00
lilleman added 1 commit 2026-10-02 23:05:20 +02:00
lilleman added 1 commit 2026-10-02 23:17:10 +02:00
lilleman added 1 commit 2026-10-02 23:19:41 +02:00
lilleman marked the pull request as ready for review 2026-10-02 23:21:30 +02:00
lilleman merged commit 0e7f5895bb into main 2026-10-02 23:21:33 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lilleman/claude-config#198