From 487f60b1da5212e0d23f95659430eb9bf91cbd71 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Tue, 1 Dec 2026 23:09:50 +0100 Subject: [PATCH] Drop item 194: release 0.17.0's LOOP_TEST_NOW already pins the test's clock; name that swap in item 102 and rename item 392's group --- todo.md | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/todo.md b/todo.md index e2d62fe9..48a0441c 100644 --- a/todo.md +++ b/todo.md @@ -52,11 +52,11 @@ | 471 | 0.23.0 | | | **Ship `jira-rest METHOD PATH [BODY]`, which makes one Jira Cloud REST call with the credentials of the project's config, or do-epic's, reading the env file itself, so an agent calls Jira without naming a file rule-hook guards.** | 2 | 2 | 4 | 6 | 3 | 1.6 by 3, 1.4 by 2 | 1.3 | | 149 | 0.23.0 | | decision | **Fill each release by priority up to a capacity it states, in place of the bar, and move what does not fit to a later release.** | 4 | 2 | 3 | 7 | 5 | 1.1 by 7 | 1.3 | | 165 | 0.23.0 | | | **Make this repo's tests assert the facts a prompt or help text carries in place of its sentences, and drop the tests that scan source or assert a constant.** | 3 | 2 | 1 | 4 | 5 | 1.1 by 4, 1.4 by 3 | 1.3 | -| 392 | 0.23.0 | | owner | **Group bin/'s packages by concern into seven folders (plan, records, integrations, loop, review, forge and host), so a newcomer finds a tool's neighbours in one place.** | 3 | 1 | 3 | 5 | 7 | code health by 4 | 1.3 | +| 392 | 0.23.0 | | owner | **Group bin/'s packages by concern into seven folders (plan, records, integrations, loop, review, ship and host), so a newcomer finds a tool's neighbours in one place.** | 3 | 1 | 3 | 5 | 7 | code health by 4 | 1.3 | | 456 | 0.23.0 | | | **Make the child-shell stop test pass under load, so a full test run doesn't fail on a race.** | 2 | 2 | 2 | 4 | 2 | 1.1 by 2, 1.5 by 2 | 1.3 | | 151 | 0.23.0 | | decision | **Keep 10 to 20 settled decisions per project as its goals' test set, and rerun them after a goal changes.** | 3 | 2 | 2 | 5 | 5 | 1.2 by 7 | 1.2 | | 68 | 0.23.0 | | principle | **Test `workflow-bench/compare.py`'s blinding and `bench.py`'s run plan.** | 2 | 1 | 1 | 2 | 4 | 1.1 by 5 | 1.2 | -| 102 | 0.23.0 | | | **Give loop-claude's retry delay, and the file it reads the machine's memory from, environment overrides, so the black-box test stops replacing `time.sleep` and `machine_load.memory.MEMINFO` through `sitecustomize`.** | 1 | 1 | 2 | 2 | 3 | 1.1 by 4 | 1.2 | +| 102 | 0.23.0 | | | **Give loop-claude's retry delay, its wall clock, and the file it reads the machine's memory from, environment overrides, so the black-box test stops replacing `time.sleep`, `time.time` and `machine_load.memory.MEMINFO` through `sitecustomize`.** | 1 | 1 | 2 | 2 | 3 | 1.1 by 4 | 1.2 | | 135 | 0.23.0 | | | **Fingerprint only the modules loop-claude imports, so editing another tool's code no longer reloads a running loop.** | 2 | 2 | 3 | 5 | 3 | 1.1 by 4 | 1.2 | | 443 | 0.23.0 | | | **Measure whether compacting a waiting worker's session cut the cost of 20 chunks with an interrupt, with quality holding.** | 2 | 2 | 1 | 3 | 3 | 1.4 by 4 | 1.1 | | 5 | 0.23.0 | | decision | **Key a project on its checkout's full path, and refuse to start while another session uses that key.** | 4 | 2 | 3 | 7 | 5 | 1.1 by 6 | 1.1 | @@ -83,7 +83,6 @@ | 518 | 0.23.0 | | | **Refuse `nothing`, `no one` and `nobody` after a verb or a preposition in everything Claude writes: files, commit messages, pull requests and Jira text before they are written, and chat replies by sending them back to be reworded.** | 3 | 2 | 3 | 6 | 5 | 1.1 by 4 | 0.7 | | 181 | 0.23.0 | | principle | **Have the test of a quoted answer's step-up assert the stepped rung's facts as literals, not through `prompts.rungs_held`.** | 1 | 1 | 1 | 1 | 1 | 1.1 by 2 | 0.7 | | 193 | 0.23.0 | | | **Narrow `numbered`'s mark to `Mark` by a typed lookup in place of `typing.cast`, so a mark added to the regex but not the lookup fails at run time, and one added to the lookup but not `Mark` fails mypy.** | 1 | 1 | 3 | 3 | 1 | 1.1 by 2 | 0.7 | -| 194 | 0.23.0 | | | **Make `test_waits_out_a_usage_limit_which_ends_a_run_of_failures` expect a usage-limit wait independent of the wall-clock time that passes during the run.** | 1 | 1 | 1 | 1 | 1 | 1.1 by 2 | 0.7 | | 519 | 0.23.0 | | | **Make stability-reviewer check that a test which runs git, or a script that runs git on another repository, isolates it from the caller's git environment.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.7 | | 534 | 0.23.0 | | | **Have the stability and product-owner reviewers follow three paths an outside reviewer found unchecked: the loser of a create race, a stored null reaching a typed parameter, and each documented outcome against the order of the code's branches.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.7 | | 535 | 0.23.0 | | | **Have stability-reviewer check four things an outside reviewer and two failed gate runs found unchecked: that a timeout bounds the I/O it wraps, that no early error hides an outcome's class, that a test takes its timestamps where the events happen, and that it waits for every state it depends on before it disrupts the system.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.7 | @@ -374,7 +373,7 @@ A release's capacity is a sum of its items' cost, as the formula counts it. Each A test audit across lilleman's projects on 2026-10-16 found 10 of 33 sampled tests in this repo pinning wording that is not the contract. Examples of these and other weak tests: many tests under `bin/loop_claude/`, `bin/chunk_driver/` and `bin/agent_cycle/` pin whole sentences of the question, archive, prompt or help text, up to about 750 characters. `test_every_exit_1_stop_has_its_clause_in_help` and `test_every_failed_judge_run_has_its_clause_in_help` parse the source with `ast` and list each `Stop(...)` and `Failure(...)` call by function name. `bin/model_routing/test_ladder.py` asserts `len(LADDER) == 6`. Rewrite each to the technical principles' test bullet: assert the facts the text must carry, such as an item ID, a rung or a model argument, and delete a test no real bug could fail. Before and after rewriting a test, run the mutation tool on the code it covers: every mutant the old test killed, the new one kills. -### 392. Group bin/'s packages by concern into seven folders (plan, records, integrations, loop, review, forge and host), so a newcomer finds a tool's neighbours in one place. +### 392. Group bin/'s packages by concern into seven folders (plan, records, integrations, loop, review, ship and host), so a newcomer finds a tool's neighbours in one place. The 0.11.0 release review's architecture pass, round 1, finding 9: `bin/` holds 43 packages, about 20 launchers and 10 root files at one level, and the README's two lists are its only index. lilleman chose, during that review, to file this regrouping for a later release instead of doing it in 0.11.0, since it moves every package and no defect lies behind it. @@ -385,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`. -- `forge/`: `chunk_pr`, `chunk_preflight` and `deploy_release`, where item 287's shared forge module lands. +- `ship/`: `chunk_pr`, `chunk_preflight` and `deploy_release`, beside the shared forge module `bin/forge/`, which keeps its name. - `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. @@ -413,9 +412,9 @@ Each case is a question the project settled and the answer it chose. A fresh-con The tests also cover `workflow-bench/bench.py`'s `permission_flags`, with a probe of a headless claude given its flags. It is denied a read outside the granted trees, a bare `git status`, and wrapper calls with `--output`, `--no-index`, a glued `-aF/abs`, `--fil=/abs` or a path outside the clone. A `cd && python3 …` acts on the clone only. It is allowed the wrapper's `log`, `diff`, `show`, `status`, `ls-files`, `add` and `commit -m`. `workflow-bench/test_review_git.py` tests the wrapper's refusals directly. -### 102. Give loop-claude's retry delay, and the file it reads the machine's memory from, environment overrides, so the black-box test stops replacing `time.sleep` and `machine_load.memory.MEMINFO` through `sitecustomize`. +### 102. Give loop-claude's retry delay, its wall clock, and the file it reads the machine's memory from, environment overrides, so the black-box test stops replacing `time.sleep`, `time.time` and `machine_load.memory.MEMINFO` through `sitecustomize`. -Found by the principles audit of PR #242. The `SITECUSTOMIZE` block in `bin/loop_claude/test_black_box.py` swaps the global `time.sleep`, the shape "Functional core, imperative shell" bans, and the audit of PR #376 found the same block swapping `machine_load.memory.MEMINFO`, the constant in `bin/machine_load/memory.py`. An override of each lets the test run the code as production runs it. +Found by the principles audit of PR #242. The `SITECUSTOMIZE` block in `bin/loop_claude/test_black_box.py` swaps the global `time.sleep`, the shape "Functional core, imperative shell" bans, and the audit of PR #376 found the same block swapping `machine_load.memory.MEMINFO`, the constant in `bin/machine_load/memory.py`. An override of each lets the test run the code as production runs it. Release 0.17.0 added a third swap to the block: `LOOP_TEST_NOW` replaces `time.time`, so the test of a usage limit's wait doesn't depend on the wall clock. The override of the wall clock replaces that swap too. ### 135. Fingerprint only the modules loop-claude imports, so editing another tool's code no longer reloads a running loop. @@ -609,10 +608,6 @@ The form is the word after another word inside a clause: ` nothing`, `