From 97d5b584e0e854c979f5f9a6b1d9b3516c278764 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 25 Sep 2026 19:02:26 +0200 Subject: [PATCH 1/3] Say why the session name starts with A, what the judge slice bounds, and what opus[1m] selects --- README.md | 4 ++++ bin/loop-claude | 2 ++ todo.md | 1 - 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 97e6dcb3..4c516fc1 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,10 @@ Check out the latest tag in `~/.claude`. Link the tool onto `PATH`: `ln -s ~/.cl Rename `## Unreleased` in `CHANGELOG.md` to the version, commit, and tag that commit `v`. +## Settings + +`"model": "opus[1m]"` in `settings.json` selects Opus with the 1M-token context window. + ## Tools - `loop-claude ` runs a project's next chunk cycle after cycle; `loop-claude --help` states its contract. diff --git a/bin/loop-claude b/bin/loop-claude index f0c36a65..f976fea5 100755 --- a/bin/loop-claude +++ b/bin/loop-claude @@ -122,6 +122,7 @@ def project(root): def session_name(root): + # "A " marks it in the session picker as automated: not a session to type into by hand. return f"A {project(root)} loop-claude" @@ -284,6 +285,7 @@ def judge_prompt(task, premises, transcript): return ( f"From README.md:\n{premises}\n\n" f"The task an agent was given:\n{task}\n\n" + # The tail, where an ask or a finish lands; 40000 characters cap what a long cycle hands the judge. f"What the agent then did and said, latest last:\n{transcript[-40000:]}\n\n" f"{JUDGE_RULES}" ) diff --git a/todo.md b/todo.md index a5c15e67..09376d94 100644 --- a/todo.md +++ b/todo.md @@ -4,7 +4,6 @@ Bar the reload item, ordered by how many seats of the 2026-09-25 scoring panel (`docs/decisions.md`) named the place; each is one chunk. -- Say in one line each why the session name starts with `A `, what `-40000` bounds in `judge_prompt`, and what `opus[1m]` in `settings.json` selects. - Carry the reload state of `bin/loop-claude` as one JSON argument, and exit naming the reload when it arrives without a task, today a new argument shifts the task out and an older running loop reloads into `usage` and exit 1. - Name `end_session` for what it does, today it deletes the session's transcript files. - Define looping reviewer and round cap under `CLAUDE.md` → "Vocabulary", today inline at `agents/review-protocol.md`. -- 2.52.0 From 676a40c431ef369fab0658cefee5b07aa022231b Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 25 Sep 2026 19:05:54 +0200 Subject: [PATCH 2/3] Pick opus over opus[1m]: the suffix selects the same model and window --- README.md | 4 ---- settings.json | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 4c516fc1..97e6dcb3 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,6 @@ Check out the latest tag in `~/.claude`. Link the tool onto `PATH`: `ln -s ~/.cl Rename `## Unreleased` in `CHANGELOG.md` to the version, commit, and tag that commit `v`. -## Settings - -`"model": "opus[1m]"` in `settings.json` selects Opus with the 1M-token context window. - ## Tools - `loop-claude ` runs a project's next chunk cycle after cycle; `loop-claude --help` states its contract. diff --git a/settings.json b/settings.json index 9de17087..f839ed0b 100644 --- a/settings.json +++ b/settings.json @@ -9,7 +9,7 @@ "~/code" ] }, - "model": "opus[1m]", + "model": "opus", "disableClaudeAiConnectors": true, "statusLine": { "type": "command", -- 2.52.0 From 82838e611122f60f89a6d7ce47cfcf91a4870ef8 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 25 Sep 2026 19:08:08 +0200 Subject: [PATCH 3/3] Shorten the two comments: the transcript spans cycles, the prefix is a cue --- bin/loop-claude | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/loop-claude b/bin/loop-claude index f976fea5..ca1fa494 100755 --- a/bin/loop-claude +++ b/bin/loop-claude @@ -122,7 +122,7 @@ def project(root): def session_name(root): - # "A " marks it in the session picker as automated: not a session to type into by hand. + # "A " is the human's cue in the session picker that the session is the loop's. return f"A {project(root)} loop-claude" @@ -285,7 +285,7 @@ def judge_prompt(task, premises, transcript): return ( f"From README.md:\n{premises}\n\n" f"The task an agent was given:\n{task}\n\n" - # The tail, where an ask or a finish lands; 40000 characters cap what a long cycle hands the judge. + # The tail, where an ask or a finish lands; the session's transcript grows cycle over cycle. f"What the agent then did and said, latest last:\n{transcript[-40000:]}\n\n" f"{JUDGE_RULES}" ) -- 2.52.0