diff --git a/README.md b/README.md index 3ccdeb72..e495bfab 100644 --- a/README.md +++ b/README.md @@ -311,7 +311,7 @@ Install puts only `loop-claude` on `PATH`; call the others by their path, such a - `judge_replay` imports `agent_cycle`'s judge and verdicts, and `chunk_driver`'s premises, records and `ANSWER_DESTINATIONS`. - `routing_figures/` measures loop-claude's archive, and each of its projects' default branches, for loop-claude's routing calls. - `rung_replay/` holds what `judge_replay` and `review_replay` share: the parallel replay runner, the argument reader, the candidate rungs and the exits, and `judge_replay`'s rung search. It reads `agent_cycle`'s retry count and `chunk_driver`'s models file, and finds that file through `loop_state`'s paths. Its `archive.py` keeps each replay's runs and its report in a `replays/` folder of loop-claude's archive. -- `task_bench/` holds `task-bench`, which has Haiku fix, build or add a task in containers: a bug planted in a project's Go, PHP, Python, Rust, TypeScript and JavaScript files (`bugs/`), or one of the project's bench features, its data sources or the features its history shipped (`features/`). `figures/` measures the runs and holds `task-bench gather`. It imports `mutate_changes`' rule for which files are tests (`changed_lines.is_test`), its list of mutation tools and its process runner. +- `task_bench/` holds `task-bench`, which has Haiku fix, build or add a task in containers: a bug planted in a project's Go, PHP, Python, Rust, TypeScript and JavaScript files (`bugs/`), or one of the project's bench features, its data sources or the features its history shipped (`features/`). `figures/` measures the runs and holds `task-bench gather`. `task_bench` imports three things from `mutate_changes`: the rule for which files are tests (`changed_lines.is_test`), the runners of the mutation tools, and the process runner (`tool_process`). #### The shell, the machine and text diff --git a/bin/forge/pulls.py b/bin/forge/pulls.py index 783ed7dc..6d57f69c 100644 --- a/bin/forge/pulls.py +++ b/bin/forge/pulls.py @@ -19,7 +19,7 @@ PAGE_SIZE = 50 PUSH_SECONDS = 60 PUSH_POLL_SECONDS = 5 # What gh says of a pull request whose head has no check. gh exits 1 for it, as for a failed check, so only the text tells the two apart. gh -# doesn't document the text; it is read from gh 2.102.0's `pr checks`, whose source words it "no checks reported on the '' branch". +# doesn't document the text; gh 2.102.0's `pr checks` prints "no checks reported on the '' branch". NO_CHECKS = "no checks reported" @@ -103,7 +103,7 @@ def ready_pulls(forge: Forge, run: Run) -> list[ReadyPull] | Failure: rows = [line.split("\t") for line in listed.splitlines()] found = [ReadyPull(*row[:3]) for row in rows if row[3:] == ["false", "false"]] else: - # A limit: an awaited pull request past the first page of open ones, drafts and forks counted, is not seen. + # A limit: this reads one page of the open pull requests, drafts and forks counted, so an awaited one past that page is not seen. pulls = gitea(run, f"repos/{{owner}}/{{repo}}/pulls?state=open&limit={PAGE_SIZE}") if isinstance(pulls, Failure): return pulls diff --git a/bin/mutate_changes/changed_lines.py b/bin/mutate_changes/changed_lines.py index 399b3433..b47666c0 100644 --- a/bin/mutate_changes/changed_lines.py +++ b/bin/mutate_changes/changed_lines.py @@ -41,7 +41,7 @@ def tool_for(path: str) -> str | None: def is_test(path: str) -> bool: - """Whether path is a test by its name or folder alone, as pytest, Go, PHPUnit, `node --test` or a `tests` folder tells it.""" + """Whether path is a test by its name or folder alone, as pytest, Go, PHPUnit or `node --test` finds one, or by a folder in TEST_FOLDERS.""" folders, name = posixpath.split(path) return bool(TEST_FOLDERS & set(folders.split("/")) or TEST_NAME.fullmatch(name)) diff --git a/bin/plan_store/todo_md.py b/bin/plan_store/todo_md.py index 24e4960f..d99eafbd 100644 --- a/bin/plan_store/todo_md.py +++ b/bin/plan_store/todo_md.py @@ -99,7 +99,7 @@ class FilePlan: """What `rank_todo.py --check` says of the file without failing on it: which items of its earliest release hold no `Touches:` list. The line states that, with no instruction to its reader: `chunk-preflight` quotes it into every chunk's facts, and only the fact of `chunk_preflight.facts.unpredicted_lines` has a subagent write the lists.""" - # A person who runs `rank_todo.py --check` by hand sees this warning. Which lists count as missing has one home, `plan.touches.unpredicted`. + # The warning is for a person who runs `rank_todo.py --check` by hand, whom chunk-preflight's facts don't reach. plan = self.read() if isinstance(plan, Failure): return [] diff --git a/skills/larv-review/SKILL.md b/skills/larv-review/SKILL.md index 36b6ce2d..657055c6 100644 --- a/skills/larv-review/SKILL.md +++ b/skills/larv-review/SKILL.md @@ -127,7 +127,7 @@ A fix that fits no row doesn't rerun any pass. So none of these does: A comment or doc edit inside a fix for another pass's finding adds no pass: no row reruns Prose for it. -One fix weakens a test, as the 🟡 row for that says, and still doesn't rerun the pass: a fix that only kills a named mutant or makes a named failing test pass, once §2's tests and mutation command run clean on it and the named failing test is unedited ("Mechanical answers"). A skipped test kills no mutant. +One fix doesn't rerun the pass, though the row "weakens a test" names its kind: a fix that only kills a named mutant or makes a named failing test pass, once §2's tests and mutation command run clean on it and the named failing test is unedited ("Mechanical answers"). A skipped test kills no mutant. A round's fixes re-enter together: run every pass the table names for any of them, a done pass included, in the waves of "Waves", then §4. "Mechanical answers" below names the one case where the fixes for a 🔴 don't rerun its pass. A pass at its cap doesn't run again ("Round cap" → "Cap"). diff --git a/todo.md b/todo.md index 48a0441c..6d04dad7 100644 --- a/todo.md +++ b/todo.md @@ -384,7 +384,7 @@ Group `bin/` by concern, one package level per group, with the launchers left at - `integrations/`: `atlassian`, `adf_codec`, `rest_client` and `notifier`. - `loop/`: `loop_claude`, `loop_effects`, `loop_state`, `model_routing`, `transcript_archive` and `routing_figures`. - `review/`: `larv_review`, `branch_chunks`, `review_rules`, `judge_replay`, `review_replay`, `rung_replay`, `score_outcomes`, `metric_bench`, `reading_cost`, `command_patterns` and `mutate_changes`. -- `ship/`: `chunk_pr`, `chunk_preflight` and `deploy_release`, beside the shared forge module `bin/forge/`, which keeps its name. +- `ship/`: `chunk_pr`, `chunk_preflight` and `deploy_release`. The shared forge module `bin/forge/` stays at the root of `bin/`, since packages outside `ship/` import it. - `host/`: `git_cli`, `command_lines`, `claude_code`, `machine_load`, `run_heavy`, `run_tests`, `text_files`, `wait_for`, `rule_hook` and `subagent_rung`. `repo_checks` stays at the root, since it tests the repo, not a tool. The README's `bin/` list then becomes seven short groups. That list is a place the comprehension seats found hard (`README.md` → the `bin/` package list): make it easier to read.