Answer principles round 1: 0 🔴, 5 🟡; make the routing.py and prompts.py module docstrings true and short, drop the routing_check copy of the figures, rename judge_rung's local, and keep the help's 20

This commit is contained in:
2026-10-23 03:10:31 +02:00
parent aa9a4cb78b
commit a81f878f92
6 changed files with 18 additions and 24 deletions
+5 -5
View File
@@ -61,11 +61,11 @@ without it. Each verdict, interrupt, quoted answer, stop and step-up in the arch
Worker: line, the route's JSON record (Route.record in bin/model_routing/route.py); a rerun
resumes an open chunk on the latest route named there.
Every CYCLES_PER_CHECK cycles across all projects in the archive, the first loop to close one
measures every finished chunk there, with no model run, and writes routing-figures.md at the
archive's root (bin/routing_figures/measure.py). Each call the figures make for a routing change
that was not raised before is an interrupt: claude, on the project's model, on the terminal in
~/.claude, asked to put the calls to the human. Once that claude ends, the calls are listed in
Every 20 cycles across all projects in the archive, the first loop to close one measures every
finished chunk there, with no model run, and writes routing-figures.md at the archive's root
(bin/routing_figures/measure.py). Each call the figures make for a routing change that was not
raised before is an interrupt: claude, on the project's model, on the terminal in ~/.claude, asked
to put the calls to the human. Once that claude ends, the calls are listed in
routing-calls-raised.md beside the figures, and not raised again. Off a terminal, the calls are
said on stderr, the loop goes on, and they are raised again at the next measurement.
+1 -3
View File
@@ -1,6 +1,4 @@
"""Every CYCLES_PER_CHECK cycles across all projects, measure the archive's routing figures, keep them at its root, and interrupt the human with each call for a routing change not raised before: docs/decisions.md → `routing:`.
The figures are routing_figures/measure.py's: tokens by project, subagent type, rung and the tool whose results they took in, and for each chunk a todo.md item routed, its review rounds past each pass's first, its unfinished verdicts and its subagents' rungs. A chunk that cannot be read is skipped and named in the figures. A figure that cannot be measured or written is said on stderr and the loop goes on."""
"""Every CYCLES_PER_CHECK cycles across all projects, measure the archive's routing figures, keep them at its root, and interrupt the human with each call for a routing change not raised before: docs/decisions.md → `routing:`."""
import pathlib
import sys