From 34ac56813ff7580786a1525dd18bc54e25de33da Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 2 Oct 2026 09:19:29 +0200 Subject: [PATCH] Answer the prose review's second round --- bin/loop_claude/failure.py | 2 +- bin/loop_claude/loop/main.py | 8 ++++---- bin/loop_claude/loop/reload.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/loop_claude/failure.py b/bin/loop_claude/failure.py index a9102158..9b46b0b1 100644 --- a/bin/loop_claude/failure.py +++ b/bin/loop_claude/failure.py @@ -3,5 +3,5 @@ import dataclasses @dataclasses.dataclass(frozen=True) class Failure: - """A step failed with reason; its caller decides what follows.""" + """A step failed, and reason says why; its caller decides what follows.""" reason: str diff --git a/bin/loop_claude/loop/main.py b/bin/loop_claude/loop/main.py index 0fdbf84f..6cdd1cff 100644 --- a/bin/loop_claude/loop/main.py +++ b/bin/loop_claude/loop/main.py @@ -16,10 +16,10 @@ interrupt, and when the chunk finishes, the session's transcript is copied to $LOOP_CLAUDE_TRANSCRIPTS//.jsonl (default ~/.claude/loop-claude-transcripts), the verdict beside it in .verdict.md. -Every claude it starts runs the project's model, saved per in ~/.claude/loop-claude-models.json -and read each cycle; a project without an entry, as on its first run, is asked for one. -LOOP_CLAUDE_JUDGE_MODEL overrides it for the judge, LOOP_CLAUDE_WORKER_MODEL for the worker and the -interrupt; with both set, nothing is asked. +Every claude loop-claude starts runs the project's model, saved per in +~/.claude/loop-claude-models.json and read each cycle; a project without an entry, as on its first +run, is asked for one. LOOP_CLAUDE_JUDGE_MODEL overrides it for the judge, LOOP_CLAUDE_WORKER_MODEL +for the worker and the interrupt; with both set, nothing is asked. A change to bin/loop-claude or bin/loop_claude/**/*.py takes effect at the next cycle boundary, once loop-claude --help succeeds: the loop reloads into the edited script. diff --git a/bin/loop_claude/loop/reload.py b/bin/loop_claude/loop/reload.py index 82e581ae..e7fc5bc0 100644 --- a/bin/loop_claude/loop/reload.py +++ b/bin/loop_claude/loop/reload.py @@ -45,7 +45,7 @@ def fingerprint(launcher: pathlib.Path) -> str: return digest.hexdigest() -# A loop runs unattended for hours, often on its own checkout: a reload puts an edit to loop-claude to work without the human rerunning it. +# A loop runs unattended for hours, often on its own checkout: reloading puts each edit to loop-claude to use without the human rerunning it. def exec_if_edited(launcher: pathlib.Path, baseline: str, loop_run: LoopRun, effects: Effects) -> Stop | None: if fingerprint(launcher) == baseline: return None