Answer stability round 1: 1 🔴, 8 🟡; read each cycle's route from its own outcomes file, skip and name an unreadable chunk, and test the rungs, names, token edge cases, call boundaries, render order and stamps

This commit is contained in:
2026-10-15 01:00:40 +02:00
parent ad3f1d3cad
commit a389a670a2
7 changed files with 119 additions and 27 deletions
+2 -2
View File
@@ -73,8 +73,8 @@ calls to the human. Once that claude ends, the calls are listed in routing-calls
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. A line `- <UTC time> Reset` in
routing-calls-raised.md restarts both: the figures count only chunks that finished after it, and a
call raised before it may be raised again. A figure that cannot be measured or written is said on
stderr, and the loop goes on.
call raised before it may be raised again. A chunk that cannot be read is skipped and named in the
figures; figures that cannot be measured or written are said on stderr, and the loop goes on.
A change to bin/loop-claude or any bin/**/*.py takes effect at the next cycle boundary, once
loop-claude --help succeeds: the loop reloads into the edited script.
+1 -1
View File
@@ -36,7 +36,7 @@ def new_calls(root: pathlib.Path, paths: Paths, effects: Effects) -> list[str] |
measured = archive.measure_archive(root, str(paths.home), kept.since)
if isinstance(measured, Failure):
return measured
figures = totals(measured)
figures = totals(measured.chunks, measured.skipped)
found = calls(figures)
if unwritten := archive.write_figures(root, render(figures, found, utc(effects.now()), cycle, kept.since)):
return unwritten