Answer the prose review's third round, and file the human's two answers

This commit is contained in:
2026-10-02 17:22:00 +02:00
parent b436d2756d
commit 872ffd3f67
5 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ def run_cycle(cycle: Cycle) -> Stop | None:
def stopped(cycle: Cycle, stop: Stop, why: str) -> Stop:
path = transcript_file(cycle.session)
failure = archive(cycle.project_key, path, cycle.task, f"Stopped: {why}", cycle.paths) if path else None
# A failed archive exits 1 whatever stopped the loop; one that is the stop itself fails the same way again, so say it once.
# A failed archive exits 1 whatever the stop; when the stop was this archive failing, its reason is said once.
return Stop(1, f"{failure.reason}\n{stop.reason}".rstrip()) if failure and failure.reason != stop.reason else stop