From d0758a07353f0aed4ca645e5b7dbf8a1273541de Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sun, 18 Oct 2026 19:15:49 +0200 Subject: [PATCH 1/3] File item 197: edit an answer at loop-claude's prompt with the arrow keys --- todo.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/todo.md b/todo.md index 2232c5c8..d813914b 100644 --- a/todo.md +++ b/todo.md @@ -6,7 +6,7 @@ `Bar = 0.1` -`Next ID = 197` +`Next ID = 198` ## Items @@ -51,6 +51,7 @@ | 169 | 0.3.0 | | | **Have rule-hook's `todo-rank-check` catch a `todo.md` that the same Bash call edits and then commits.** | 3 | 1 | 3 | 5 | 3 | 1.1 by 2 | 2.6 | | 183 | 0.3.0 | | | **Merge the two 2026-10-13 paragraphs of `docs/decisions.md` → `loop-claude: a judge decides each interrupt …` into one.** | 1 | 1 | 1 | 1 | 1 | 1.1 by 1 | 2.1 | | 184 | 0.3.0 | | | **Rewrap the lines of `loop-claude --help` that run past the column the rest of it wraps at.** | 1 | 1 | 1 | 1 | 1 | 1.1 by 1 | 2.1 | +| 197 | 0.3.0 | | | **Let the human edit an answer at loop-claude's prompt with the arrow keys, so Left moves the cursor in place of printing `^[[D`.** | 1 | 2 | 3 | 4 | 1 | 1.5 by 1 | 1.9 | | 174 | 0.3.0 | | | **In a chunk no item routed, ask the worker to name each todo.md item it takes, with its L and E + I, so loop-claude can route on an item it takes in.** | 1 | 2 | 3 | 4 | 2 | 1.1 by 1 | 1.7 | | 170 | 0.4.0 | | decision | **Re-tune `WORKER_STEPS` and `REVIEW_STEPS` once 10 chunks have shipped under them, from how well L, E and I order their review rounds and 🔴 findings.** | 2 | 2 | 3 | 5 | 2 | 1.1 by 3, 1.4 by 5 | 13.2 | | 122 | 0.4.0 | | | **Assemble the judge's prompt in `bin/loop_claude/cycle/judge.py`, importing only wording the worker also sees, and call the worker "the worker" in it.** | 2 | 2 | 3 | 5 | 3 | 1.1 by 5, 1.4 by 5 | 12.5 | @@ -259,6 +260,10 @@ They say the same thing for `~/.claude/rules/` (item 95) and `~/.claude/skills/l In `bin/loop_claude/loop/main.py`'s docstring, the line holding "of one PR, is finished" and the one ending "Each of these opens with its UTC time." run to 107 and 159 columns. Raised by the prose review of PR #308. +### 197. Let the human edit an answer at loop-claude's prompt with the arrow keys, so Left moves the cursor in place of printing `^[[D`. + +`bin/loop_claude/effects.py` reads each answer with Python's builtin `input`, and nothing imports `readline`, so the terminal gets no line editing: fixing a typo means erasing back to it. Importing `readline` in `effects.py` gives `input` that editing, for the interrupt's answer and the model choice alike. lilleman, 2026-10-18: not urgent, but irritating. + ### 174. In a chunk no item routed, ask the worker to name each todo.md item it takes, with its L and E + I, so loop-claude can route on an item it takes in. The principles pass of PR #301 found that only `routed_by` in `bin/loop_claude/cycle/prompts.py` asks the worker to name each item it takes with its L and E + I, and `fresh` uses it only where an item routed the chunk. In an unrouted chunk the judge has no levels to report, so neither the taken-in L nor the taken-in E + I lifts the worker, the reviewers or the judge, and the first prompt names no reviewers' rung for a higher E + I. -- 2.52.0 From aa279a319a7455b5f4e64f511f6fc178e99513e8 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sun, 18 Oct 2026 19:16:13 +0200 Subject: [PATCH 2/3] Refresh item 155's reading-cost figures --- docs/reading-cost.md | 8 ++++++++ todo.md | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/reading-cost.md b/docs/reading-cost.md index ecc093fc..2a64d35f 100644 --- a/docs/reading-cost.md +++ b/docs/reading-cost.md @@ -669,3 +669,11 @@ Read most (opens and searches): ## Reading cost, chunk 9f9579dd30bb, finished 2026-10-18T12:17:04Z 163028 new input tokens before the first commit. + +## Reading cost, chunk 9fdabb34de02, finished 2026-10-18T17:00:58Z + +416077 new input tokens before the first commit. + +Read most (opens and searches): + +- `rules/decisions.md` 1 diff --git a/todo.md b/todo.md index d813914b..c99fcd88 100644 --- a/todo.md +++ b/todo.md @@ -390,7 +390,7 @@ While `rank_todo.py` ranks two shapes, projects follow two sets of scoring rules ### 155. Lower the reading cost of the files a chunk reads most before its first commit. -`bin/reading-cost` on 2026-10-18: the median of the last 5 chunks is 133,110 new input tokens before their first commit, up from 107,738 for the 5 before them. Read most over the last 5, by opens and searches: `todo.md` 4, `rules/todo-items.md` 2, `rules/decisions.md` 1. The chunk that ships this item runs `bin/reading-cost --reset`. +`bin/reading-cost` on 2026-10-18: the median of the last 5 chunks is 163,028 new input tokens before their first commit, up from 100,998 for the 5 before them. Read most over the last 5, by opens and searches: `rules/decisions.md` 1. The chunk that ships this item runs `bin/reading-cost --reset`. ### 1. Say in README → Install how the transcript archive is backed up, once bender-infra backs up ai-sandbox's data volume. -- 2.52.0 From 78077a5896ec12d2a196bce14cdd4775a4fb4c3a Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sun, 18 Oct 2026 19:17:31 +0200 Subject: [PATCH 3/3] =?UTF-8?q?Answer=20prose=20round=201:=200=20?= =?UTF-8?q?=F0=9F=94=B4,=201=20=F0=9F=9F=A1;=20the=20tagline=20names=20loo?= =?UTF-8?q?p-claude's=20terminal=20questions,=20and=20the=20detail=20quote?= =?UTF-8?q?s=20the=20human=20exactly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- todo.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/todo.md b/todo.md index c99fcd88..f814df13 100644 --- a/todo.md +++ b/todo.md @@ -51,7 +51,7 @@ | 169 | 0.3.0 | | | **Have rule-hook's `todo-rank-check` catch a `todo.md` that the same Bash call edits and then commits.** | 3 | 1 | 3 | 5 | 3 | 1.1 by 2 | 2.6 | | 183 | 0.3.0 | | | **Merge the two 2026-10-13 paragraphs of `docs/decisions.md` → `loop-claude: a judge decides each interrupt …` into one.** | 1 | 1 | 1 | 1 | 1 | 1.1 by 1 | 2.1 | | 184 | 0.3.0 | | | **Rewrap the lines of `loop-claude --help` that run past the column the rest of it wraps at.** | 1 | 1 | 1 | 1 | 1 | 1.1 by 1 | 2.1 | -| 197 | 0.3.0 | | | **Let the human edit an answer at loop-claude's prompt with the arrow keys, so Left moves the cursor in place of printing `^[[D`.** | 1 | 2 | 3 | 4 | 1 | 1.5 by 1 | 1.9 | +| 197 | 0.3.0 | | | **Let the human edit what they type at loop-claude's terminal questions with the arrow keys, so Left moves the cursor in place of printing `^[[D`.** | 1 | 2 | 3 | 4 | 1 | 1.5 by 1 | 1.9 | | 174 | 0.3.0 | | | **In a chunk no item routed, ask the worker to name each todo.md item it takes, with its L and E + I, so loop-claude can route on an item it takes in.** | 1 | 2 | 3 | 4 | 2 | 1.1 by 1 | 1.7 | | 170 | 0.4.0 | | decision | **Re-tune `WORKER_STEPS` and `REVIEW_STEPS` once 10 chunks have shipped under them, from how well L, E and I order their review rounds and 🔴 findings.** | 2 | 2 | 3 | 5 | 2 | 1.1 by 3, 1.4 by 5 | 13.2 | | 122 | 0.4.0 | | | **Assemble the judge's prompt in `bin/loop_claude/cycle/judge.py`, importing only wording the worker also sees, and call the worker "the worker" in it.** | 2 | 2 | 3 | 5 | 3 | 1.1 by 5, 1.4 by 5 | 12.5 | @@ -260,9 +260,9 @@ They say the same thing for `~/.claude/rules/` (item 95) and `~/.claude/skills/l In `bin/loop_claude/loop/main.py`'s docstring, the line holding "of one PR, is finished" and the one ending "Each of these opens with its UTC time." run to 107 and 159 columns. Raised by the prose review of PR #308. -### 197. Let the human edit an answer at loop-claude's prompt with the arrow keys, so Left moves the cursor in place of printing `^[[D`. +### 197. Let the human edit what they type at loop-claude's terminal questions with the arrow keys, so Left moves the cursor in place of printing `^[[D`. -`bin/loop_claude/effects.py` reads each answer with Python's builtin `input`, and nothing imports `readline`, so the terminal gets no line editing: fixing a typo means erasing back to it. Importing `readline` in `effects.py` gives `input` that editing, for the interrupt's answer and the model choice alike. lilleman, 2026-10-18: not urgent, but irritating. +`bin/loop_claude/effects.py` reads each answer with Python's builtin `input`, and nothing imports `readline`, so the terminal gets no line editing: fixing a typo means erasing back to it. Importing `readline` in `effects.py` gives `input` that editing, for the interrupt's answer and the question that asks for the project's model alike. lilleman, 2026-10-18: "Not super-important, but a bit irritating." ### 174. In a chunk no item routed, ask the worker to name each todo.md item it takes, with its L and E + I, so loop-claude can route on an item it takes in. -- 2.52.0