Measure each chunk's reading cost from its transcript and keep it in the comprehension history

This commit is contained in:
2026-10-08 15:40:43 +02:00
parent cefb297e14
commit 1b8142e7e5
14 changed files with 400 additions and 12 deletions
+8
View File
@@ -109,3 +109,11 @@ lilleman decided to ship each of these under the floor on the day listed. Each l
## the repo may name bender, bender-infra and ai-sandbox
2026-10-04, lilleman, answering the principles audit of PR #215. Serves goal 4, which keeps credentials, transcripts and memory files off the remote; the names of the host, its infrastructure project and the sandbox VM are none of those. Valid while the repo names them without their addresses or credentials.
## reading cost: loop-claude keeps each finished chunk's figure in its archive, and the next chunk's larv-review moves it into `docs/comprehension-history.md`
2026-10-08, lilleman. Serves goal 1.1: comprehension measured from real work, at no model cost (goal 1.4). loop-claude archives from the main checkout, outside any PR, so a tracked file it wrote there would dirty that checkout; the figure waits in the archive, and `bin/reading_cost.py` appends each one the history lacks, so a PR that never merges loses none. Rejected: loop-claude opening a PR of its own, one more PR per chunk and a tie to the forge; the worker measuring its own transcript before merging, which misses the chunk's tail. The figure counts tokens taken in, because workers read mostly through Bash and subagents, where parsed paths alone miss what they read. Valid while loop-claude archives every finished chunk.
## reading cost: a rise is the last 5 chunks' mean above the 5 before them, and keeps one standing plan item
2026-10-08, lilleman. Serves goal 1.1: comprehension never falls, so any rise counts. Per-chunk figures are noisy, so a flat trend rises about every other chunk; one standing item, refreshed rather than refiled, keeps that from flooding the plan. No published standard sets this threshold. Valid while figures arrive once per chunk.