From cf46cde1ecc6e03c90965e54f953af5f7fadf30a Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Wed, 18 Nov 2026 22:43:33 +0100 Subject: [PATCH 1/5] Give the stalled-fetch test a timeout that a loaded runner's reading-cost fits in --- bin/chunk_preflight/test_chunk_preflight.py | 5 +- docs/reading-cost.md | 51 +++++++++++++++++++++ 2 files changed, 54 insertions(+), 2 deletions(-) diff --git a/bin/chunk_preflight/test_chunk_preflight.py b/bin/chunk_preflight/test_chunk_preflight.py index 545cede4..579098b9 100644 --- a/bin/chunk_preflight/test_chunk_preflight.py +++ b/bin/chunk_preflight/test_chunk_preflight.py @@ -302,8 +302,9 @@ class ChunkPreflightTool(unittest.TestCase): def test_reads_origin_as_last_fetched_where_the_fetch_stalls_and_still_states_the_other_facts(self): repo = Repo(self) - repo.stub_git(f'"fetch --quiet origin") exec {shutil.which("sleep")} 10;;') - done = repo.preflight("--worktree", CHUNK_PREFLIGHT_TIMEOUT="1") + repo.stub_git(f'"fetch --quiet origin") exec {shutil.which("sleep")} 30;;') + # The timeout also bounds `reading-cost`, so it stays well above what that takes on a loaded runner. + done = repo.preflight("--worktree", CHUNK_PREFLIGHT_TIMEOUT="5") self.assertEqual(done.returncode, 0, done.stderr) self.assertIn("as last fetched", done.stdout) self.assertIn("item 3, L 2, E + I 5", done.stdout) diff --git a/docs/reading-cost.md b/docs/reading-cost.md index e75dccc4..6525141c 100644 --- a/docs/reading-cost.md +++ b/docs/reading-cost.md @@ -2837,3 +2837,54 @@ Read most (opens and searches): - `bin/rule_hook/reviewer_rung.py` 2 - `docs/decisions.md` 2 - `skills/larv-review/SKILL.md` 2 + +## Reading cost, chunk 3285838bc2a8, finished 2026-11-18T19:24:08Z + +82417 new input tokens before the first commit. + +Read most (opens and searches): + +- `bin/do_epic/backend/test_jira.py` 5 +- `bin/plan_store/jira_epic.py` 5 +- `bin/do_epic/test_ranking.py` 4 +- `bin/do_epic/backend/contract.py` 3 +- `README.md` 2 +- `bin/do_epic/backend/fake.py` 2 +- `bin/do_epic/backend/jira.py` 2 +- `bin/do_epic/backend/protocol.py` 2 +- `bin/do_epic/ranking.py` 2 +- `bin/plan_store/test_jira_epic.py` 2 + +## Reading cost, chunk 410d6dbe665d, finished 2026-11-18T19:41:25Z + +159659 new input tokens before the first commit. + +Read most (opens and searches): + +- `bin/project_config/settings.py` 7 +- `README.md` 6 +- `bin/larv_review/test_larv_review.py` 5 +- `bin/project_config/main.py` 5 +- `skills/larv-review/SKILL.md` 5 +- `bin/larv_review/reviewer_header.py` 4 +- `bin/project_config/test_project_config.py` 4 +- `CLAUDE.md` 3 +- `agents/stability-reviewer.md` 3 +- `bin/chunk_pr/main.py` 3 + +## Reading cost, chunk 93fadde84de7, finished 2026-11-18T21:42:40Z + +106794 new input tokens before the first commit. + +Read most (opens and searches): + +- `bin/rule_hook/test_rule_hook.py` 6 +- `bin/rule_hook/main.py` 5 +- `bin/rule_hook/rules.py` 5 +- `bin/command_lines/shell_command.py` 3 +- `bin/rule_hook/call.py` 3 +- `settings.json` 3 +- `bin/rule_hook/heavy_command.py` 2 +- `README.md` 1 +- `bin/rule_hook/endless_wait.py` 1 +- `bin/rule_hook/env_file.py` 1 -- 2.52.0 From 34605579b8b3df9b64c1e837f17e011108e47419 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Wed, 18 Nov 2026 22:45:47 +0100 Subject: [PATCH 2/5] =?UTF-8?q?Answer=20prose=20round=201:=200=20?= =?UTF-8?q?=F0=9F=94=B4,=200=20=F0=9F=9F=A1=20(0=20misread);=20reword=20th?= =?UTF-8?q?e=20timeout=20comment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/chunk_preflight/test_chunk_preflight.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/chunk_preflight/test_chunk_preflight.py b/bin/chunk_preflight/test_chunk_preflight.py index 579098b9..f94dfb76 100644 --- a/bin/chunk_preflight/test_chunk_preflight.py +++ b/bin/chunk_preflight/test_chunk_preflight.py @@ -303,7 +303,7 @@ class ChunkPreflightTool(unittest.TestCase): def test_reads_origin_as_last_fetched_where_the_fetch_stalls_and_still_states_the_other_facts(self): repo = Repo(self) repo.stub_git(f'"fetch --quiet origin") exec {shutil.which("sleep")} 30;;') - # The timeout also bounds `reading-cost`, so it stays well above what that takes on a loaded runner. + # The timeout also stops `reading-cost`, so it is set well above the seconds `reading-cost` takes on a loaded runner. done = repo.preflight("--worktree", CHUNK_PREFLIGHT_TIMEOUT="5") self.assertEqual(done.returncode, 0, done.stderr) self.assertIn("as last fetched", done.stdout) -- 2.52.0 From 0d3bdca5d9511bd55dcdae23ad91c346eb495150 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Wed, 18 Nov 2026 22:45:47 +0100 Subject: [PATCH 3/5] =?UTF-8?q?Answer=20stability=20round=201:=200=20?= =?UTF-8?q?=F0=9F=94=B4,=200=20=F0=9F=9F=A1=20(0=20misread);=20none?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -- 2.52.0 From 2a500230f5ec62a80e638975ee04e6e6e2e184bb Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Wed, 18 Nov 2026 22:45:47 +0100 Subject: [PATCH 4/5] =?UTF-8?q?Answer=20security=20round=201:=200=20?= =?UTF-8?q?=F0=9F=94=B4,=200=20=F0=9F=9F=A1=20(0=20misread);=20none?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -- 2.52.0 From d413ee640a388b2ab001b87bfbe8149988b90ddb Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Wed, 18 Nov 2026 22:45:57 +0100 Subject: [PATCH 5/5] Finish item 439 in the plan --- todo.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/todo.md b/todo.md index b71ea336..c08a0910 100644 --- a/todo.md +++ b/todo.md @@ -12,7 +12,6 @@ | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| -| 439 | 0.12.0 | | | **Make the stalled-fetch test in chunk-preflight pass on a loaded CI runner.** | 1 | 1 | 1 | 1 | 2 | code health by 2 | 3.5 | | 410 | 0.12.0 | | | **Run `do-epic `: one tmux session per epic, a window per chunk, up to the epic's cap of running chunks and each repo's `parallel-chunks`, and never in a repo a loop-claude is running chunks in.** | 3 | 2 | 3 | 6 | 6 | 1 by 5 | 0.8 | | 416 | 0.12.0 | 410 | | **Finish an epic's repo item with a bullet under its repo's `CHANGELOG.md` → `## Unreleased`, or with none where the repo's plan is in Jira.** | 1 | 1 | 1 | 1 | 2 | 1 by 5 | 2.1 | | 413 | 0.12.0 | 410 | | **File a finding about an epic goal in the epic and one about a repo goal by that repo's rules, ask the human where unsure which, and give the judge the epic's records beside the repo's.** | 3 | 2 | 3 | 6 | 4 | 1 by 5 | 1.6 | @@ -77,13 +76,6 @@ ## Details -### 439. Make the stalled-fetch test in chunk-preflight pass on a loaded CI runner. - -CI run 6716 on PR #617 failed once, in `bin/chunk_preflight/test_chunk_preflight.py::ChunkPreflightTool::test_reads_origin_as_last_fetched_where_the_fetch_stalls_and_still_states_the_other_facts`, and passed on a rerun of the same commit. The test sets `CHUNK_PREFLIGHT_TIMEOUT=1` for the stalled fetch, and a loaded runner takes longer than one second for `reading-cost`, so `reading-cost exited 0` is missing from the output. A rerun costs about five minutes of CI per occurrence. - -Touches: -- `bin/chunk_preflight/test_chunk_preflight.py`: `test_reads_origin_as_last_fetched_where_the_fetch_stalls_and_still_states_the_other_facts` - ### 410. Run `do-epic `: one tmux session per epic, a window per chunk, up to the epic's cap of running chunks and each repo's `parallel-chunks`, and never in a repo a loop-claude is running chunks in. The lock that keeps do-epic and loop-claude apart is the per-project `starting` flock, shared by both (`docs/decisions.md` → `do-epic: drives one Jira epic …`). Each chunk routes on its repo's model and ladder, a no-repo chunk on the machine setting's model. `loop/chunk_windows.py` `start_chunks` is a place the seats found hard: make it easier to read where it changes. Where a do-epic cycle's worker, judge or human reads the driver's name, they read do-epic, never loop-claude: item 401 left `agent_cycle`'s own text naming loop-claude, since whether the markers that code matches (`TYPED_HERE`, `TRANSCRIPT_HEADING`) vary by driver depends on what do-epic calls itself and where it archives its cycles. The worker's prompt and the judge's rules share the phrase a worker asks for a higher rung with, so both take it from one place. -- 2.52.0