Answer the architect: a pure worker_outcome, Limited beside the retry, a limit ends a run of failures

This commit is contained in:
2026-10-02 22:59:21 +02:00
parent b37b2e91f7
commit 7bf437e75b
8 changed files with 47 additions and 36 deletions
-7
View File
@@ -5,10 +5,3 @@ import dataclasses
class Failure:
"""A step failed, and reason says why; its caller decides what follows."""
reason: str
@dataclasses.dataclass(frozen=True)
class Limited:
"""claude hit a usage limit; said is claude's message about it, and resets_at is when the limit resets, in seconds since the epoch, or None when unknown."""
resets_at: int | None
said: str