From 7ad78cd6e3c177b29e028f922c4951c67201e4b2 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sun, 8 Nov 2026 20:57:00 +0100 Subject: [PATCH] Name every shared package in README's import-root paragraph, fold the ranking facts into release_plan's bullet, and name rank_todo.py --help in item 274 --- README.md | 18 ++++++++---------- todo.md | 2 +- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 09b88f37..45a8ef76 100644 --- a/README.md +++ b/README.md @@ -125,28 +125,26 @@ pytest_add_cli_args=-k Then, in the copy: `uvx --with pytest==9.2.0 'mutmut>=3,<4' run && uvx --with pytest==9.2.0 'mutmut>=3,<4' results`, and `uvx --with pytest==9.2.0 'mutmut>=3,<4' show ` to see a mutant's change. The config keys are mutmut 3's. -`bin/` is the import root: each launcher puts it on `sys.path`, so a module imports another by its path under `bin/`, such as `from claude_code.entries import parse_entry`. Each tool's package holds its tests. `bin/`'s root holds only the launchers, the stand-alone tools with their tests, `test_env.py` and `failure.py`. `failure.py` stays there because its `Failure`, the value every module returns for a failed step, fits no one package's purpose. `claude_code/`, `command_lines/`, `git_cli/`, `records/`, `release_plan/`, `review_rules/` and `transcript_archive/` serve more than one tool. +`bin/` is the import root: each launcher puts it on `sys.path`, so a module imports another by its path under `bin/`, such as `from claude_code.entries import parse_entry`. Each tool's package holds its tests. Beside the packages, `bin/`'s root holds only the launchers, the tools of one file with their tests, `test_env.py` and `failure.py`. `failure.py`'s `Failure`, which modules across `bin/` return for a failed step, belongs to no single package. `branch_chunks/`, `claude_code/`, `command_lines/`, `git_cli/`, `machine_load/`, `model_routing/`, `records/`, `release_plan/`, `review_rules/`, `rung_replay/` and `transcript_archive/` serve more than one tool. - `branch_chunks/` cuts a default branch into chunks and finds, for each, the items it shipped and the later chunks that fixed its code, for `score_outcomes` and `routing_figures`. It imports `reading_cost`'s record path. -- `command_lines/` reads a shell command: its simple commands, and what a docker call in it asks, for `rule_hook`, `run_heavy`, `reading_cost` and `routing_figures`. -- `deploy_release` imports `chunk_preflight`'s `forge_of`, which tells a GitHub origin from a Gitea one, and `release_plan`'s `release_standing`, which says whether the next release is ready to cut. -- `git_cli/` runs git, through `git_repo.py`'s `git`, which every tool starts git with, and reads a git call in a shell command (`git_command.py`). +- `command_lines/` reads a shell command: its simple commands, and a docker call's subcommand and memory limits, for `reading_cost`, `routing_figures`, `rule_hook` and `run_heavy`. +- `deploy_release` imports `chunk_preflight`'s `forge_of`, which tells a GitHub origin from a Gitea one, and `release_plan`'s `release_standing`. +- `git_cli/` runs git for every tool (`git_repo.py`), and reads the git calls in a shell command (`git_command.py`). - `judge_replay` imports `loop_claude`'s judge. -- `larv_review` imports `release_plan`'s ranking. - `loop_claude` runs `chunk-preflight` as a process of its own. - `loop_inbox` imports `loop_claude`'s question files (`waiting/`), the files a running loop lists itself in (`running_loops.py`, `session_lock.py`), its effects and paths, and `hand_over.py`, which opens claude for `/talk`. A change to any of them changes loop-inbox too. - `machine_load/` takes the machine's heavy slots, its shared lock files, for `run_heavy`, and reads the memory share that loop-claude waits for. - `model_routing/` holds the routing ladder, which loop-claude, `rule_hook`, both replay tools and `subagent-rung` read. -- `rank_todo.py` launches `release_plan/ranking.py`; `settings_filter.py` and `statusline.py` are tools of one file each, tested beside them. -- `records/` reads the sections of the Markdown records the tools keep, stamps their entries in UTC, and writes the tools' files privately and whole. -- `release_plan/` reads `todo.md`'s items table, parses releases, says how the plan stands to the last release cut, and ranks the plan (`ranking.py`). +- `rank_todo.py`, `settings_filter.py` and `statusline.py` are tools of one file each, tested beside them. +- `records/` reads a Markdown file's `##` sections, quotes a passage and joins names into a list, stamps times in UTC, and replaces a file in one step, private where it is new. +- `release_plan/` reads `todo.md`'s items table and release versions, says which release is next and whether it is ready to cut (`release_standing.py`), and ranks the plan (`ranking.py`, which `rank_todo.py`, `larv_review` and `rule_hook` import). - `repo_checks/` tests the repo itself. - `review_rules/` holds the larv-review rules that several tools apply: its passes, its review folder, its round commit titles and the comprehension history's format. - `routing_figures/` measures loop-claude's archive, and each of its projects' default branches, for loop-claude's routing calls. -- `rule_hook` imports `release_plan`'s ranking check. - `rung_replay/` holds what `judge_replay` and `review_replay` share: the rung search, the argument reader, the candidate rungs and the exits. It reads `loop_claude`'s retry count and models file. - `test_env.py` serves the tests. -- `transcript_archive/` stores loop-claude's transcripts; its `project_key.py` names a project's archive folder, its loop-claude session and its entry in the models file. +- `transcript_archive/` stores loop-claude's transcripts. Its `project_key.py` names each project's archive folder, loop-claude session and models-file entry. ## Tracking a new file diff --git a/todo.md b/todo.md index 0577c3f9..faa2c165 100644 --- a/todo.md +++ b/todo.md @@ -183,7 +183,7 @@ Settle with the maintainer, and record in `docs/decisions.md`: - Which items count: a test, a gate leg or a probe that would fail where the goal breaks. A change that only claims the goal does not. -Then change `bin/release_plan/ranking.py` and its tests, `--help`, and `rules/todo-items.md`'s sentences on +Then change `bin/release_plan/ranking.py` and its tests, `rank_todo.py --help`, and `rules/todo-items.md`'s sentences on maintain goals and Moves. The decision of 2026-10-16 keeps its veto: an item that breaks a maintain goal is still redesigned or dropped.