From d69d7010a036f7da0c98b4bae8380f46a7d3860d Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sat, 3 Oct 2026 20:38:14 +0200 Subject: [PATCH 1/4] Record that the judge is to read CLAUDE.md whole --- docs/decisions.md | 2 ++ todo.md | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/decisions.md b/docs/decisions.md index 831c84fe..2afd6d0f 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -10,6 +10,8 @@ 2026-10-01, lilleman: the judge reads `docs/decisions.md` and `AGENTS.md` too, so an answer recorded there is not asked again (goal 4.2); its bar becomes whether the README or those files discriminate. 2026-10-03, implemented: when the README's premises or those files answer the worker's question, the judge quotes the answer verbatim and the worker resumes with it. The judge then sees the quote as a `[loop]` line. The worker asking it again shows the quote did not settle it, and the judge sends it to the human. A backstop of three quoted answers per cycle bounds what the judge misses, such as a reworded repeat or a worker asking without end, so the worker cannot loop unattended (goal 4.4); the fourth question that the README's premises or those files answer in one cycle goes to the human with the judge's quote. An interrupt does not reset the count, so every later question those files answer in that cycle also goes to the human. Valid while the worker writes records only in a worktree, as `CLAUDE.md` โ†’ "Working with the codebase" has it, so the records the judge reads from the checkout root are merged ones. +2026-10-03, lilleman: the judge is to read `~/.claude/CLAUDE.md` whole too, since the worker follows it and a question it answers otherwise goes to the human (goal 4.2). Stands until `todo.md` item 46 lands. + ## loop-claude: one session per project, its id derived from the checkout's path relative to `~/code`, or to `/` outside it 2026-09-21, lilleman; revised 2026-09-30 by lilleman. Serves goal 4. One fixed id per project keeps the session picker at one entry per project and makes any transcript under that id loop-claude's own to delete. A checkout outside `~/code` mirroring a path inside it shares that id, and a second loop on it is not refused. Once `todo.md` item 5 lands, the id comes from the full path, so no two checkouts share one, and `loop-claude` refuses to start while another session on that id is active. Moving the checkout orphans its open sessions, archive folder and models entry: sessions stay in the picker until the human deletes them, migration code not being worth a one-human audience. Valid while claude takes `--session-id` and resumes by it. diff --git a/todo.md b/todo.md index 84b75543..b3774c8b 100644 --- a/todo.md +++ b/todo.md @@ -27,7 +27,7 @@ | 1 | 0.1.0 | question | **Say in README โ†’ Install how the transcript archive is backed up, once bender-infra backs up ai-sandbox's data volume.** | 3 | 5 | 8 | 9 | 2, 3 | 27.8 | | 47 | 0.1.0 | | **Archive the judge's evidence with each verdict, so a wrong finish shows what it rested on.** | 1 | 1 | 6 | 6 | 2, 4 | 21.4 | | 56 | 0.1.0 | | **Have the judge rule a chunk finished only once every answer the human typed in it is recorded in `README.md`, `AGENTS.md` or `docs/decisions.md`.** | 3 | 3 | 7 | 8 | 4, 4.2 | 21.0 | -| 46 | 0.1.0 | question | **Let the judge read and quote `~/.claude/CLAUDE.md` beside the project's records.** | 4 | 3 | 7 | 8 | 4, 4.2 | 20.0 | +| 46 | 0.1.0 | decision | **Let the judge read and quote `~/.claude/CLAUDE.md` whole, beside the project's records.** | 4 | 3 | 7 | 8 | 4, 4.2 | 20.0 | | 54 | 0.1.0 | | **Give each review pass a fixed name in larv-review ยง3's table, and count its rounds by that name.** | 2 | 1 | 6 | 6 | 4, 4.1 | 17.8 | | 55 | 0.1.0 | | **Make larv-review's comprehension floor readable without opening the panel skill, its scoring-run file and `AGENTS.md` in turn.** | 2 | 3 | 5 | 6 | 4, 4.1 | 15.3 | | 48 | 0.1.0 | | **Stamp each archived outcome with its UTC time.** | 1 | 1 | 4 | 4 | 2 | 13.9 | @@ -62,9 +62,9 @@ The judge runs without session persistence, and `close` and `ask` archive only t 2026-10-03, the human, answering the principles audit on PR #208: a finished chunk's session is deleted, and its `[human]` answers with it, so an answer recorded nowhere is asked again in a later chunk (goal 4.2). -### 46. Let the judge read and quote `~/.claude/CLAUDE.md` beside the project's records. +### 46. Let the judge read and quote `~/.claude/CLAUDE.md` whole, beside the project's records. -The architecture pass's principles audit against README.md's goals, on PR #208, rated the gap ๐Ÿ”ด against goals 4 and 4.2: the worker follows `CLAUDE.md`, but the judge sees only the premises, `AGENTS.md` and `docs/decisions.md`. A choice `CLAUDE.md` settles therefore reads to the judge as one nothing discriminates, and a question it answers goes to the human. The fix revises the decision "loop-claude: a judge decides each interrupt and each quoted answer from the transcript, the README's premises, `AGENTS.md` and `docs/decisions.md`", so the human decides it. +The architecture pass's principles audit against README.md's goals, on PR #208, rated the gap ๐Ÿ”ด against goals 4 and 4.2: the worker follows `CLAUDE.md`, but the judge sees only the premises, `AGENTS.md` and `docs/decisions.md`. A choice `CLAUDE.md` settles therefore reads to the judge as one nothing discriminates, and a question it answers goes to the human. The fix revises the decision "loop-claude: a judge decides each interrupt and each quoted answer from the transcript, the README's premises, `AGENTS.md` and `docs/decisions.md`". lilleman chose to have the judge read the whole file, not chosen sections: the check that a quote is word for word bounds a loose fit, and a section list would need keeping current. ### 54. Give each review pass a fixed name in larv-review ยง3's table, and count its rounds by that name. -- 2.52.0 From d1d7c56bed84a867f8316b69c9cba8933abd1e79 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sat, 3 Oct 2026 20:39:10 +0200 Subject: [PATCH 2/4] Answer prose round 1: the decision log holds the reason for reading CLAUDE.md whole; item 1 asks no reminder --- docs/decisions.md | 2 +- todo.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/decisions.md b/docs/decisions.md index 2afd6d0f..48aca9c7 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -10,7 +10,7 @@ 2026-10-01, lilleman: the judge reads `docs/decisions.md` and `AGENTS.md` too, so an answer recorded there is not asked again (goal 4.2); its bar becomes whether the README or those files discriminate. 2026-10-03, implemented: when the README's premises or those files answer the worker's question, the judge quotes the answer verbatim and the worker resumes with it. The judge then sees the quote as a `[loop]` line. The worker asking it again shows the quote did not settle it, and the judge sends it to the human. A backstop of three quoted answers per cycle bounds what the judge misses, such as a reworded repeat or a worker asking without end, so the worker cannot loop unattended (goal 4.4); the fourth question that the README's premises or those files answer in one cycle goes to the human with the judge's quote. An interrupt does not reset the count, so every later question those files answer in that cycle also goes to the human. Valid while the worker writes records only in a worktree, as `CLAUDE.md` โ†’ "Working with the codebase" has it, so the records the judge reads from the checkout root are merged ones. -2026-10-03, lilleman: the judge is to read `~/.claude/CLAUDE.md` whole too, since the worker follows it and a question it answers otherwise goes to the human (goal 4.2). Stands until `todo.md` item 46 lands. +2026-10-03, lilleman: the judge is to read `~/.claude/CLAUDE.md` whole too. The worker follows that file, so a question it answers should not reach the human (goal 4.2). A quoted answer must appear word for word in the files, so reading the whole file lets the judge quote nothing it could not show; a list of sections would need keeping current. `todo.md` item 46 makes it so. Until then, a question only `CLAUDE.md` answers still goes to the human. ## loop-claude: one session per project, its id derived from the checkout's path relative to `~/code`, or to `/` outside it diff --git a/todo.md b/todo.md index b3774c8b..d79e8244 100644 --- a/todo.md +++ b/todo.md @@ -50,7 +50,7 @@ It lives under `~/.claude`, which `.gitignore` keeps from the remote, so a lost disk loses every unattended run's record. Back it up only to a destination private to me and encrypted at rest: the worker runs with permissions bypassed, so the archived tool results can hold credentials it read. -2026-10-02, the human: ai-sandbox is the VM `loop-claude` will run on, hosted on the server bender. bender-infra, the infrastructure-as-code project that manages bender, will back up ai-sandbox's data volume once ai-sandbox is rebuilt. The item waits for the human to say the rebuild has landed. Before writing the README line, check that `~/.claude` lives on that volume and that the backup is private and encrypted at rest. +2026-10-02, the human: ai-sandbox is the VM `loop-claude` will run on, hosted on the server bender. bender-infra, the infrastructure-as-code project that manages bender, will back up ai-sandbox's data volume once ai-sandbox is rebuilt. The item waits for the human to say the rebuild has landed; do not remind them. Before writing the README line, check that `~/.claude` lives on that volume and that the backup is private and encrypted at rest. The README line covers the bench's transcripts in `workflow-bench/logs/` too (goal 2). @@ -64,7 +64,7 @@ The judge runs without session persistence, and `close` and `ask` archive only t ### 46. Let the judge read and quote `~/.claude/CLAUDE.md` whole, beside the project's records. -The architecture pass's principles audit against README.md's goals, on PR #208, rated the gap ๐Ÿ”ด against goals 4 and 4.2: the worker follows `CLAUDE.md`, but the judge sees only the premises, `AGENTS.md` and `docs/decisions.md`. A choice `CLAUDE.md` settles therefore reads to the judge as one nothing discriminates, and a question it answers goes to the human. The fix revises the decision "loop-claude: a judge decides each interrupt and each quoted answer from the transcript, the README's premises, `AGENTS.md` and `docs/decisions.md`". lilleman chose to have the judge read the whole file, not chosen sections: the check that a quote is word for word bounds a loose fit, and a section list would need keeping current. +The architecture pass's principles audit against README.md's goals, on PR #208, rated the gap ๐Ÿ”ด against goals 4 and 4.2: the worker follows `CLAUDE.md`, but the judge sees only the premises, `AGENTS.md` and `docs/decisions.md`. A choice `CLAUDE.md` settles therefore reads to the judge as one nothing discriminates, and a question it answers goes to the human. The fix revises the decision "loop-claude: a judge decides each interrupt and each quoted answer from the transcript, the README's premises, `AGENTS.md` and `docs/decisions.md`". ### 54. Give each review pass a fixed name in larv-review ยง3's table, and count its rounds by that name. -- 2.52.0 From dd4219e253dbbff713acc84b37be3c521c48ffa9 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sat, 3 Oct 2026 20:39:45 +0200 Subject: [PATCH 3/4] Answer prose round 2: the reason for reading CLAUDE.md whole reads on one pass --- docs/decisions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/decisions.md b/docs/decisions.md index 48aca9c7..51479ca7 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -10,7 +10,7 @@ 2026-10-01, lilleman: the judge reads `docs/decisions.md` and `AGENTS.md` too, so an answer recorded there is not asked again (goal 4.2); its bar becomes whether the README or those files discriminate. 2026-10-03, implemented: when the README's premises or those files answer the worker's question, the judge quotes the answer verbatim and the worker resumes with it. The judge then sees the quote as a `[loop]` line. The worker asking it again shows the quote did not settle it, and the judge sends it to the human. A backstop of three quoted answers per cycle bounds what the judge misses, such as a reworded repeat or a worker asking without end, so the worker cannot loop unattended (goal 4.4); the fourth question that the README's premises or those files answer in one cycle goes to the human with the judge's quote. An interrupt does not reset the count, so every later question those files answer in that cycle also goes to the human. Valid while the worker writes records only in a worktree, as `CLAUDE.md` โ†’ "Working with the codebase" has it, so the records the judge reads from the checkout root are merged ones. -2026-10-03, lilleman: the judge is to read `~/.claude/CLAUDE.md` whole too. The worker follows that file, so a question it answers should not reach the human (goal 4.2). A quoted answer must appear word for word in the files, so reading the whole file lets the judge quote nothing it could not show; a list of sections would need keeping current. `todo.md` item 46 makes it so. Until then, a question only `CLAUDE.md` answers still goes to the human. +2026-10-03, lilleman: the judge is to read `~/.claude/CLAUDE.md` whole too. The worker follows that file, so a question it answers should not reach the human (goal 4.2). Reading the whole file is safe, because the judge may quote only words that appear in it. A list of sections would need keeping current. `todo.md` item 46 makes it so. Until then, a question only `CLAUDE.md` answers still goes to the human. ## loop-claude: one session per project, its id derived from the checkout's path relative to `~/code`, or to `/` outside it -- 2.52.0 From 8d321e6ae2bf213ac62ab17fb549ed7430faef73 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sat, 3 Oct 2026 20:40:09 +0200 Subject: [PATCH 4/4] Answer prose round 3: nothing to change -- 2.52.0