State in outcome.py what the loop does with each outcome

This commit is contained in:
2026-09-29 10:31:48 +02:00
parent d9058d2d7e
commit 80edf5e695
2 changed files with 3 additions and 2 deletions
+3 -1
View File
@@ -3,15 +3,17 @@ import dataclasses
@dataclasses.dataclass(frozen=True)
class Continue:
pass
"""The cycle ended; the loop starts the next."""
@dataclasses.dataclass(frozen=True)
class Failure:
"""A step failed and its caller decides: a worker or judge run is retried, up to three times running; anything else becomes a Stop or a warning."""
reason: str
@dataclasses.dataclass(frozen=True)
class Stop:
"""loop-claude exits with code, printing reason."""
code: int
reason: str