From 8bddfdc282e80113de2d4110ebd625dec8c9d615 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 29 Oct 2026 19:37:54 +0100 Subject: [PATCH] File item 255: list every running loop in loop-inbox, with the items its chunk takes --- todo.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/todo.md b/todo.md index 53c3beb9..ae85ca0e 100644 --- a/todo.md +++ b/todo.md @@ -6,12 +6,13 @@ `Bar = 0.1` -`Next ID = 255` +`Next ID = 256` ## Items | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| +| 255 | 0.4.0 | | owner | **Have loop-inbox list every running loop-claude on the machine, with its checkout and the ID and tagline of each `todo.md` item its chunk takes.** | 4 | 2 | 3 | 7 | 5 | 1 by 3 | 1.3 | | 226 | 0.5.0 | | question | **Answer whether rule-hook's `run-heavy` rule should also catch a mutation run or docker build behind `uv run`, `poetry run`, `python3 -m`, `sudo`, `docker image build` and `docker compose up --build`, or narrow the `machine load:` decision's wording.** | 2 | 2 | 3 | 5 | 3 | 1.2 by 2, 1.5 by 2 | 4.0 | | 248 | 0.5.0 | | question | **Answer whether the `rule-hook:` decision should name every rule that takes no override, `repeat-read`, `reviewer-report` and `reviewer-rung`, with each one's reason.** | 1 | 2 | 1 | 2 | 1 | 1.2 by 2 | 3.3 | | 250 | 0.5.0 | | | **Move the repeat-read rule's transcript, mtime and file reads from `bin/rule_hook/main.py` into `bin/rule_hook/repeat_read.py`, behind one `*_breaches` entry point like the other rules, and name the tuple `results_on` returns.** | 2 | 1 | 3 | 4 | 3 | code health by 3 | 13.5 | @@ -78,6 +79,16 @@ ## Details +### 255. Have loop-inbox list every running loop-claude on the machine, with its checkout and the ID and tagline of each `todo.md` item its chunk takes. + +Asked for by lilleman on 2026-10-29, into 0.4.0. Today loop-inbox lists a loop only while it waits for an answer, so the human cannot see in one place which loops run and what each works on. Add a list of the running loops beside the waiting ones. Each entry names the loop's checkout and every item its chunk takes: its ID and its tagline, cut to a line or two as the list cuts a question. A loop whose chunk takes no item yet, as before its first verdict in a chunk no item routed, says so. + +- **Which loops run.** Today a loop holds `.lock`, which loop-inbox reads as running, only while it asks (`bin/loop_claude/session_lock.py`, `docs/decisions.md` → `loop-inbox: …`). Hold a lock for the loop's whole run, so a killed loop drops off the list as a killed loop's question does now, and revise that decision. +- **Which items.** loop-claude knows the item that routed the chunk (`Route.item`), but the judge reports only the L and E + I of the items the worker took in, never their IDs (`bin/loop_claude/verdicts.py`). Have the judge report the taken-in IDs too, and take each tagline from the checkout's `todo.md`. +- **The layout.** Bench it, as `bin/loop_inbox/inbox.py` records the list's first layout was benched. + +Where the change touches `claim_talk`, `make_way` or `interrupt`, which the comprehension seats found hard, make them easier to read. + ### 226. Answer whether rule-hook's `run-heavy` rule should also catch a mutation run or docker build behind `uv run`, `poetry run`, `python3 -m`, `sudo`, `docker image build` and `docker compose up --build`, or narrow the `machine load:` decision's wording. Found by review of PR #370. Today `uv run mutmut run`, `poetry run mutmut run`, `python3 -m mutmut run`, `sudo docker build .`, `docker image build .` and `docker compose up --build` pass the rule, which `docs/decisions.md` → `machine load: …` and `RULES["run-heavy"]` describe as blocking docker builds and mutation runs. The rule's own text says a gate script isn't checked since no program can tell it from a light one, so the human decides where the line sits. Say what the rule's "checked" text promises either way. Where the answer widens the rule, the change touches `heavy` in `bin/rule_hook/heavy_command.py`, which the comprehension seats found hard: make it easier to read.