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
Showing only changes of commit a5e6e92f22 - Show all commits
+4 -3
View File
@@ -46,9 +46,10 @@ Exit 1, saying why, when:
worker fails when claude cannot start, exits non-zero, is killed, or ends without a result event;
a judge when claude cannot start or exits non-zero, or its reply misses or mistypes a field,
interrupts without a question, or quotes a line the transcript does not hold. A usage limit is
not a failure, and ends a run of them: the worker or the judge is retried 2 minutes after the limit resets, or every 10
minutes when the reset time is unknown or past. The judge's reply gives its reset time only as
text, so the judge is always retried every 10 minutes. stderr says when the next try is due.
not a failure, and ends a run of them: the worker or the judge is retried 2 minutes after the
limit resets, or every 10 minutes when the reset time is unknown or more than 2 minutes past.
The judge's reply gives its reset time only as text, so the judge is always retried every 10
minutes. stderr says when the next try is due.
Exit 2, when the human is needed and cannot answer:
- stdin or stdout is not a terminal, when a model must be picked or an interrupt answered