diff --git a/todo.md b/todo.md index 5a9c018d..81418de0 100644 --- a/todo.md +++ b/todo.md @@ -6,16 +6,17 @@ `Bar = 0.1` -`Next ID = 245` +`Next ID = 246` ## Items | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| +| 245 | 0.4.0 | | owner | **Run the test suite once, on the latest stable Python alone, with its test files spread across the machine's CPUs, so a full run takes under a minute instead of about 3.3.** | 3 | 1 | 2 | 4 | 4 | 1.5 by 5 | 3.2 | | 234 | 0.4.0 | | | **Report the routing figures in dollars, cache reads included, from the cost each archived run records.** | 2 | 2 | 2 | 4 | 3 | 1.4 by 3 | 3.0 | -| 239 | 0.4.0 | | owner | **Block a Read, `cat`, `sed` or `head` of a file range already in the session's context, with a note saying so, and let it through once a compaction dropped the range or the file changed.** | 3 | 2 | 3 | 6 | 4 | 1.4 by 3 | 2.0 | -| 244 | 0.4.0 | | owner | **Open every line loop-claude prints to its terminal with the machine's local time, as in `2026-10-28 11:46:01`.** | 2 | 2 | 1 | 3 | 3 | 1.5 by 2 | 1.9 | -| 243 | 0.4.0 | | owner | **Show every loop-claude on the machine that waits for the human in one terminal app, and let the human answer each one there, `/talk` included.** | 4 | 2 | 3 | 7 | 6 | 1.5 by 4 | 0.9 | +| 239 | 0.4.0 | 245 | owner | **Block a Read, `cat`, `sed` or `head` of a file range already in the session's context, with a note saying so, and let it through once a compaction dropped the range or the file changed.** | 3 | 2 | 3 | 6 | 4 | 1.4 by 3 | 2.0 | +| 244 | 0.4.0 | 245 | owner | **Open every line loop-claude prints to its terminal with the machine's local time, as in `2026-10-28 11:46:01`.** | 2 | 2 | 1 | 3 | 3 | 1.5 by 2 | 1.9 | +| 243 | 0.4.0 | 245 | owner | **Show every loop-claude on the machine that waits for the human in one terminal app, and let the human answer each one there, `/talk` included.** | 4 | 2 | 3 | 7 | 6 | 1.5 by 4 | 0.9 | | 226 | 0.5.0 | | question | **Answer whether rule-hook's `run-heavy` rule should also catch a mutation run or docker build behind `uv run`, `poetry run`, `python3 -m`, `sudo`, `docker image build` and `docker compose up --build`, or narrow the `machine load:` decision's wording.** | 2 | 2 | 3 | 5 | 3 | 1.2 by 2, 1.5 by 2 | 4.0 | | 235 | 0.5.0 | | decision | **Compare the first 20 chunks whose worker ran under the 200k compaction window with the 20 before them, on review rounds past each pass's first, unfinished verdicts, 🔴, 🟡 and misread findings, dollars and hours per chunk, and file an item where any rose.** | 1 | 2 | 1 | 2 | 2 | 1.1 by 2, 1.4 by 3 | 6.8 | | 167 | 0.5.0 | | | **Refuse a `/security-review` or `/claude-security` Skill call below the project's rung, as rule-hook refuses such an Agent call.** | 3 | 2 | 3 | 6 | 2 | 1.1 by 4 | 5.6 | @@ -79,6 +80,16 @@ ## Details +### 245. Run the test suite once, on the latest stable Python alone, with its test files spread across the machine's CPUs, so a full run takes under a minute instead of about 3.3. + +lilleman's call, 2026-10-28: support only the latest stable Python, today 3.14, and drop every older one. It blocks the other 0.4.0 items so their chunks get the faster runs. Measured on 2026-10-28, on a 16-CPU machine: 765 tests in 198 s at 68% of one CPU. 102 s of that is `repo_checks/test_python_floor.py` rerunning the whole suite on 3.11. About 50 s is `loop_claude/test_black_box.py`, whose tests start loop-claude, a fake claude and git repos, 1 to 8 s each. About 30 s is the other tests that start the tools. mypy takes 3 s with its cache off. + +- Drop the floor rerun, `test_python_floor.py` and `readme_floor`, and make README Install ask for the latest stable Python as `python3`. Run mypy for that version. +- Replace `docs/decisions.md` → `bin/: the tests rerun themselves on a uv-fetched Python at README Install's floor` with the new rule, and update its title in `AGENTS.md`. Check that `bin/: the tools and their tests run on the host's Python` still holds. +- Spread the test files across the CPUs, with a small runner or pytest-xdist through `uvx`, and give README's Test line the one command that does it. Keep plain `python3 -m unittest` working. +- In `run_on_terminal` in `test_black_box.py`, check for the prompt every 50 ms instead of every second. +- Then, if the run is still over a minute, have the black-box tests copy one prepared git repo per class instead of building one per test. + ### 234. Report the routing figures in dollars, cache reads included, from the cost each archived run records. The routing figures count input, cache-written and output tokens, and leave out cache reads, which were 28% of the cost since 2026-10-21, $340 of $1,215 at list prices. So their tables rank the principles auditor above the worker, while in dollars the worker cost 1.4 times as much, $375 against $274. Each archived worker transcript ends with a `cost-state` entry holding `totalCostUSD` and each model's cost, and each message's usage attributes the cost to a subagent type. The judge's runs record no cost in the archive: count them too, or say why not. The change touches `bin/routing_figures/measure.py`, which the comprehension seats found hard (item 139): make the places it touches easier to read.