Compare commits

...

22 Commits

Author SHA1 Message Date
lilleman 5bf5f8abe9 File items 608 and 609 in 0.19.0: check task-bench's token before planting, and refuse a tmux command that would kill the human's own server
CI / tests (pull_request) Successful in 4m24s
2026-12-07 00:32:08 +01:00
lilleman 1d150791da File item 607 in 0.19.0: keep the color theme a person picks in the loop's home across each rebuild of the home
CI / tests (pull_request) Successful in 4m22s
2026-12-07 00:26:55 +01:00
lilleman 1144fa0136 Merge release 0.18.1 into main
CI / tests (pull_request) Successful in 4m26s
2026-12-07 00:05:08 +01:00
lilleman 861ec44d30 Finish item 605 in the plan
CI / tests (pull_request) Successful in 7m11s
2026-12-06 23:52:07 +01:00
lilleman 92e6769130 Record the comprehension check: two scoring runs at 15dbff45, overall 6.38 and 6.63; refresh floor item 300 and file item 606
CI / tests (pull_request) Has been cancelled
2026-12-06 23:51:57 +01:00
lilleman 15dbff4572 Answer prose round 2: 0 🔴, 5 🟡 (0 misread); split the docs sentence and quote the docs, reword a negation, name README → Update as where sign-in comes before the first build
CI / tests (pull_request) Successful in 4m29s
2026-12-06 18:21:34 +01:00
lilleman 72df5befe6 Answer product-owner round 2: 0 🔴, 1 🟡 (0 misread); README says the home doesn't load the account's connectors, skills or plugins rather than keeping them out, that the moved skills stay as files in skills/.trash/ and how to remove them, and what Claude Code caches about the account; the backup clause the report suggested is left out, as README leaves the data folder out of backups; with prose round 2's reorder and list order 2026-12-06 18:21:34 +01:00
lilleman d68d18c8b8 Answer stability round 2: 0 🔴, 1 🟡 (0 misread); drop from item 605 the clause asking README to say the account lists one more device, which no source backs, with prose round 2's two wording fixes in the item 2026-12-06 18:21:34 +01:00
lilleman 752154e61a Name the account's role among what the home keeps of its profile, as its .claude.json holds
CI / tests (pull_request) Has been cancelled
2026-12-06 18:17:20 +01:00
lilleman 89728ef9bd Answer overrides round 1: 0 🔴, 0 🟡 (0 misread); no finding
CI / tests (pull_request) Successful in 6m27s
2026-12-06 17:57:04 +01:00
lilleman 5da645bab6 Answer prose round 1: 0 🔴, 8 🟡 (0 misread); reword the negations, the CLAUDE.md, .gitignore and docstring lines, drop the README claim about the account's signed-in sessions, which no source backs, and say what the account's profile holds
CI / tests (pull_request) Has been cancelled
2026-12-06 17:55:41 +01:00
lilleman 174a07cb99 Answer product-owner round 1: 0 🔴, 1 🟡 (0 misread); same fix as stability's; README says a new skill made in the home stays there, and the decision records that managed settings can't turn the account's skills, plugins or connectors back on and that macOS keys the Keychain sign-in to the home; with prose round 1's wording in both files 2026-12-06 17:55:41 +01:00
lilleman 02c12f773e Answer stability round 1: 0 🔴, 1 🟡 (0 misread); link only folders holding a SKILL.md, so a synced/ or .trash/ that 0.18.0 let Claude Code write into the clone is never linked back, with prose round 1's comment wording in home.py 2026-12-06 17:55:41 +01:00
lilleman 0dce89cc40 Answer security round 1: 0 🔴, 0 🟡 (0 misread); no finding 2026-12-06 17:48:46 +01:00
lilleman c7c66ddc14 Say in CLAUDE.md's vocabulary that the loop's home links each of the clone's skills from a folder of its own
CI / tests (pull_request) Successful in 4m25s
2026-12-06 17:47:38 +01:00
lilleman e64666d206 Keep the account's claude.ai skills, plugins and connectors out of the loop's Claude home and its clone
CI / tests (pull_request) Successful in 4m34s
2026-12-06 17:28:07 +01:00
lilleman e7831d2c1e File item 605 in 0.18.1: keep the account's claude.ai skills, plugins and connectors out of the loop's Claude home and its clone
CI / tests (pull_request) Successful in 5m44s
2026-12-06 17:00:10 +01:00
lilleman 77b57f948d Drop item 604: v0.18.0's generated settings already disable claude.ai connectors, so no worker could reach them; its test and second lock move into item 605 2026-12-06 16:59:22 +01:00
lilleman 7265dd0dd7 File item 604: keep the signed-in account's claude.ai connectors out of every claude the loop starts
CI / tests (pull_request) Successful in 5m48s
2026-12-06 16:23:31 +01:00
lilleman 76b5a7fb7e File item 603: link build-release and build-epic onto PATH with bin/install, and remove them with bin/uninstall
CI / tests (pull_request) Successful in 6m46s
2026-12-06 15:32:57 +01:00
Lilleman 3ec8bf9436 File an item: refuse to mark a pull request ready while its description predates the head
CI / tests (pull_request) Successful in 6m24s
2026-12-04 13:12:01 +01:00
Lilleman 3584890d71 File item 601: stability-reviewer checks hand-made equivalent mutants and library boundaries
CI / tests (pull_request) Successful in 6m17s
2026-12-04 12:06:27 +01:00
3 changed files with 229 additions and 20 deletions
+2
View File
@@ -1,5 +1,7 @@
# Changelog
## Unreleased
## 0.18.1
- The loop's Claude home no longer fails to build with "File exists" when the account you sign in with syncs claude.ai skills, and it keeps that account's connectors, skills and plugins out of every session the loop starts and out of the release clone. The home now keeps a `skills/` folder of its own, with a link to each of the setup's skills. README → Install says what the home keeps from the account and what it shares with your own Claude Code.
+107
View File
@@ -4912,3 +4912,110 @@ Junior A, decided by:
- Shape, Overall: `bin/chunk_driver/project/records.py:14` `SETUP_RULES_FILE`: the constants called "the human's rules" now carry the name "setup", which matches the strings `named()` writes and reaches the callers in `bin/chunk_driver/prompts.py:13` and `bin/build_epic/chunk_prompt.py:13`
- Self-sufficiency, Overall: `bin/agent_cycle/direct_message.py:5` `tell`: the docstring says it returns true when the DM is skipped for want of a notifier, which `raise_calls` now branches on
- Self-sufficiency: `bin/build_release/loop/routing_check.py:57` `raise_calls`: the docstring covers each outcome in place and `keep_raised` carries its reason
## 2026-12-06T20:25:37Z, PR #827 at 15dbff45
| Seat | Navigation | Locality | Shape | Self-sufficiency | Overall |
|---|---|---|---|---|---|
| Junior A | 7 | 5.5 | 6 | 6 | 6 |
| Mid A | 7 | 6 | 6 | 6 | 6.5 |
| Maintainability senior | 7 | 6 | 6.5 | 6 | 6.5 |
| Inherited architect | 7 | 6.5 | 6 | 6.5 | 6.5 |
| Mean | 7.00 | 6.00 | 6.13 | 6.13 | 6.38 |
Junior A, hardest first:
- Locality: `bin/build_epic/scheduler.py:178` `start_chunks`: four overlapping sets, a counter and a five-way elif under a lock, with scheduling state held in tmux window names
- Locality, Shape: `bin/build_epic/main.py:241` `chunk_run`: `news` typed `str | Stop | Merged`, its meaning flipping around `parked_through`; `handed_on` matches five moves with Jira lag patch-ups
- Locality, Shape: `bin/chunk_pr/main.py:462` `merged`: a flock queue, then exit codes and output of `todo-item` and `scoring-run-owed`, and `remeasure` grepping history, chained through `isinstance(…, Failure)`
- Self-sufficiency: `bin/agent_cycle/judge.py:25` `INTERRUPT_RULES`: behaviour held as English prompt text, its effect unreadable from code
- Locality: `bin/agent_cycle/run.py:160` `rule`: side effects whose order matters, read only with `states.py` open
- Shape: `bin/build_epic/planning.py:90` `placed`: an out-parameter dict and a five-way union narrowed by one assert
- Self-sufficiency: `bin/claude_home/home.py:91` `refreshed`: README's synced-skills move rests on settings.json, which nothing in home.py points to
- Self-sufficiency: `.claude/rules/this-repo-keeps-no-agents-md.md:3`: states `~/.claude` is a checkout of this repo, which README says ended after 0.17.0
Mid A, hardest first:
- Shape, Self-sufficiency: `bin/task_bench/main.py:242` `Planner`: three-stage currying, and a 189-line docstring whose Rust test-module rule needs five nested conditions
- Locality: `bin/agent_cycle/routing.py:115` `unfinished_route`: five named rungs, a seven-row table, a mark that moves or holds and a count that restarts
- Shape: `bin/release_plan/release_standing.py:206` `next_release`: every `LastCut` field a `X | Failure`, and one boolean packing three meanings
- Locality, Shape: `bin/chunk_pr/main.py:462` `merged`: queue, approval wait, item finishing, scoring gate and re-measure, ordered only by where each `isinstance(…, Failure)` sits
- Locality, Shape: `bin/build_epic/main.py:241` `chunk_run`: `news` changes role each iteration, `""` meaning not parked
- Shape: `bin/rule_hook/folder_search.py:89` `skips`: rg and ag hidden-file semantics modelled by option-cluster counts
- Self-sufficiency: `bin/agent_cycle/judge.py:245` `quotes_checked`: behaviour split between prompt prose and schema text, and a load-bearing heading known only from a comment
- Locality: `bin/build_release/loop/reload.py:97` `exec_if_edited`: a loop re-execs itself and hands state over as JSON across versions
Maintainability senior, hardest first:
- Locality, Self-sufficiency: `bin/agent_cycle/routing.py:115` `unfinished_route`: five rungs, a counter and an escalation mark whose rules live in another module
- Locality: `bin/chunk_pr/main.py:530` `merge_turn`: a lock-file queue with two sentinels and three combining flags, ending in remote side effects whose order is the guarantee
- Shape: `bin/task_bench/main.py:242` `Planner`: three levels of curried factories applied at different stages of `bench`
- Shape: `bin/task_bench/rust_test_modules.py:115` `with_tests_of`: six order-dependent outcomes, its docstring harder than the code
- Locality, Self-sufficiency: `skills/larv-review/SKILL.md:109` "Re-entry": a program in prose, its table overridden by "Mechanical answers" and "Cap", with no code twin
- Shape: `bin/build_epic/main.py:241` `chunk_run`: `news` changes type across passes, finished only when `news == ""`
- Shape: `bin/plan/ranking.py:239` `score`: two table schemas alive at once, the shape branch recurring in `weigh`, `cited_goals_failure` and `notes`
- Shape: `bin/chunk_pr/main.py:412` `epic_opened`: four chained `x = prev if isinstance(prev, Failure) else …` lines
Inherited architect, would restructure first:
- Shape: `bin/chunk_pr/main.py:569` `turn`: 778 lines, 40 functions, 7 subcommands and a file-lock merge queue in one module
- Navigation, Shape: `README.md:271` "Packages under `bin/`": about 90 entries in `bin/`, 50 of 57 `__init__.py` empty, so the README is the only map
- Shape: `bin/build_epic/main.py:1` module docstring: 30 modules side by side in `build_epic/`, 42 imports in `main.py`
- Locality, Self-sufficiency: `bin/rule_hook/round_cap.py:10` `round_cap_breaches`: the cap's truth split across `SKILL.md`, `round_titles.py` and this check, enforced on commits only
- Shape: `bin/build_epic/backend/protocol.py:1` `EpicStore`: a second store protocol over the same Jira reader as `plan_store`'s `PlanStore`
- Self-sufficiency: `.claude/rules/this-repo-keeps-no-agents-md.md:3`: its reason, `~/.claude` as a checkout of this repo, stopped holding after 0.17.0
- Locality: `bin/agent_cycle/judge.py:77` `TASK_HEADING`: prompt text coupled to `judge_replay.archived_prompt`
- Shape: `bin/agent_cycle/retry.py:40` `home_unready`: a Claude-home readiness check in the retry module
## 2026-12-06T20:30:55Z, PR #827 rerun at 15dbff45
| Seat | Navigation | Locality | Shape | Self-sufficiency | Overall |
|---|---|---|---|---|---|
| Junior A | 7.5 | 6.5 | 7 | 7 | 7 |
| Mid A | 7 | 6 | 6.5 | 7 | 6.5 |
| Maintainability senior | 7.5 | 6 | 6.5 | 7 | 6.5 |
| Inherited architect | 7 | 7 | 6 | 6.5 | 6.5 |
| Mean | 7.25 | 6.38 | 6.50 | 6.88 | 6.63 |
Junior A, hardest first:
- Locality, Self-sufficiency: `bin/agent_cycle/routing.py:115` `unfinished_route`: five rungs, two counters and a seven-row table, the reasons in the decision log
- Locality: `bin/build_epic/parking.py:26` `parked_through`: six parameters, two changing the others' meaning, returning `str | Stop | Merged`
- Locality, Self-sufficiency: `skills/larv-review/SKILL.md:109` "Re-entry": nine rows interacting with exceptions in three other subsections
- Shape: `bin/release_plan/release_standing.py:206` `next_release`: every `LastCut` field a `X | Failure`, and a sentinel version leaking into comparisons
- Shape, Locality: `bin/build_release/loop/reload.py:18` `LoopRun`: two counters named "unfinished" counting different things, one restored from archived `Worker:` lines
- Locality: `bin/build_release/loop/chunk_windows.py:46` `held_items`: held items read from tmux window names and other chunks' transcripts
- Locality, Shape: `bin/chunk_pr/main.py:462` `merged`: queue lock, approval wait, human-merge and epic modes, item finishing, scoring check and re-measure in one chain
- Self-sufficiency: `.claude/rules/this-repo-keeps-no-agents-md.md:3`: a loaded rule stating `~/.claude` is a checkout of this repo, which README says ended after 0.17.0
Mid A, hardest first:
- Locality: `bin/build_epic/scheduler.py:178` `start_chunks`: five overlapping window sets, an elif chain and a bool counter, with running or parked held in tmux window names
- Locality, Shape: `bin/build_epic/parking.py:26` `parked_through`: `str | Stop | Merged` with `""` meaning both never parked and no news; the three-step park order stated only in its docstring
- Shape: `bin/task_bench/main.py:242` `Planner`: three levels of currying, buried under a 190-line docstring
- Shape: `bin/plan/ranking.py:144` `weigh`: `OLD_SHAPE` and `SHAPE` threaded through almost every function
- Locality, Self-sufficiency: `skills/larv-review/SKILL.md:109` "Re-entry": a decision table followed by three paragraphs of exceptions, one stated twice
- Locality, Shape: `bin/chunk_pr/main.py:462` `merged`: a `turn` loop whose flags cut across three result types, and a scoring check its callee's name doesn't suggest
- Locality: `bin/build_release/loop/chunk_windows.py:46` `held_items`: held items read from other workers' transcripts, beside a second scheduler unlike build-epic's
Maintainability senior, hardest first:
- Locality: `bin/build_epic/parking.py:26` `parked_through`: three parameters whose values change the others' meaning, `""` as the never-parked signal, and a crash-order rule spread over four modules
- Locality, Shape: `bin/build_epic/main.py:241` `chunk_run`: `news` typed `str | Stop | Merged`, the loop ending only on `Finished and news == ""`
- Locality: `bin/agent_cycle/routing.py:115` `unfinished_route`: five rungs, a count and a mark, the same state moving in four other modules
- Shape: `bin/release_plan/release_standing.py:206` `next_release`: a tag typed `str | None | Failure`, a sentinel version, and a boolean decoded only by a field comment
- Locality: `bin/agent_cycle/judge.py:245` `quotes_checked`: verdicts rewritten after the reply, precedence held in branch order, schema text templated from another module
- Locality, Shape: `bin/chunk_pr/main.py:462` `merged`: queue flock, approval wait, human merge, scoring hook and re-measure behind `isinstance(…, Failure)` chains
- Locality: `bin/build_release/loop/reload.py:97` `exec_if_edited`: any edit re-execs the loop, its state crossing versions as JSON
- Self-sufficiency: `bin/agent_cycle/stuck_workers.py:59` `Watch.check`: and/or precedence over changing fields, and a process-line format defined elsewhere
Inherited architect, would restructure first:
- Locality, Self-sufficiency: `bin/review_rules/round_titles.py:39` `named_counts`: the round cap carried by commit titles, defined in the skill's prose and read by three callers, the launch itself never refused
- Shape: `README.md:271` "Packages under `bin/`": about 86 flat entries in `bin/`, the README's headings covering only the shared packages
- Shape: `bin/build_epic/main.py:1` module docstring: 25 modules side by side in `build_epic/`
- Shape: `bin/loop_state/paths.py:74` `Paths`: `claude_dir` names the loop's home and `config_clone` the development clone
- Self-sufficiency: `.claude/rules/this-repo-keeps-no-agents-md.md:3`: its reason stopped holding after 0.17.0
- Locality: `judge-field-trials/cases.py:12` `ARCHIVE`: reads `~/.claude/loop-claude-transcripts`, where no archive is kept since 0.18.0
- Shape: `bin/larv_review/scoring.py:7` module docstring: "scoring" names both plan-item scores and the comprehension scoring run
- Locality: `bin/agent_cycle/judge.py:77` `TASK_HEADING`: prompt headings tied to the replay archive
+120 -20
View File
@@ -6,7 +6,7 @@
`Bar = 0.1`
`Next ID = 601`
`Next ID = 610`
## Items
@@ -15,6 +15,7 @@
| 586 | 0.19.0 | | | **Keep the person's own skills, agents and commands out of the loop's Claude home where `HOME` names the home folder through a symlink.** | 2 | 3 | 2 | 5 | 3 | 3 by 4 | 5.0 |
| 599 | 0.19.0 | | principle | **Return a `Failure` from the loop's Claude home build where the clone's `settings.json` is malformed or lacks a marketplace, or a file stands where a link belongs, so `unready` prints one line instead of a traceback.** | 2 | 1 | 3 | 4 | 3 | code health by 3 | 3.8 |
| 585 | 0.19.0 | | | **Give this repo an `AGENTS.md` like any project, and drop the decision and the rule that say it keeps none.** | 3 | 1 | 3 | 5 | 4 | code health by 3 | 3.1 |
| 606 | 0.19.0 | | | **Point every script and rule that still assumes a release in ~/.claude at where 0.18.0 keeps things, so the trial scripts rerun and the no-AGENTS.md rule states a reason that holds.** | 1 | 2 | 1 | 2 | 2 | code health by 2 | 2.8 |
| 597 | 0.19.0 | | principle | **Wait on an event in the tests that poll with sleeps or assert on the wall clock, in `loop_effects`, `cut_release` and `mutate_changes`, with a timeout that only fails the test.** | 3 | 2 | 1 | 4 | 5 | code health by 3, 1.5 by 2 | 2.7 |
| 596 | 0.19.0 | | principle | **Let an environment variable name the setup's development clone, with `~/code/dev-factory` as its default, documented in README's Install and build-release's `--help`.** | 2 | 1 | 2 | 3 | 3 | code health by 2 | 2.5 |
| 600 | 0.19.0 | | principle | **Move the five dated folders of studies and a talk at the repo's root under one folder named for what it holds, so the root shows the entry points first.** | 3 | 1 | 2 | 4 | 5 | code health by 3 | 2.3 |
@@ -23,6 +24,10 @@
| 594 | 0.19.0 | | | **Make the prose reviewer check each behavioural claim on a line the diff adds or rewrites against the code, script or sibling sentence it describes, and report a mismatch as a 🟡 at the changed line.** | 2 | 2 | 3 | 5 | 2 | 1.1 by 4 | 1.3 |
| 589 | 0.19.0 | | | **Count every turn of a bench run in its figures: sum the tokens and turns of each `result` event in the stream, and time the run from its first event to its last.** | 2 | 2 | 1 | 3 | 2 | 1.1 by 3 | 1.0 |
| 590 | 0.19.0 | 589 | | **Report beside each bench run how far its change reached: the files and lines it changed, the files it changed outside the bug's file, and, for a bug, whether it restored the line the mutant changed.** | 2 | 2 | 1 | 3 | 4 | 1.1 by 4 | 1.0 |
| 609 | 0.19.0 | | | **Refuse in rule-hook a tmux command that would kill the human's own tmux server or one of its sessions, unless it names a socket of its own.** | 2 | 2 | 2 | 4 | 3 | 1 by 3 | 0.9 |
| 608 | 0.19.0 | | | **Check the token task-bench hands to Haiku before planting any bug, so a token with whitespace in it or one the API refuses stops the bench at once with the fix.** | 2 | 2 | 1 | 3 | 3 | 1.4 by 2 | 0.6 |
| 603 | 0.19.0 | | owner | **Link `build-release` and `build-epic` from the release clone onto `PATH` with `bin/install`, and remove the links with `bin/uninstall`, so deleting the setup leaves nothing behind.** | 3 | 2 | 2 | 5 | 3 | 2 by 2 | 0.5 |
| 607 | 0.19.0 | | | **Keep the color theme a person picks in the loop's home across each rebuild of the home, as a /model pick is kept.** | 1 | 2 | 1 | 2 | 2 | 2 by 1 | 0.3 |
| 487 | 0.20.0 | | owner | **Run larv-review's passes from a program that picks them from the diff and the item, counts rounds against the cap and decides each rerun, with each reviewer returning its findings as JSON against a schema.** | 4 | 2 | 3 | 7 | 8 | 1.1 by 5, 1.4 by 5 | 0.4 |
| 498 | 0.20.0 | 487 | owner | **Drive each chunk as a state machine in `build-release`, from preflight through implementing, review, the pull request and the merge to finishing its items, with the worker as one model step that ends in a result that code checks.** | 4 | 2 | 3 | 7 | 8 | 1.1 by 4, 1.4 by 4 | 0.3 |
| 488 | 0.20.0 | 498 | owner | **Cut the larv-review skill, `CLAUDE.md` and rule-hook down to what `build-release` doesn't own: the judgement the model makes and the safety guards.** | 2 | 2 | 3 | 5 | 5 | 1.4 by 4, code health by 2 | 2.3 |
@@ -50,7 +55,7 @@
| 499 | 0.23.0 | | defect | **Stop `todo-item add` and `edit` from waiting on a stdin that stays open without data, so a call without a heredoc ends at once.** | 2 | 2 | 2 | 4 | 2 | 1.5 by 3, 1.4 by 2 | 1.5 |
| 445 | 0.23.0 | | | **Refuse a plan that holds an item a `Finish item <ID>` commit already removed, so a merge resolution cannot bring a finished item back.** | 2 | 2 | 2 | 4 | 3 | 1.4 by 3, 1.1 by 2 | 1.4 |
| 171 | 0.23.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 | 1.4 |
| 300 | 0.23.0 | | owner | **Reach the comprehension floor: restructure the places the comprehension seats found hardest to follow, so the project reads at 7.0 or above on every dimension, Locality first; today the second scoring run at 5070d896 scored Navigation 7.00, Locality 5.75, Shape 6.00, Self-sufficiency 6.00 and Overall 6.13.** | 4 | 2 | 3 | 7 | 8 | code health by 8 | 1.4 |
| 300 | 0.23.0 | | owner | **Reach the comprehension floor: restructure the places the comprehension seats found hardest to follow, so the project reads at 7.0 or above on every dimension, Locality first; today the second scoring run at 15dbff45 scored Navigation 7.25, Locality 6.38, Shape 6.50, Self-sufficiency 6.88 and Overall 6.63.** | 4 | 2 | 3 | 7 | 8 | code health by 8 | 1.4 |
| 264 | 0.23.0 | | | **Report the comprehension seats and the escalated subagents as subagent types of their own in `routing-figures.md`, with their dollars.** | 2 | 2 | 1 | 3 | 3 | 1.4 by 5 | 1.4 |
| 323 | 0.23.0 | | | **Count a release review as landed once its pull request has merged, whatever its commits are titled.** | 3 | 2 | 3 | 6 | 3 | 1.4 by 3, 1.5 by 2 | 1.4 |
| 342 | 0.23.0 | | | **Research the tooling agents read, search and run commands with once more, and file an item for each tool that cuts tokens a replay shows keep quality.** | 1 | 2 | 1 | 2 | 3 | 1.4 by 3, 1.5 by 2 | 1.4 |
@@ -67,6 +72,7 @@
| 5 | 0.23.0 | | decision | **Key a project on its checkout's full path, and refuse to start while another session uses that key.** | 4 | 2 | 3 | 7 | 5 | 1.1 by 6 | 1.1 |
| 291 | 0.23.0 | | owner | **Let `principles/technical-principles.md` → "Sane defaults" allow a library whose README goals ask that it work with no config to default the clock and randomness in its public constructor, where a documented option overrides each.** | 1 | 2 | 3 | 4 | 1 | 1.2 by 3 | 1.0 |
| 156 | 0.23.0 | | decision | **Drop `rank_todo.py`'s ranking of an old-shape table once no project under `~/code` holds one.** | 2 | 1 | 3 | 4 | 4 | 1.1 by 4 | 1.0 |
| 601 | 0.23.0 | | | **Make stability-reviewer accept a surviving hand-made mutant as equivalent only on a test or proof that no input tells it apart, and run the library calls a change uses to parse or convert a date, time or number at their boundaries.** | 1 | 2 | 2 | 3 | 2 | 1.1 by 3 | 1.0 |
| 388 | 0.23.0 | | | **Refuse an agent's Write or Edit of a routing ladder file in rule-hook, since a change to the ladder is the human's.** | 1 | 1 | 3 | 3 | 2 | 1.2 by 3 | 1.0 |
| 365 | 0.23.0 | | | **Have `score-outcomes` read the finished and dropped items of a plan outside the checkout, from the project repo's history or from Jira's issue changelogs.** | 3 | 2 | 2 | 5 | 4 | 1.6 by 2, 1.1 by 2 | 0.9 |
| 368 | 0.23.0 | | | **Call a release review due, call a release ready to cut, and tell whether a chunk owes a scoring run, for a plan outside the checkout, from the project repo's history or from Jira.** | 3 | 2 | 2 | 5 | 4 | 1.6 by 2, 1.1 by 2 | 0.9 |
@@ -79,6 +85,7 @@
| 201 | 0.23.0 | | owner | **Save the human's tmux setups and restore them after a reboot, so work is up and running again quickly.** | 3 | 2 | 1 | 4 | 4 | 1.5 by 4 | 0.9 |
| 267 | 0.23.0 | | | **Keep waiting when an interrupt gets an empty answer, at the terminal or in the claude opened for it, in place of stopping the loop.** | 2 | 1 | 3 | 4 | 2 | 1.5 by 3 | 0.9 |
| 4 | 0.23.0 | | | **Name each chunk's archive folder by the chunk's start time, so `<key>/` lists chunks in the order they ran.** | 3 | 2 | 3 | 6 | 3 | 1.1 by 3 | 0.9 |
| 602 | 0.23.0 | | | **Make `chunk-pr ready` refuse while a commit on the branch is newer than the pull request's last description edit, naming those commits, so a fix pushed after review can't leave the description claiming what the head no longer does.** | 2 | 2 | 3 | 5 | 3 | 1.1 by 3 | 0.9 |
| 324 | 0.23.0 | | | **Count in the routing figures the finished chunks whose worker wrote no `Chunk items:` line.** | 2 | 2 | 1 | 3 | 3 | 1.1 by 2, 1.4 by 1 | 0.9 |
| 187 | 0.23.0 | | | **Count the tokens a worker spends reading reviewers' reports, so goal 1.4's signal shows whether report files lowered what a review costs the worker's context.** | 2 | 2 | 1 | 3 | 3 | 1.4 by 3 | 0.8 |
| 266 | 0.23.0 | | | **Move the chunks archived under the key `home/lilleman/.claude` to the key `dev-factory`, so the routing figures and `score-outcomes` count this repo's chunks as one project.** | 3 | 2 | 2 | 5 | 3 | 1.4 by 3 | 0.8 |
@@ -130,6 +137,8 @@ Evidence, in `bin/claude_home/home.py`:
- :104 `settings_written` and :134-137 `plugins_installed` call `json.loads` on the clone's `settings.json`, and the latter indexes `settings["extraKnownMarketplaces"][name]["source"]["repo"]`: a malformed file raises ValueError, a missing key KeyError.
- :42 `unready` catches only `(OSError, subprocess.TimeoutExpired)`, so ValueError and KeyError escape as a traceback instead of the `Failure` its callers handle.
Item 605, in 0.18.1, makes `skills` a folder the build keeps, so the file-in-a-link's-place case remains for the five other links.
Return a `Failure` for each case, and make `linked`'s `Failure` real or drop it from the type. I 3, since every loop builds the home before it starts.
Touches:
@@ -156,6 +165,21 @@ Touches:
- `bin/review_rules/test_reviewer_context.py`
- `bin/review_replay/test_review_replay.py`
### 606. Point every script and rule that still assumes a release in ~/.claude at where 0.18.0 keeps things, so the trial scripts rerun and the no-AGENTS.md rule states a reason that holds.
Found by both scoring runs of item 605's chunk (PR #827) at 15dbff45: three things still assume a release lives in `~/.claude`, as it did before 0.18.0.
- `.claude/rules/this-repo-keeps-no-agents-md.md`: its reason, "`~/.claude` is a checkout of this repo, so an `AGENTS.md` here would load into every other project's sessions", holds only for a 0.17.0 install. Four seat reports named it as a false claim in a rule that loads into every session here. Restate the reason that holds now, or, where none does, give the repo an `AGENTS.md` and remove the rule.
- `judge-field-trials/cases.py` and `stability-skip-count/count.py`: `ARCHIVE` is `~/.claude/loop-claude-transcripts`, where no transcript is kept since 0.18.0, so a rerun as their READMEs describe finds no case. Read the archive where `transcript_archive.location.archive_root` puts it.
- `reviewer-merge-trials/driver.py`: `FX = system_effects()` calls without the `home` and `env` that `loop_effects.effects.system_effects` has required since 2026-11-19, so importing the driver raises TypeError and README → "How to rerun" fails. Pass them as the loop does.
Touches:
- `.claude/rules/this-repo-keeps-no-agents-md.md`
- `judge-field-trials/cases.py`: `ARCHIVE` (small)
- `stability-skip-count/count.py`: `ARCHIVE` (small)
- `stability-skip-count/README.md`: `# Stability skip count` (small)
- `reviewer-merge-trials/driver.py`: `FX` (small)
### 597. Wait on an event in the tests that poll with sleeps or assert on the wall clock, in `loop_effects`, `cut_release` and `mutate_changes`, with a timeout that only fails the test.
Principle: `principles/technical-principles.md`, the tests bullets: a test neither sleeps nor asserts on the wall clock, and waits for a signal the code under test or its fake sends, with a timeout whose only effect is to fail the test. From the principles pass of 0.18.0's release review.
@@ -306,6 +330,56 @@ Touches:
- `bin/task_bench/test_task_bench.py`
- `bin/task_bench/main.py`: `(module)` (small)
### 609. Refuse in rule-hook a tmux command that would kill the human's own tmux server or one of its sessions, unless it names a socket of its own.
Twice on 2026-11-16, in item 375's smoke test, an agent's probe ran a real tmux with only `TMUX_TMPDIR` set. tmux reads `$TMUX` before `TMUX_TMPDIR`, so the probe's `kill-server` killed the human's own tmux server, with every session in it, the loop's included. The human asked that it never happen again; today only a note in one machine's agent memory guards it. The repo's own tests run a fake tmux (`bin/loop_effects/test_effects.py`), so no test catches this.
Add a rule-hook rule that refuses a Bash command running `tmux kill-server` or `tmux kill-session` without `-S` or `-L` naming a socket of its own, with the fix in its message: unset `TMUX` and `TMUX_PANE`, and pass `-S <socket in a temp folder>`. build-release's own tmux calls go through `bin/agent_cycle/tmux.py`, not the Bash tool, so the rule doesn't touch them.
Touches:
- `bin/rule_hook/rules.py`: `RULES` (small)
- `bin/rule_hook/main.py`: `breaches_of` (small)
- `bin/rule_hook/tmux_server.py`
- `bin/rule_hook/test_tmux_server.py`
### 608. Check the token task-bench hands to Haiku before planting any bug, so a token with whitespace in it or one the API refuses stops the bench at once with the fix.
Found in item 605's chunk (PR #827), whose scoring run started the bench twice on 2026-12-06. The first run stopped at its first claude call: the token in `CLAUDE_CODE_OAUTH_TOKEN` held a line break, as a token copied out of a terminal often does. The second, with the line break stripped, planted bugs for over an hour and then failed in the run stage with "Not logged in · Please run /login". So the chunk merged without the bench's figures.
Before planting any bug, have task-bench strip whitespace around the token, refuse one with whitespace inside, and run one claude call with it in the bench's image. Where that call fails, stop at once with claude's reason and the line to run (`claude setup-token`). Test both refusals.
Touches:
- `bin/task_bench/main.py`: `bench` (small)
- `bin/task_bench/runs.py`: `TOKEN` (small)
- `bin/task_bench/test_main.py`
### 603. Link `build-release` and `build-epic` from the release clone onto `PATH` with `bin/install`, and remove the links with `bin/uninstall`, so deleting the setup leaves nothing behind.
The owner asked for this on 2026-12-06, while taking 0.18.0 on their machine, so it is kept whatever it scores. They chose the names `bin/install` and `bin/uninstall`, and to link only `build-release` and `build-epic`: the two commands a person starts loops with.
Today README → Install runs each command by its path in the release clone, as in `~/build-release/bin/build-release`. 0.18.0 dropped the old `PATH` link, which led into `~/.claude`. Have `bin/install` link the clone's `build-release` and `build-epic` into `~/.local/bin`, or into `$XDG_BIN_HOME` where that holds an absolute path, and say where that folder isn't on `PATH`. Have it refuse to run from a clone that isn't on a release tag, such as the development clone: links there would point every loop at unreleased rules. A link already there that leads into this clone is left as it is; one that leads elsewhere is refused, naming its target. `bin/uninstall` removes only links that lead into the clone it ships in. README → Install runs `bin/install`, and a new section on removing the setup runs `bin/uninstall` before deleting the setup's folders: goal 3 rules out a link nothing removes.
List the new package in README → "Packages under `bin/`" in the group a reader looks in first, beside `self_update`: the comprehension seats found that flat map hard to navigate.
Touches:
- `bin/install`
- `bin/uninstall`
- `bin/install_links/__init__.py`
- `bin/install_links/main.py`
- `bin/install_links/test_install_links.py`
- `README.md`: `## Install`, `## Update` (small), `#### The plan, the records and releases` (small)
### 607. Keep the color theme a person picks in the loop's home across each rebuild of the home, as a /model pick is kept.
Found by the done check of patch release 0.18.1 on 2026-12-07. A person moving from 0.17.0 signs in to the loop's home before its first build, as README → Update has them do. Claude Code's first start in a fresh home has them pick a color theme and writes `"theme"` into the home's `settings.json`. The build that follows regenerates that file from the clone's and keeps only a `/model` pick, so the theme is gone, and the home's next interactive claude may ask for it again.
Keep `"theme"` beside `"model"` in `settings_written`, and test that a refresh keeps both. Make `bin/claude_home/home.py` `refreshed`, one of the places the comprehension seats found hard, easier to read where the change touches it: its comment names what Claude Code writes into the home's file, so it can also say where the settings' own switches come from.
Touches:
- `bin/claude_home/home.py`: `settings_written` (small)
- `bin/claude_home/test_home.py`
### 487. Run larv-review's passes from a program that picks them from the diff and the item, counts rounds against the cap and decides each rerun, with each reviewer returning its findings as JSON against a schema.
Part of the standalone-install plan lilleman approved on 2026-11-20. It applies the decision `loop: a step whose result a program can check …` in `docs/decisions.md`. The reviewer briefs stay prose. Start here, since larv-review holds the most sequencing rules.
@@ -472,32 +546,35 @@ Have the gate, or `rank_todo.py --check` where it runs in a checkout, refuse a p
Raised by the goals audit of PR #296. `bin/routing_figures/calls.py` groups a chunk's review rounds by the rung its worker started on, and calls for a routing change when a lower rung took more of them. Since PR #296 the reviewers may run above the worker's rung, on the one their item's E + I picks, and no figure groups rounds by it, though the archived worker line names the E + I it follows from. A cheap worker on an item of high E + I gets stronger reviewers, who may raise more rounds, and a call could then blame the worker's rung for them: an interrupt of lilleman that settles nothing (goal 1.2).
### 300. Reach the comprehension floor: restructure the places the comprehension seats found hardest to follow, so the project reads at 7.0 or above on every dimension, Locality first; today the second scoring run at 5070d896 scored Navigation 7.00, Locality 5.75, Shape 6.00, Self-sufficiency 6.00 and Overall 6.13.
### 300. Reach the comprehension floor: restructure the places the comprehension seats found hardest to follow, so the project reads at 7.0 or above on every dimension, Locality first; today the second scoring run at 15dbff45 scored Navigation 7.25, Locality 6.38, Shape 6.50, Self-sufficiency 6.88 and Overall 6.63.
Filed by the comprehension check of PR #473 at 13d1550 (`larv-review record-scoring`), which printed `Floor:` and `Next:`, and refreshed from each later run; most recently from the two runs of item 578's chunk (PR #813) at 5070d896. Those scored Navigation 7.00, Locality 5.75, Shape 6.00, Self-sufficiency 6.00 and Overall 6.13. Locality is lowest, so this item aims at it first. Refresh this item's places and aim from the newest run before the chunk starts; do not file a second floor item.
Filed by the comprehension check of PR #473 at 13d1550 (`larv-review record-scoring`), which printed `Floor:` and `Next:`, and refreshed from each later run; most recently from the two runs of item 605's chunk (PR #827) at 15dbff45. The second scored Navigation 7.25, Locality 6.38, Shape 6.50, Self-sufficiency 6.88 and Overall 6.63; the first Navigation 7.00, Locality 6.00, Shape 6.13, Self-sufficiency 6.13 and Overall 6.38. Locality is lowest, so this item aims at it first. Refresh this item's places and aim from the newest run before the chunk starts; do not file a second floor item.
Aim: one ambitious refactor that puts each piece of chunk state, and each ordered protocol, in one unit that owns it, so a reader follows one merge, one park or one schedule without opening sibling modules. Size it so every mean reaches 7.0 on the chunk's own scoring run. Where a place is already easier to read when the chunk starts, drop it.
Locality: the seats' main complaint is that chunk state lives in tmux window-name suffixes, files, the forge and the scheduler's slots at once, written in one package and read in another, and that ordered steps keep their order unstated. Give that state one owner with a typed interface, and state each protocol's order beside the code that enforces it.
Places the seats named in the two runs at 5070d896, most repeated first (`larv-review places`):
Places the seats named in the two runs at 15dbff45, most repeated first (`larv-review places`):
- Locality, Shape: `bin/chunk_pr/main.py:462` `merged`: a merge-queue loop carrying a flock, an approval wait and the by-human, to-epic and park flags, two of which switch each other off; a hidden `scoring-run-owed` call and a side trip to `remeasure`; what happens on a failure mid-merge is decided in sibling tools; the module is 778 lines with seven subcommands. With `:530` `merge_turn`: about seven decisions in a row whose side-effect order is load-bearing and unstated. Six seat reports named `merged`, and two more `merge_turn` or the module.
- Locality, Shape: `bin/build_epic/scheduler.py:178` `start_chunks`: five derived sets and an elif ladder under a lock, and its correctness depends on window-name suffixes that `parking.py` and `tmux.py` write. Four seat reports named it.
- Locality, Shape: `bin/build_epic/parking.py:26` `parked_through`: one chunk's parked state in a file, a window name, the forge and the slot scheduler, its order stated and not justified. With `:118` `resumed_news`: a polling loop whose mutable `Told` renames tmux windows. Four seat reports named them.
- Locality, Shape: `bin/build_epic/main.py:241` `chunk_run`: one loop over `news` typed `str | Stop | Merged`, whose exit depends on `news == ""` together with `Finished`, the empty string never named; about 30 imports. Four seat reports named it.
- Self-sufficiency, Locality: `bin/agent_cycle/routing.py:115` `unfinished_route`: five rungs, a floor, the cap and a counter held at once, the escalation mark in another module and the reason in the decision log. Four seat reports named it.
- Navigation, Shape: `README.md:276` "Packages under bin/": the only map of a flat `bin/` of about 85 entries; with `bin/build_epic/__init__.py:1`, an empty package docstring over 22 modules. Group `bin/`'s packages by purpose, or give each package a map in its `__init__.py`. Both architect reports named it.
- Locality: `bin/rule_hook/round_cap.py:10` `round_cap_breaches`: the round cap lives in prose, a constant and a hook, and the count in four places with two failure policies. Both architect reports named it.
- Shape: `bin/task_bench/main.py:242` `Planner`: three layers of curried callables, and the Rust test-module rules in one chain of nested clauses. Three seat reports named it.
- Self-sufficiency, Locality: `skills/larv-review/SKILL.md:109` "Re-entry": a nine-row table whose exceptions and the round cap sit in other sections.
- Locality: `bin/agent_cycle/judge.py:79` `TASK_HEADING`: a heading's wording that replay parses, held by a comment alone.
- Locality: `bin/build_release/loop/chunk_windows.py:46` `held_items`: which chunks start depends on a worker's `Chunk items:` line.
- Locality: `bin/build_release/loop/reload.py:97` `exec_if_edited`: any edit under `bin/` reloads a live loop.
- Shape: `bin/release_plan/release_standing.py:206` `next_release`: a boolean expression that reads as a puzzle.
- Self-sufficiency: `.claude/rules/this-repo-keeps-no-agents-md.md:3`: its rationale says `~/.claude` is a checkout of this repo. Both architect reports named it.
- Locality, Shape: `bin/chunk_pr/main.py:462` `merged`, with `:530` `merge_turn` and `:569` `turn`: a flock queue, an approval wait, the human-merge and epic modes, item finishing, a hidden `scoring-run-owed` call and `remeasure`, ordered only by where each `isinstance(…, Failure)` sits; 778 lines with seven subcommands. Seven seat reports named it.
- Locality: `bin/agent_cycle/judge.py:245` `quotes_checked`, with `:77` `TASK_HEADING` and `:25` `INTERRUPT_RULES`: verdicts rewritten after the reply, behaviour split between prompt prose and schema text, and headings replay parses held by a comment alone. Five seat reports named it.
- Locality, Shape: `bin/build_epic/main.py:241` `chunk_run`: `news` typed `str | Stop | Merged`, the loop ending only on `Finished and news == ""`; with `:1`, 25 to 30 modules side by side in `build_epic/`. Four seat reports, and both architects for the package.
- Locality, Self-sufficiency: `bin/agent_cycle/routing.py:115` `unfinished_route`: five rungs, a count and the escalation mark held at once, the same state moving in four other modules. Four seat reports named it.
- Locality: `bin/build_epic/parking.py:26` `parked_through`: `""` as both never parked and no news, and a crash-order rule spread over four modules. Three seat reports named it.
- Locality, Self-sufficiency: `skills/larv-review/SKILL.md:109` "Re-entry": a table whose exceptions sit in three other subsections, with no code twin. Three seat reports named it.
- Locality: `bin/build_release/loop/reload.py:97` `exec_if_edited`, with `:18` `LoopRun`: any edit re-execs a live loop, its state crossing versions as JSON, and two counters named "unfinished" counting different things. Three seat reports named it.
- Shape: `bin/release_plan/release_standing.py:206` `next_release`: every `LastCut` field a `X | Failure`, a sentinel version, and a boolean decoded only by a field comment. Three seat reports named it.
- Shape: `bin/task_bench/main.py:242` `Planner`: three levels of curried factories under a 190-line docstring. Three seat reports named it.
- Locality: `bin/build_epic/scheduler.py:178` `start_chunks`: overlapping window sets and an elif chain under a lock, with running or parked held in tmux window names. Two seat reports named it.
- Locality: `bin/build_release/loop/chunk_windows.py:46` `held_items`: held items read from tmux window names and other chunks' transcripts, beside a second scheduler unlike build-epic's. Two seat reports named it.
- Locality, Self-sufficiency: `bin/review_rules/round_titles.py:39` `named_counts`, with `bin/rule_hook/round_cap.py:10` `round_cap_breaches`: the round cap carried by commit titles, defined in prose and read by three callers, the launch never refused. Both architect reports named it.
- Navigation, Shape: `README.md:271` "Packages under `bin/`": the only map of about 86 flat entries in `bin/`, most `__init__.py` empty. Both architect reports named it.
- Shape: `bin/plan/ranking.py:239` `score`, with `:144` `weigh`: `OLD_SHAPE` and `SHAPE` threaded through almost every function. Two seat reports named it.
- Locality: `bin/agent_cycle/run.py:160` `rule`: side effects whose order matters, read only with `states.py` open.
- Shape: `bin/loop_state/paths.py:74` `Paths`: `claude_dir` names the loop's home and `config_clone` the development clone.
- Self-sufficiency: `bin/claude_home/home.py:75` `refreshed`: README's synced-skills move rests on settings.json, which nothing in home.py points to.
Earlier runs also named these, still open unless the chunk finds them easier: `bin/build_release/loop/chunk_windows.py:150` `chunks_to_start`, a near-twin of `start_chunks` with different rules and no stated reason for two; `bin/agent_cycle/tmux.py:92` `as_listed`, which keeps chunk state in window-name suffixes; `bin/chunk_pr/main.py:601` `levelled_and_finished`, an order-dependent chain with no statement of what holds after it returns; `bin/agent_cycle/run.py:160` `rule`, whose archive calls' order decides the figures; `bin/transcript_archive/outcomes.py:11` `outcomes`, a line format four readers parse by regex; `bin/plan/ranking.py:144` `weigh`, with the OLD_SHAPE fork doubling the paths through ranking.
Earlier runs also named these, still open unless the chunk finds them easier: `bin/build_release/loop/chunk_windows.py:150` `chunks_to_start`, a near-twin of `start_chunks` with different rules and no stated reason for two; `bin/agent_cycle/tmux.py:92` `as_listed`, which keeps chunk state in window-name suffixes; `bin/chunk_pr/main.py:601` `levelled_and_finished`, an order-dependent chain with no statement of what holds after it returns; `bin/transcript_archive/outcomes.py:11` `outcomes`, a line format four readers parse by regex.
### 264. Report the comprehension seats and the escalated subagents as subagent types of their own in `routing-figures.md`, with their dollars.
@@ -610,6 +687,23 @@ The key names the project's session, archive folder and models entry. `project_k
While `rank_todo.py` ranks two shapes, projects follow two sets of scoring rules, against goal 1.3. Once every project has reshaped, drop `OLD_SHAPE`'s weighing from `bin/plan/ranking.py`, `RESHAPE`, and the old shape's lines in `rank_todo.py --help` and `rules/todo-items.md`. Keep `todo_table` reading old tables: `score_outcomes` reads every past merge's `todo.md`. PR #283's paired ruling found the old-shape path made `ranking.py`'s `score`, `Scoring.weights`, `unknown_columns` and `todo_table.py`'s `Moves` harder to read; leave each easier, with one shape and moves that are always moves, and the Moves cell's rules in one place. Release 0.3.0's seats named `ranking.py`'s `score`, `weigh` and `rank` and `todo_table.py`'s `OLD_SHAPE` for the same fork: "every rule exists twice for the old table shape" (Mid A). Make `weigh` and `rank` easier to read too.
### 601. Make stability-reviewer accept a surviving hand-made mutant as equivalent only on a test or proof that no input tells it apart, and run the library calls a change uses to parse or convert a date, time or number at their boundaries.
An outside reviewer raised two findings on a pull request in another project, a PHP project with no mutation tool, that parses ISO date-times. Neither the implementer nor stability-reviewer had caught them.
First, a regex's range check on an offset's hour, 00 to 23, was deleted because a hand-made mutant of it survived. The mutant was judged equivalent after one input, an hour of 25, which the language's own parser refused anyway. Hour 24, which the parser accepts, was never tried. Second, a library call that converted a fraction of a second with 16 digits rounded it up into the next second, and so moved a timestamp across midnight in a time zone. Nobody ran the conversion at its limits.
Chosen: two rules in stability-reviewer's brief, and one sentence in larv-review §2's "Mutation tests" where the implementer runs mutants by hand.
- Where mutants are made by hand, a surviving one counts as equivalent only where no input can tell the two programs apart, shown by a test or a short proof. Trying one input never shows it. Otherwise it is a 🟡 asking for the test that kills it.
- Where the change parses or converts a date, a time or a number through a library call, the reviewer runs that call at the boundaries: each end of a range and one step past it, a long fraction that rounds, trailing characters, and overflow next to a day, hour or offset limit. It reports each boundary whose behaviour no test pins, as a 🟡, or as a 🔴 where the value then crosses a limit, such as a day.
A deterministic fix is better where one exists: a mutation tool for the language, which `mutate-changes` runs and §2 already asks to file an item for where none covers it. That catches the first finding only where the tool runs, so the rules above still close the gap for languages without one, and the second finding has no tool.
Touches:
- `agents/stability-reviewer.md`: `## First Steps` (small), `### 5. Edge Cases & Input Validation` (small)
- `skills/larv-review/SKILL.md`: `## 2. Ship the branch (idempotent — skip whatever already exists)` (small)
### 388. Refuse an agent's Write or Edit of a routing ladder file in rule-hook, since a change to the ladder is the human's.
Filed by PR #553, which made the routing ladder a file: `bin/model_routing/routing-ladder.json`, and a project's own `routing-ladder.json` in its config's folder. `CLAUDE.md` → "Working loop", "Ask, don't guess" reserves a change to the routing ladder for the human, and until PR #553 the ladder was code, which only a reviewed chunk changed. A worker can now write its project's file, and with it choose the rungs its own later cycles and reviews run on. The security pass of PR #553 noted that a ladder changed mid-cycle also makes rule-hook's `reviewer-rung` skip its check, since the rungs build-release handed are then off the ladder.
@@ -708,6 +802,12 @@ Weigh the widely used tmux-resurrect and tmux-continuum plugins against a script
Today the folder is the SHA-256 of the transcript's first timestamped line, which tells the human nothing; that line carries the start time. Drop the fallback to the first line, which every chunk of a project shares, and give the tests' fake transcripts ISO timestamps. `bin/reading-cost` takes a chunk's id from the folder's first 12 characters and skips a chunk whose id `docs/reading-cost.md` holds, so give it a way to match a figure written under the old name.
### 602. Make `chunk-pr ready` refuse while a commit on the branch is newer than the pull request's last description edit, naming those commits, so a fix pushed after review can't leave the description claiming what the head no longer does.
An outside reviewer found a pull request whose description still claimed a change that the branch's last commit had reverted. No pass reads the description against the head: the prose pass reads the diff, and the description is written once, at `chunk-pr open`. A fix commit after the reviews leaves every claim in it unchecked.
Fix: in `chunk-pr ready` (and `push`, where it re-requests review), compare the time the description was last edited with the newest commit on the branch: GitHub's GraphQL `lastEditedAt`, or `createdAt` where it was never edited; Gitea's `updated_at` for the body. Where a commit is newer, refuse and name the commits, so the description is reread and edited, or accepted unchanged with a flag such as `--description-current`. A deterministic check, because a reviewer only catches this when it happens to read the description.
### 324. Count in the routing figures the finished chunks whose worker wrote no `Chunk items:` line.
`docs/decisions.md` → `routing: build-release reads the items a chunk takes …` holds only while workers write the line when asked, and nothing counts a chunk whose worker skipped it. There build-release scores no item beyond the one the chunk was routed on, so the route holds. Count in `bin/routing_figures/`, beside the chunks counted, those whose worker's transcript holds no such line, so the human sees when the decision's premise stops holding.