|
|
|
@@ -6,19 +6,18 @@
|
|
|
|
|
|
|
|
|
|
`Bar = 0.1`
|
|
|
|
|
|
|
|
|
|
`Next ID = 237`
|
|
|
|
|
`Next ID = 238`
|
|
|
|
|
|
|
|
|
|
## Items
|
|
|
|
|
|
|
|
|
|
| ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score |
|
|
|
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
|
|
| 231 | 0.4.0 | | owner | **Lower what each chunk spends on context in dollars, then its hours, by the best means an ambitious evaluation finds, such as tooling that pinpoints what an agent reads and fresh or compacted contexts, with no loss of quality.** | 4 | 2 | 3 | 7 | 8 | 1.4 by 8, 1.5 by 4 | 0.7 |
|
|
|
|
|
| 232 | 0.4.0 | 231 | | **Launch a round's review passes in one message, except a pass that must wait for another's findings, so a round lasts about as long as its slowest reviewers, not their sum.** | 3 | 2 | 3 | 6 | 3 | 1.5 by 6 | 5.8 |
|
|
|
|
|
| 233 | 0.4.0 | 231 | | **Run one principles-auditor per round that checks the goals and every principles file that applies, in place of one auditor for each, so the principles pass reads the project once per round.** | 3 | 2 | 3 | 6 | 3 | 1.4 by 3, 1.5 by 2 | 4.9 |
|
|
|
|
|
| 234 | 0.4.0 | 231 | | **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 |
|
|
|
|
|
| 232 | 0.4.0 | | | **Launch a round's review passes in one message, except a pass that must wait for another's findings, so a round lasts about as long as its slowest reviewers, not their sum.** | 3 | 2 | 3 | 6 | 3 | 1.5 by 6 | 5.8 |
|
|
|
|
|
| 233 | 0.4.0 | | | **Run one principles-auditor per round that checks the goals and every principles file that applies, in place of one auditor for each, so the principles pass reads the project once per round.** | 3 | 2 | 3 | 6 | 3 | 1.4 by 3, 1.5 by 2 | 4.9 |
|
|
|
|
|
| 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 |
|
|
|
|
|
| 236 | 0.5.0 | | question | **Answer whether the principles audit keeps reading the whole project, or reads only the files the chunk changed and their callers, now that half of its 🔴 and 🟡 findings name a file the chunk did not edit.** | 1 | 1 | 1 | 1 | 1 | 1.4 by 4 | 6.4 |
|
|
|
|
|
| 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 | | | **Compare review rounds past each pass's first, unfinished verdicts, 🔴, 🟡 and misread findings, and dollars per chunk, for the first 20 chunks whose worker ran under the 200k compaction window against the 20 before them, and file an item where any rose.** | 1 | 2 | 1 | 2 | 2 | 1.1 by 2, 1.4 by 3 | 6.8 |
|
|
|
|
|
| 235 | 0.5.0 | | | **Compare review rounds past each pass's first, unfinished verdicts, 🔴, 🟡 and misread findings, dollars and hours per chunk, for the first 20 chunks whose worker ran under the 200k compaction window against the 20 before them, and file an item where any rose.** | 1 | 2 | 1 | 2 | 2 | 1.1 by 2, 1.4 by 3 | 6.8 |
|
|
|
|
|
| 59 | 0.5.0 | | | **Bound a run of unfinished verdicts on one chunk, so a worker and judge that disagree cannot cycle unattended without end.** | 2 | 1 | 3 | 4 | 3 | 1.4 by 6 | 6.0 |
|
|
|
|
|
| 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 |
|
|
|
|
|
| 6 | 0.5.0 | | decision | **Move what `loop-claude` writes out of `~/.claude.json`, and ask the human about each write that must stay.** | 3 | 3 | 3 | 7 | 3 | 1.1 by 5 | 5.3 |
|
|
|
|
@@ -30,6 +29,7 @@
|
|
|
|
|
| 139 | 0.6.0 | | | **Split `bin/routing_figures/measure.py` by concern, and keep the figures' measured cycle and each raised call as fields loop-claude reads back, not as the prose it renders.** | 3 | 1 | 2 | 4 | 5 | code health by 5, 1.4 by 5 | 11.0 |
|
|
|
|
|
| 158 | 0.6.0 | | decision | **Measure the fixed cost of a chunk from loop-claude's archive, in tokens and hours against its items' S, and set F in `Score = 100 * V / (2**S + F)` to it.** | 2 | 2 | 1 | 3 | 3 | 1.1 by 5, 1.4 by 5 | 10.3 |
|
|
|
|
|
| 215 | 0.6.0 | | | **Decode a reload's handed JSON with a decoder for `LoopRun` and its `Route`, in place of `decoded_as`'s generic one with its two sentinels and `Route.fits` hook.** | 2 | 1 | 3 | 4 | 3 | code health by 2 | 9.0 |
|
|
|
|
|
| 237 | 0.6.0 | | principle | **Give `judge` and `judge_once` in `bin/loop_claude/cycle/judge.py` a record of the inputs they share, in place of nine and eight parameters, or record why they stay.** | 2 | 1 | 2 | 3 | 3 | code health by 2 | 9.0 |
|
|
|
|
|
| 49 | 0.6.0 | | principle | **Check that `AGENTS.md` lists exactly the titles of `docs/decisions.md`.** | 1 | 1 | 1 | 1 | 2 | 1.1 by 6 | 8.4 |
|
|
|
|
|
| 105 | 0.6.0 | | decision | **Compare review rounds per pass and reading cost for the five chunks before and after the `worker:` decision moved the principles out of the worker's context, and file an item if either rose.** | 1 | 2 | 1 | 2 | 2 | 1.4 by 6 | 8.0 |
|
|
|
|
|
| 162 | 0.6.0 | | owner | **Script each step that 0.2.0's chunks repeated by hand and a program can compute, filing one item per step, and file this audit again for the next release.** | 2 | 2 | 1 | 3 | 3 | 1.4 by 4, 1.5 by 4 | 7.8 |
|
|
|
|
@@ -43,11 +43,11 @@
|
|
|
|
|
| 112 | 0.6.0 | | | **Count an item as shipped only where its chunk built it, so an item a chunk dropped from the plan gets no outcome.** | 3 | 2 | 2 | 5 | 3 | 1.1 by 6 | 6.3 |
|
|
|
|
|
| 124 | 0.6.0 | | decision | **Group the shared modules at `bin/`'s root into packages named by purpose, so the root holds only launchers and stand-alone tools.** | 4 | 1 | 3 | 6 | 6 | code health by 5, 1.4 by 3 | 5.7 |
|
|
|
|
|
| 81 | 0.6.0 | | principle | **Have `workflow-bench/bench.py` return each run's failure as a value, so one failed clone does not hide the later runs' results.** | 1 | 2 | 1 | 2 | 2 | 1.1 by 4 | 5.6 |
|
|
|
|
|
| 102 | 0.6.0 | | | **Give loop-claude's retry delay an environment override, so the black-box test stops replacing `time.sleep` through `sitecustomize`.** | 1 | 1 | 2 | 2 | 2 | 1.1 by 4 | 5.6 |
|
|
|
|
|
| 173 | 0.6.0 | | | **Have rule-hook's `todo-rank-check` run a worktree's own `bin/rank_todo.py` when the worktree is of this repo, so a branch that changes `todo.md`'s shape commits without an override.** | 2 | 1 | 3 | 4 | 2 | 1.1 by 2, 1.4 by 2 | 5.5 |
|
|
|
|
|
| 101 | 0.6.0 | | principle | **Have `larv_review/history_commands.py`'s `read_seats` take the time, the commit check and the history as inputs, so it parses and decides without effects.** | 2 | 1 | 2 | 3 | 3 | 1.1 by 5 | 5.3 |
|
|
|
|
|
| 110 | 0.6.0 | | decision | **Count, for each finished chunk, the later changes that fixed code it wrote, and show them beside its guessed E.** | 3 | 2 | 2 | 5 | 5 | 1.1 by 6, 1.4 by 6 | 4.9 |
|
|
|
|
|
| 12 | 0.6.0 | | | **Run the test suite in CI on every PR, or record in `docs/decisions.md` why the local run is enough.** | 3 | 2 | 1 | 4 | 4 | 1.1 by 6 | 4.2 |
|
|
|
|
|
| 102 | 0.6.0 | | | **Give loop-claude's retry delay and its memory read 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 | 4.2 |
|
|
|
|
|
| 135 | 0.6.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 | 4.2 |
|
|
|
|
|
| 171 | 0.6.0 | | decision | **Group the routing figures' review rounds by the reviewers' rung as well as the worker's, so a call blames a rung only for rounds its own reviews raised.** | 3 | 2 | 2 | 5 | 4 | 1.2 by 3, 1.4 by 3 | 4.0 |
|
|
|
|
|
| 196 | 0.6.0 | | decision | **Replay the architecture, principles, overrides and product-owner passes with `review-replay` on Opus 5.5 projects, record each run in the review-replay routing decision, and add any rung a run qualifies to `REPLAYED`.** | 2 | 2 | 3 | 5 | 2 | 1.4 by 3 | 4.0 |
|
|
|
|
@@ -71,37 +71,13 @@
|
|
|
|
|
| 51 | 0.6.0 | | principle | **Hand loop-claude's terminal output to an injected effect, so no storage or retry function prints.** | 2 | 1 | 3 | 4 | 5 | 1.1 by 5 | 2.1 |
|
|
|
|
|
| 169 | 0.6.0 | | | **Have rule-hook's `todo-rank-check` catch a `todo.md` that the same Bash call edits and then commits.** | 3 | 1 | 3 | 5 | 3 | 1.1 by 2 | 2.1 |
|
|
|
|
|
| 174 | 0.6.0 | | | **In a chunk no item routed, ask the worker to name each todo.md item it takes, with its L and E + I, so loop-claude can route on an item it takes in.** | 1 | 2 | 3 | 4 | 1 | 1.1 by 1 | 1.7 |
|
|
|
|
|
| 52 | 0.6.0 | | principle | **Move this checkout out of Claude Code's own directory, or record why it stays, since Claude Code loads its `AGENTS.md` as the user's instructions into every project's sessions.** | 4 | 3 | 4 | 9 | 6 | 1.1 by 4, 1.4 by 2 | 1.4 |
|
|
|
|
|
| 197 | 0.6.0 | | | **Let the human edit what they type at loop-claude's terminal questions with the arrow keys, so Left moves the cursor in place of printing `^[[D`.** | 2 | 2 | 3 | 5 | 2 | 1.5 by 1 | 1.3 |
|
|
|
|
|
| 52 | 0.6.0 | | principle | **Record why this checkout lives in Claude Code's own directory, or move it out and link it in.** | 4 | 3 | 4 | 9 | 6 | 1.1 by 4 | 0.9 |
|
|
|
|
|
| 170 | 0.7.0 | | decision | **Re-tune `WORKER_STEPS` and `REVIEW_STEPS` once 50 chunks have shipped under them, from how well L, E and I order their review rounds and 🔴 findings.** | 2 | 2 | 3 | 5 | 2 | 1.1 by 3, 1.4 by 5 | 10.9 |
|
|
|
|
|
| 218 | 0.7.0 | 170 | | **Drop `LEGACY_WORKER` from `bin/model_routing/route.py`, so `route_from` reads only JSON worker lines.** | 1 | 2 | 1 | 2 | 1 | code health by 2 | 14.4 |
|
|
|
|
|
|
|
|
|
|
## Details
|
|
|
|
|
|
|
|
|
|
### 231. Lower what each chunk spends on context in dollars, then its hours, by the best means an ambitious evaluation finds, such as tooling that pinpoints what an agent reads and fresh or compacted contexts, with no loss of quality.
|
|
|
|
|
|
|
|
|
|
lilleman's call, 2026-10-26: this is the plan's most important item, and it goes first. It runs on Fable 5.1 at max. An L of 4 routes the worker at most to Opus 5.5 at high, so the worker hands the evaluation and every edit to one subagent launched with `model fable, effort max`. The priorities, in order: context cost, then speed, and never at a loss of quality. Where the effect on quality is hard to tell, or very close, ask lilleman.
|
|
|
|
|
|
|
|
|
|
Measured on 2026-10-26 from loop-claude's archive, over the 104 worker runs and about 720 subagent runs since the routing figures' last reset on 2026-10-21, priced at list prices:
|
|
|
|
|
|
|
|
|
|
- The runs cost about $1,940, and cache reads, the context each turn reads again, are $985 of it. The routing figures leave cache reads out (item 234).
|
|
|
|
|
- Worker main threads are 53% of the cost. A worker starts at about 40k tokens of context and peaks at a median 189k, one in ten past 490k, the largest at 850k. Its turns above 200k are 64% of what workers cost.
|
|
|
|
|
- Bash output is 70% of the tool output a worker reads, most of it `cat`, `sed` and `head` of whole files. Principles auditors read 24M characters of files, each auditor reading the project anew.
|
|
|
|
|
|
|
|
|
|
loop-claude starts each chunk in a fresh session, which lilleman meant to keep context small (`docs/decisions.md` → `loop-claude: one session per project`). The context grows within a chunk, so that decision doesn't block any option below.
|
|
|
|
|
|
|
|
|
|
Evaluate at least these options, ambitiously, measuring each one's cost, hours and quality on comparable chunks:
|
|
|
|
|
|
|
|
|
|
- Code-structure tooling in place of Bash reads: Claude Code's LSP tool, a code-intelligence MCP server, a symbol or outline lookup.
|
|
|
|
|
- Tools that pinpoint lines, such as Read with an offset and a limit and Grep with context, in place of `cat`, `sed` and `head` of whole files, with a rule or hook that steers agents to those tools.
|
|
|
|
|
- Compaction: Claude Code's auto-compact at a lower threshold, or a smaller context window.
|
|
|
|
|
- A fresh context for the review phase, handed only the chunk's facts and the reviewers' verdicts.
|
|
|
|
|
- What a reviewer reads: the diff and the places it touches, in place of the whole project.
|
|
|
|
|
|
|
|
|
|
Judge quality by these figures per chunk, before and after: review rounds, unfinished verdicts, 🔴 and 🟡 findings, and findings that a later change fixes. Replay archived rounds with `review-replay` where it applies. Record each choice where `~/.claude/CLAUDE.md` → "Working loop", "Ask, don't guess" puts it, and file an item for each option worth doing later.
|
|
|
|
|
|
|
|
|
|
Items 232, 233 and 234 wait for this item. Item 233 changes what a reviewer reads, which this item evaluates; items 232 and 234 wait on lilleman's call alone.
|
|
|
|
|
|
|
|
|
|
### 232. Launch a round's review passes in one message, except a pass that must wait for another's findings, so a round lasts about as long as its slowest reviewers, not their sum.
|
|
|
|
|
|
|
|
|
|
Since 2026-10-21, all 1,372 Agent calls in workers' transcripts were one per message, 94% of them in the foreground, and waiting on subagents took 66% of a worker's active time. larv-review §3 orders the passes so no polish goes into code the architect restructures or the security pass rewrites. Keep that: a pass waits only for a pass whose findings could make its review a waste. Launch the rest of the round's passes, the principles auditors among them, in one message. Do the same for the passes a fix reruns, per §3 → "Re-entry".
|
|
|
|
@@ -112,7 +88,7 @@ Since 2026-10-21, 342 principles-auditor runs cost $274 at list prices, 23% of a
|
|
|
|
|
|
|
|
|
|
### 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 51% of the cost since 2026-10-21. So their tables rank the principles auditor above the worker, while in dollars the worker cost three times as much. 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.
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
### 236. Answer whether the principles audit keeps reading the whole project, or reads only the files the chunk changed and their callers, now that half of its 🔴 and 🟡 findings name a file the chunk did not edit.
|
|
|
|
|
|
|
|
|
@@ -122,9 +98,9 @@ Since 2026-10-21, 342 principles-auditor runs cost $274 at list prices, 23% of a
|
|
|
|
|
|
|
|
|
|
Found by review of PR #370. Today `uv run mutmut run`, `poetry run mutmut run`, `python3 -m mutmut run`, `sudo docker build .`, `docker image build .` and `docker compose up --build` pass the rule, which `docs/decisions.md` → `machine load: …` and `RULES["run-heavy"]` describe as blocking docker builds and mutation runs. The rule's own text says a gate script isn't checked since no program can tell it from a light one, so the human decides where the line sits. Say what the rule's "checked" text promises either way. Where the answer widens the rule, the change touches `heavy` in `bin/rule_hook/heavy_command.py`, which the comprehension seats found hard: make it easier to read.
|
|
|
|
|
|
|
|
|
|
### 235. Compare review rounds past each pass's first, unfinished verdicts, 🔴, 🟡 and misread findings, and dollars per chunk, for the first 20 chunks whose worker ran under the 200k compaction window against the 20 before them, and file an item where any rose.
|
|
|
|
|
### 235. Compare review rounds past each pass's first, unfinished verdicts, 🔴, 🟡 and misread findings, dollars and hours per chunk, for the first 20 chunks whose worker ran under the 200k compaction window against the 20 before them, and file an item where any rose.
|
|
|
|
|
|
|
|
|
|
`docs/decisions.md` → `loop-claude: the worker's claude compacts its context above 200k tokens…` expects a saving of about 6% of all spend with no rise in these figures. Measure from loop-claude's archive as that decision did: rounds past each pass's first and the 🔴, 🟡 and misread counts from the round commit titles, unfinished verdicts from the outcomes files, and dollars from each message's usage at list prices, cache reads included, which item 234 puts into the routing figures. A chunk ran under the window when its first worker started after that decision merged.
|
|
|
|
|
`docs/decisions.md` → `loop-claude: the worker's claude compacts its context before it fills a 200k window…` expects a saving of about 6% of all spend with no rise in the other figures. Measure from loop-claude's archive as that decision did: rounds past each pass's first and the 🔴, 🟡 and misread counts from the round commit titles, unfinished verdicts from the outcomes files, hours from the worker's first message to its last, and dollars at list prices, cache reads included, from the chunk's `cost-state` entry, which counts the compaction calls that no message's usage records; item 234 puts such dollars into the routing figures. A chunk ran under the window when its first worker started after that decision merged.
|
|
|
|
|
|
|
|
|
|
### 59. Bound a run of unfinished verdicts on one chunk, so a worker and judge that disagree cannot cycle unattended without end.
|
|
|
|
|
|
|
|
|
@@ -174,6 +150,10 @@ F is 8 until then, about one S 3 change, lilleman's call in PR #283. A chunk cos
|
|
|
|
|
|
|
|
|
|
Release 0.3.0's Mid A (PR #324 at c713910) named `bin/loop_claude/loop/reload.py:43` `decoded_as`: "a generic decoder with two sentinels and a duck-typed fits hook defined on Route". This lowers Shape: `decoded_as` is generic over any type, yet `decode_handed` calls it with one dataclass, `LoopRun`. Keep what it does today: a field added since the running script started may be missing, and a handed dataclass holding a field its `RETIRED` names decodes as None where its type allows None, and is rejected otherwise. Make `decoded_as` easier to read.
|
|
|
|
|
|
|
|
|
|
### 237. Give `judge` and `judge_once` in `bin/loop_claude/cycle/judge.py` a record of the inputs they share, in place of nine and eight parameters, or record why they stay.
|
|
|
|
|
|
|
|
|
|
Found by the principles audit of PR #376. "About seven things per level" in `principles/technical-principles.md`: `judge` takes nine parameters and `judge_once` eight, past the four or five for things that act on each other, with no recorded reason. Both take root, task, premises, records, entries, escalated_at, rung and effects, which one record could carry.
|
|
|
|
|
|
|
|
|
|
### 49. Check that `AGENTS.md` lists exactly the titles of `docs/decisions.md`.
|
|
|
|
|
|
|
|
|
|
DRY, in `principles/technical-principles.md`: the list is copied by hand, and sessions work from the copy.
|
|
|
|
@@ -238,10 +218,6 @@ Shape scored 6.25 in PR #257's run. `bin/` held about 30 entries then: 6 launche
|
|
|
|
|
|
|
|
|
|
"Errors as values", in `principles/technical-principles.md`, raised by the principles audit of PR #224: `bench.py` raises `KeyError` and `CalledProcessError`, and `pool.map` re-raises the first while the other threads run on unreported.
|
|
|
|
|
|
|
|
|
|
### 102. Give loop-claude's retry delay an environment override, so the black-box test stops replacing `time.sleep` through `sitecustomize`.
|
|
|
|
|
|
|
|
|
|
Found by the principles audit of PR #242. `bin/loop_claude/test_black_box.py:113-114` swaps the global `time.sleep`, the shape "Functional core, imperative shell" bans. An override of the delay lets the test run the code as production runs it.
|
|
|
|
|
|
|
|
|
|
### 173. Have rule-hook's `todo-rank-check` run a worktree's own `bin/rank_todo.py` when the worktree is of this repo, so a branch that changes `todo.md`'s shape commits without an override.
|
|
|
|
|
|
|
|
|
|
Raised by the overrides pass of PR #296. The hook imports the main checkout's `rank_todo.py`, so while a branch of this repo changes the table's shape, every commit touching `todo.md` needs a `todo-rank-check` override: 33 log lines across four branches, the score-outcomes, plan-136, plan-148 and item-146 ones. The hook then checks nothing, and the rule rests on the worker chaining the branch's own check. Run another repo's `bin/rank_todo.py` never: that would run its code before every commit.
|
|
|
|
@@ -260,6 +236,10 @@ The repo has no CI, so larv-review's gate is the local run, and larv-review's Ga
|
|
|
|
|
|
|
|
|
|
When CI runs a rule check, such as one of `bin/rule-hook`'s, let `<!-- rule-override <rule>: <reason> -->` in the PR body override it.
|
|
|
|
|
|
|
|
|
|
### 102. Give loop-claude's retry delay and its memory read environment overrides, so the black-box test stops replacing `time.sleep` and `machine_load.memory.MEMINFO` through `sitecustomize`.
|
|
|
|
|
|
|
|
|
|
Found by the principles audit of PR #242. `bin/loop_claude/test_black_box.py:113-114` 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` at lines 119-123. An override of each lets the test run the code as production runs it.
|
|
|
|
|
|
|
|
|
|
### 135. Fingerprint only the modules loop-claude imports, so editing another tool's code no longer reloads a running loop.
|
|
|
|
|
|
|
|
|
|
The maintainability senior and the inherited architect of PR #257's scoring run named `bin/loop_claude/loop/reload.py:38` `fingerprint` and `:50` `exec_if_edited`: the fingerprint covers every `bin/**/*.py`, so editing `statusline.py` or `rank_todo.py` re-execs a running loop. Make `fingerprint` easier to read.
|
|
|
|
@@ -390,14 +370,14 @@ The hook judges a call before it runs, and `changed` in `bin/rule_hook/todo_chec
|
|
|
|
|
|
|
|
|
|
The principles pass of PR #301 found that only `routed_by` in `bin/loop_claude/cycle/prompts.py` asks the worker to name each item it takes with its L and E + I, and `fresh` uses it only where an item routed the chunk. In an unrouted chunk the judge has no levels to report, so neither the taken-in L nor the taken-in E + I lifts the worker or the judge.
|
|
|
|
|
|
|
|
|
|
### 52. Move this checkout out of Claude Code's own directory, or record why it stays, since Claude Code loads its `AGENTS.md` as the user's instructions into every project's sessions.
|
|
|
|
|
|
|
|
|
|
"One owner per value" and "Prefer the vendor-neutral option", in `principles/technical-principles.md`: git, Claude Code and loop-claude all write `~/.claude`, kept apart only by the `.gitignore` allowlist, and the repo's records live in a vendor directory. Claude Code also loads `~/.claude/AGENTS.md`, this checkout's decision titles, as the user's instructions into every session of every project: 10.7k characters, about 2.7k tokens, in each of the 1,084 threads since 2026-10-21, about $25 of cache writes and reads at list prices, and a worker on another project reads this repo's decisions as if they held there.
|
|
|
|
|
|
|
|
|
|
### 197. Let the human edit what they type at loop-claude's terminal questions with the arrow keys, so Left moves the cursor in place of printing `^[[D`.
|
|
|
|
|
|
|
|
|
|
`bin/loop_claude/effects.py` hands loop-claude Python's builtin `input`, and nothing under `bin/` imports `readline`, so the terminal gets no line editing: fixing a typo means erasing back to it. `effects.input` reads the answer to both of loop-claude's questions: the interrupt, in `cycle/interrupt.py`'s `put_question`, and the pick of the project's model, in `project/model_choice.py`'s `ask_for_model`. Importing `readline` in `effects.py` gives both line editing, at two costs. It moves the prompt from stderr to stdout, while the question above it stays on stderr. `test_black_box.py` waits for the prompt on stderr. `readline`'s bracketed paste takes a pasted block whole, so an answer can hold several lines. `prompts.typed_answer` ends the answer at its first blank line, so the judge would read the rest of such a paste as loop-claude's words. The product-owner review of PR #308 raised the interrupt's case. lilleman, 2026-10-18: "Not super-important, but a bit irritating."
|
|
|
|
|
|
|
|
|
|
### 52. Record why this checkout lives in Claude Code's own directory, or move it out and link it in.
|
|
|
|
|
|
|
|
|
|
"One owner per value" and "Prefer the vendor-neutral option", in `principles/technical-principles.md`: git, Claude Code and loop-claude all write `~/.claude`, kept apart only by the `.gitignore` allowlist, and the repo's records live in a vendor directory. Claude Code also loads `~/.claude/AGENTS.md`, this checkout's decision titles, as the user's instructions into every session of every project: 10.7k characters, about 2.7k tokens, in each of the 1,084 threads since 2026-10-21, about $25 of cache writes and reads at list prices, and a worker on another project reads this repo's decisions as if they held there.
|
|
|
|
|
|
|
|
|
|
### 170. Re-tune `WORKER_STEPS` and `REVIEW_STEPS` once 50 chunks have shipped under them, from how well L, E and I order their review rounds and 🔴 findings.
|
|
|
|
|
|
|
|
|
|
`docs/decisions.md` → `routing: one ladder…` calls the steps a first guess. Start this item once 50 chunks have merged since PR #339 set today's steps, each shipping one item scored with L, E and I. By 2026-10-23, 15 had: those of items 117, 126, 122, 207, 130, 154, 186, 66, 121, 213, 137, 212, 214, 210 and 216. Then read `score-outcomes`' rank correlations for L, E and I and the routed-chunks table of `routing-figures.md`, and propose new steps to lilleman, whose call they are.
|
|
|
|
|