diff --git a/CHANGELOG.md b/CHANGELOG.md index 15a906fd..5a225f36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Unreleased +- Split the README's opening paragraph into one sentence on what dev-factory is and a list of what each folder and file holds. - **The loop's Claude home keeps out your own `~/.claude/CLAUDE.md` and `~/.claude/rules/`, which Claude Code loaded in every project under your home folder.** The home's generated `settings.json` now names your `~/.claude` in `claudeMdExcludes`. build-release and build-epic refuse to run from a release cloned inside `~/.claude`, since that setting would drop the release's own rules: clone it elsewhere, as `README.md` → Install says. The gate now runs a first chunk as a newcomer would, in a container with a stock Claude Code and a mock Messages API (`first-chunk-e2e/run`), and fails where anything from that `~/.claude` reaches a request or the folder changes. - Added `claude-release`, which opens claude in the loop's Claude home with the setup loaded, in the folder you run it in, and passes every argument on to claude; `README.md` → Install says how it differs from the claude you start from your own `~/.claude`. - **The project and its repo are named `dev-factory`, in the README, the docs, the prose and the tools; the repo moved from `claude-config` on the forge.** Before you update, point each clone at the new URL, as `README.md` → Install clones it: `git remote set-url origin `. First finish the project's open chunks and stop its running `build-release`: neither the tmux session `loop-claude-config` nor a claude session named `A claude-config build-release ` is found under the new key. Then rename the setup's development clone from `~/code/claude-config` to `~/code/dev-factory`, where the tools expect it. A project's key is its clone's path relative to `~/code`, so the rename gives the project a new key. After it, set `checkout = "~/code/dev-factory"` in the project's `config.toml`, move its folder `~/.config/build-release/claude-config/` to `~/.config/build-release/dev-factory/`, move its folder under the transcripts root the same way (`~/.local/state/build-release/transcripts/`, unless `BUILD_RELEASE_TRANSCRIPTS` names another), and rename its entry in `~/.config/build-release/models.json`. The Docker image the README builds for `task-bench` is tagged `dev-factory-task-bench`, not `claude-config-task-bench`: build it again. diff --git a/README.md b/README.md index 0518523b..6adc8953 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,20 @@ # dev-factory -dev-factory builds a project's plan into merged pull requests, with Claude Code as its harness today. This repo holds dev-factory's setup, version controlled: `CLAUDE.md` and `rules/` for instructions, the words under `CLAUDE.md` → "Vocabulary"; `.claude/rules/` for the rules that load in this repo alone; `agents/` and `skills/`; `principles/` and `skills/larv-review/standards/` for what the reviewer agents hold projects to, which a project's config names as `principles` and `standards`; `docs/` for decisions and the comprehension history; `settings.json` for the harness and `.claude/settings.json` for the harness inside this repo; `CHANGELOG.md` and `todo.md`; the tools in `bin/`, with the routing ladder they ship, `bin/model_routing/routing-ladder.json`; `workflow-bench/`, the scripts and prompts of the 2026-09-30 bench of larv-review and of the 2026-11-12 bench of the advisor tool; `reviewer-merge-trials/`, the 2026-11-09 trials of merging reviewers, with their method, results and scripts; `judge-field-trials/`, the 2026-11-11 trials of which facts code could read in place of build-release's judge, with their results and scripts; `stability-skip-count/`, the 2026-11-12 count of archived stability rounds, with its script, from which larv-review took when to skip a stability round 2; and `presentation/`, the page of a talk that explained this setup to newcomers, as it stood then, with the script that prints it to PDF. +dev-factory builds a project's plan into merged pull requests, with Claude Code as its harness today. This repo holds dev-factory's setup, version controlled: + +- `CLAUDE.md` and `rules/` for instructions, with the words they use defined under `CLAUDE.md` → "Vocabulary" +- `.claude/rules/` for the rules that load in this repo alone +- `agents/` and `skills/` +- `principles/` and `skills/larv-review/standards/` for what the reviewer agents hold projects to, which a project's config names as `principles` and `standards` +- `docs/` for decisions and the comprehension history +- `settings.json` for the harness and `.claude/settings.json` for the harness inside this repo +- `CHANGELOG.md` and `todo.md` +- `bin/` for the tools, with the routing ladder they ship, `bin/model_routing/routing-ladder.json` +- `workflow-bench/`, the scripts and prompts of the 2026-09-30 bench of larv-review and of the 2026-11-12 bench of the advisor tool +- `reviewer-merge-trials/`, the 2026-11-09 trials of merging reviewers, with their method, results and scripts +- `judge-field-trials/`, the 2026-11-11 trials of which facts code could read itself instead of leaving them to build-release's judge, with their results and scripts +- `stability-skip-count/`, the 2026-11-12 count of archived stability rounds, with its script, which larv-review used to decide when to skip a stability round 2 +- `presentation/`, the page of a talk that explained this setup to newcomers, as the setup stood at the talk, with the script that prints it to PDF ## Goals diff --git a/docs/comprehension-history.md b/docs/comprehension-history.md index 19afafff..6fe5fb6f 100644 --- a/docs/comprehension-history.md +++ b/docs/comprehension-history.md @@ -4793,3 +4793,86 @@ Inherited architect, would restructure first: - Locality: `bin/rule_hook/round_cap.py:10` `round_cap_breaches`: the round cap has four homes and fails open at `earlier_titles` - Locality: `bin/agent_cycle/routing.py:115` `unfinished_route`: routing is spread over four homes - Locality: `bin/transcript_archive/outcomes.py:11` `outcomes`: a line format parsed by regex in four readers + +## 2026-12-04T07:58:11Z, PR #813 at 5070d896 + +| Seat | Navigation | Locality | Shape | Self-sufficiency | Overall | +|---|---|---|---|---|---| +| Junior A | 7 | 6 | 6 | 6 | 6.5 | +| Mid A | 7 | 5.5 | 6.5 | 6 | 6 | +| Maintainability senior | 7 | 5.5 | 6 | 6 | 6 | +| Inherited architect | 7 | 7 | 6 | 6 | 6.5 | +| Mean | 7.00 | 6.00 | 6.13 | 6.00 | 6.25 | + +Junior A, hardest first: + +- Self-sufficiency, Locality: `bin/agent_cycle/routing.py:115` `unfinished_route`: five rungs held at once, the escalation mark in another module +- Locality, Shape: `bin/chunk_pr/main.py:462` `merged`: a queue loop carrying flock, approval, human-merge, park and epic-base variants, and a side trip to `remeasure` +- Shape, Self-sufficiency: `bin/task_bench/main.py:242` `Planner`: three layers of curried callables, and the Rust test-module rules in one chain of nested clauses +- 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, Shape: `bin/build_epic/main.py:241` `chunk_run`: one loop over `str | Stop | Merged` with about 30 imports + +Mid A, hardest first: + +- Locality, Shape: `bin/chunk_pr/main.py:530` `merge_turn`: about seven decisions in a row, with the order of side effects load-bearing and unstated +- Locality: `bin/build_epic/scheduler.py:178` `start_chunks`: state carried in tmux window-name suffixes written in another package +- Locality: `bin/build_epic/parking.py:26` `parked_through`: park state spread over a file, a window name and the forge, with a mutable `Told` +- Self-sufficiency: `bin/agent_cycle/routing.py:115` `unfinished_route`: five rungs, the reason in the decision log +- Shape: `bin/task_bench/main.py:243` `Planner`: closures three deep + +Maintainability senior, hardest first: + +- Locality: `bin/build_epic/scheduler.py:178` `start_chunks`: correctness depends on window names that `parking.py` writes +- Locality, Shape: `bin/build_epic/parking.py:26` `parked_through`: one chunk's parked state in three places, order stated and not justified +- Locality: `bin/chunk_pr/main.py:462` `merged`: failure mid-merge decided in sibling tools +- Shape: `bin/build_epic/main.py:241` `chunk_run`: `news` typed `str | Stop | Merged`, the empty string never named +- Locality: `bin/agent_cycle/judge.py:79` `TASK_HEADING`: a heading wording that replay parses, held by a comment alone + +Inherited architect, would restructure first: + +- Navigation, Shape: `README.md:276` "Packages under bin/": the only map of a flat `bin/` of about 83 entries +- Locality: `bin/rule_hook/round_cap.py:10` `round_cap_breaches`: the round count lives in four places with two failure policies +- Shape: `bin/chunk_pr/main.py:462` `merged`: a 778-line module with seven subcommands +- Self-sufficiency: `bin/build_epic/__init__.py:1` the empty package docstring, with 22 modules citing one decision entry +- Self-sufficiency: `.claude/rules/this-repo-keeps-no-agents-md.md:3` a rationale that says `~/.claude` is a checkout of this repo + +## 2026-12-04T08:00:09Z, PR #813 rerun at 5070d896 + +| Seat | Navigation | Locality | Shape | Self-sufficiency | Overall | +|---|---|---|---|---|---| +| Junior A | 7 | 5.5 | 6 | 6 | 6 | +| Mid A | 7 | 5.5 | 6 | 5.5 | 6 | +| Maintainability senior | 7 | 5.5 | 6 | 6 | 6 | +| Inherited architect | 7 | 6.5 | 6 | 6.5 | 6.5 | +| Mean | 7.00 | 5.75 | 6.00 | 6.00 | 6.13 | + +Junior A, hardest first: + +- Self-sufficiency, Locality: `bin/agent_cycle/routing.py:115` `unfinished_route`: five rungs and a counter held at once, the escalation mark in another module +- Locality, Shape: `bin/build_epic/main.py:241` `chunk_run`: `news` typed `str | Stop | Merged`, its exit test readable only after `parked_through` +- Locality: `bin/build_epic/parking.py:118` `resumed_news`: a polling loop whose mutable `Told` renames tmux windows +- Locality, Shape: `bin/chunk_pr/main.py:462` `merged`: a flock queue, an approval wait and by-human, to-epic and park flags +- Shape: `bin/task_bench/main.py:242` `Planner`: a callable that returns a callable that returns a callable + +Mid A, hardest first: + +- Locality: `bin/build_epic/parking.py:26` `parked_through`: state in files, tmux window names and the slot scheduler +- Locality, Shape: `bin/chunk_pr/main.py:462` `merged`: a name that returns a str, with a hidden `scoring-run-owed` call +- Locality, Shape: `bin/build_epic/scheduler.py:178` `start_chunks`: five derived sets and an elif ladder under a lock +- Self-sufficiency: `bin/agent_cycle/routing.py:115` `unfinished_route`: rungs, floor, cap and mark interacting +- Shape: `bin/release_plan/release_standing.py:206` `next_release`: a boolean expression that reads as a puzzle + +Maintainability senior, hardest first: + +- Locality: `bin/build_epic/scheduler.py:178` `start_chunks`: the scheduler's state is a tmux window name that `tmux.py` writes +- Locality, Shape: `bin/build_epic/main.py:241` `chunk_run`: whether the loop ends depends on `news == ""` together with `Finished` +- Locality: `bin/chunk_pr/main.py:462` `merged`: sentinels and two flags that switch each other off, a scoring-run check inside the turn +- 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 + +Inherited architect, would restructure first: + +- Navigation, Shape: `README.md:276` "Packages under bin/": the only map of a flat `bin/` of about 85 entries +- Shape: `bin/chunk_pr/main.py:1` `chunk_pr`: 778 lines, 35 functions, seven subcommands +- Locality: `bin/rule_hook/round_cap.py:10` `round_cap_breaches`: the round cap lives in prose, a constant and a hook +- Self-sufficiency: `.claude/rules/this-repo-keeps-no-agents-md.md:3` a rationale that says `~/.claude` is a checkout of this repo diff --git a/docs/reading-cost.md b/docs/reading-cost.md index 8d00d7fb..1a9df785 100644 --- a/docs/reading-cost.md +++ b/docs/reading-cost.md @@ -4172,3 +4172,20 @@ Read most (opens and searches): - `bin/build-epic` 1 - `bin/build-release` 1 - `bin/build_release/loop/test_main.py` 1 + +## Reading cost, chunk e61c74f0c138, finished 2026-12-04T07:47:29Z + +78968 new input tokens before the first commit. + +Read most (opens and searches): + +- `bin/agent_cycle/judge.py` 4 +- `README.md` 3 +- `bin/claude_home/home.py` 3 +- `bin/agent_cycle/worker.py` 2 +- `bin/build_release/loop/main.py` 2 +- `bin/loop_effects/effects.py` 2 +- `.gitignore` 1 +- `bin/agent_cycle/verdicts.py` 1 +- `bin/transcript_archive/__init__.py` 1 +- `bin/transcript_archive/outcomes.py` 1 diff --git a/todo.md b/todo.md index b5ec8965..2b28b050 100644 --- a/todo.md +++ b/todo.md @@ -6,13 +6,12 @@ `Bar = 0.1` -`Next ID = 588` +`Next ID = 589` ## Items | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| -| 578 | 0.18.0 | | owner | **Ship one chunk of this repo, to a merged pull request, from a clone of `main` that runs in the generated home, beside the untouched `~/.claude`.** | 1 | 2 | 1 | 2 | 1 | 2 by 4 | 1.2 | | 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 | | 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 | | 580 | 0.19.0 | | | **Call no scoring run for a release already cut whose last item the chunk moved to a later release.** | 2 | 2 | 3 | 5 | 3 | 1.4 by 3, 1.5 by 3 | 1.6 | @@ -40,7 +39,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 ` 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, Shape and Self-sufficiency first; today the second scoring run at 0aff7d39 scored Navigation 7.00, Locality 5.88, Shape 5.88, Self-sufficiency 6.00 and Overall 6.00.** | 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 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 | | 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 | @@ -101,18 +100,6 @@ ## Details -### 578. Ship one chunk of this repo, to a merged pull request, from a clone of `main` that runs in the generated home, beside the untouched `~/.claude`. - -Part of the standalone-install plan lilleman approved on 2026-11-20, as reshaped on 2026-12-03 when 0.18.0 was planned. This is the proof lilleman asked for before the cut. The chunk takes any item left in 0.18.0, or a tiny one filed for it. The machines themselves move after the cut, which is no plan item: the script that moves transcripts, archives, memory and plugins into the new home is thrown away once both machines have run it. - -Touches nothing of its own: the chunk it ships carries its item's list. - -Which file that chunk changes is not predictable until its item is chosen. The list holds `README.md` whole as the likeliest file of a tiny item, since a list needs one bullet. - -Touches: - -- `README.md` - ### 586. 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. Item 577's stability review probed Claude Code 2.1.336 in a throwaway config home: with `HOME` set to a symlink to the home folder, a skill, an agent and a command under the person's `.claude` reached the request; with `HOME` as the real path none did. `claudeMdExcludes` kept `CLAUDE.md` and the rules out both ways. The probe ran outside a checkout, so first repeat it in a project, in `first-chunk-e2e/first_chunk.py`'s container. Where it holds, have `bin/claude_home` or `bin/loop_effects` name the home folder by its real path, and exclude both spellings of the person's Claude home. Record the probe in the decision that the home's settings comment in `bin/claude_home/home.py` cites. @@ -296,39 +283,32 @@ 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, Shape and Self-sufficiency first; today the second scoring run at 0aff7d39 scored Navigation 7.00, Locality 5.88, Shape 5.88, Self-sufficiency 6.00 and Overall 6.00. +### 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. -Filed by the comprehension check of PR #473 at 13d1550 (`larv-review record-scoring`), which printed `Floor:` and `Next:`, refreshed from the two runs of item 525's chunk at 68611733, and then from the two runs of item 565's chunk at 98c49021. The lowest mean of the second run at 98c49021 is Self-sufficiency at 5.75, with Locality at 5.88 and Shape at 6.13; the first run put Self-sufficiency lowest at 5.63, with Locality and Shape at 5.75. Self-sufficiency: the why behind code sits in `docs/decisions.md`, cited by title from about 120 places, and the review loop's rules live in `skills/larv-review/SKILL.md`, not beside the unit that enforces them; `bin/agent_cycle/routing.py:115` `unfinished_route` keeps its reasons in the decision log too. Locality: build-epic and chunk-pr run order-dependent steps and keep state in tmux window names and between loop passes (`start_chunks`, `resumed_news`, `merged`, `merge_turn`), and no code enforces the order; `bin/build_epic/main.py:236` `chunk_run` and `bin/build_epic/scheduler.py:172` `start_chunks` are the hardest build-epic places, and the round cap is counted three ways (`bin/rule_hook/round_cap.py:28` `earlier_titles`, `bin/larv_review/reviewer_header.py:83` `branch_summaries`, `bin/review_rules/round_titles.py:39` `named_counts`). Shape: `bin/` stays flat at about 86 entries at one level, long functions carry several flags at once, and the OLD_SHAPE fork in `bin/plan/ranking.py` doubles the paths through ranking. 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 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. -Newest run, two runs of item 569's chunk at add7c09d: Locality is lowest at 5.63. It adds these places to the list below: `bin/rule_hook/reviewer_rung.py:28` `reviewer_breaches` refuses a launch for its rung and never for its round count, so the round cap has a launch-time gap beside the three counters; `bin/build_release/loop/chunk_windows.py:150` `chunks_to_start` is a near-twin of `bin/build_epic/scheduler.py:172` `start_chunks` with different rules and no stated reason for two; `bin/agent_cycle/tmux.py:92` `as_listed` keeps chunk state in window-name suffixes that other code matches on; `bin/plan/ranking.py:144` `weigh` checks the old table shape in every function; `bin/build_epic/__init__.py:1` has no map of its 25 modules. +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. -Newest run, two runs of item 579's chunk at 0aff7d39: Locality and Shape are lowest, both at 5.88, with Self-sufficiency at 6.00 and Navigation at 7.00. It adds these places to the list below: `bin/chunk_pr/main.py:601` `levelled_and_finished` is an order-dependent chain of git changes and a scoring-run check, with no statement of what holds after it returns; `bin/agent_cycle/run.py:160` `rule` decides the figures written by the order of its archive calls, and only a comment says so; `bin/larv_review/main.py:33` "needs-scoring-run" holds the whole rule for when a run is due and owed only in a long docstring; `bin/plan_store/jira_epic.py:200` `edit` hides the loop-filed against person-filed rule among about 45 lines of early returns; `bin/transcript_archive/outcomes.py:11` `outcomes` is a line format that four readers parse by regex; `bin/build_epic/main.py:236` `chunk_run` sits in a 520-line main that also holds help text and the issue-move policy. +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. -Aim: one ambitious refactor of the areas below, sized 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. +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 98c49021, hardest first (`larv-review places`), Self-sufficiency first: +- 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. -- Self-sufficiency, Locality: `bin/agent_cycle/routing.py:115` `unfinished_route`: five rungs interact, and the reasons sit in the decision log or the module's table. Three seats named it. -- Self-sufficiency, Locality: `skills/larv-review/SKILL.md:104` "Re-entry", with `:96` "Round cap": Re-entry depends on "Round cap" and "Mechanical answers" and is read twice to know which pass a fix reruns, and the cap's contract spans the skill, three modules and `bin/rule_hook/rules.py:85`. Two seats named it. -- Self-sufficiency: `bin/build_epic/main.py:485` `next_cycle`: a tmux window name doubles as the Jira issue key, written down nowhere. -- Self-sufficiency, Shape: `bin/release_plan/release_standing.py:206` `next_release`: one boolean packs three inputs. -- Locality, Self-sufficiency, Shape: `bin/build_epic/parking.py:18` `parked_through`: a crash-ordering protocol of three ordered steps and a polling loop, with state in a file, tmux attributes, Jira and scheduler slots, and the order only in the docstring. Three seats named it. -- Locality, Shape, Navigation: `bin/build_epic/scheduler.py:172` `start_chunks`: window sets and a parked map in a five-way branch under two nested locks, and the cap on running chunks lives here, in `resume` and in `bin/build_release/loop/chunk_windows.py:117` `start_chunks`. Three seats named it. -- Locality: `bin/rule_hook/round_cap.py:28` `earlier_titles`, with `bin/larv_review/reviewer_header.py:83` `branch_summaries` and `bin/review_rules/round_titles.py:39` `named_counts`: three round counters, and `earlier_titles` fails open where the others don't. Two seats named it. -- Locality, Shape: `bin/build_epic/main.py:402` `handed_on`: reads like a getter and writes Jira, the store and tmux. -- Locality: `bin/chunk_pr/main.py:624` `levelled_and_finished`: the order of the scoring-run check and the remeasure isn't explained. -- Locality: `bin/agent_cycle/judge.py:88` `Reply`: the prompt's wording is coupled to `judge_replay.archived_prompt`. -- Locality: `bin/chunk_driver/chunk_run.py:44` `closed_cycle`: `Route.unfinished` and `Run.unfinished_run` have near-identical names and different meanings. -- Locality: `bin/build_release/loop/reload.py:97` `exec_if_edited`: a new `LoopRun` field breaks running loops. -- Shape, Locality, Self-sufficiency: `bin/chunk_pr/main.py:485` `merged`: a merge-queue loop interleaving approval, parking and a flock, with chained Failure ternaries, four flags whose combinations aren't all visibly handled, about eight functions to follow one merge, and git, forge and plan effects in an unexplained order. Five seats named it. -- Shape, Locality: `bin/build_epic/main.py:236` `chunk_run`: a long loop mixing parking and reopening, with flags threaded through and a nested ternary at line 285. Three seats named it. -- Shape: `bin/task_bench/main.py:241` `Planner`: three layers of curried callables. Two seats named it. -- Shape: `bin/agent_cycle/run.py:33` `Cycle`, with `:160` `rule`: the dataclass has 17 fields, and `rule` has four near-identical archive names and one very long expression at line 255. -- Shape, Navigation: `bin/rule_hook/rules.py:27` `RULES`: a prose table and the check functions share one file. -- Shape: `bin/rule_hook/env_file.py:34` `reaching`: `and` over `or` without parentheses at line 41. -- Navigation, Shape: `bin/agent_cycle/__init__.py:1` `agent_cycle`: 17 flat modules against its own "about seven" citation. -- Navigation: `README.md:269` "build_epic": the only map of a 22-module package with an empty `__init__.py`. -- Navigation: `bin/chunk_driver/this_loop.py:12` `Loop`: the name doesn't say it holds a chunk's run context. +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. ### 264. Report the comprehension seats and the escalated subagents as subagent types of their own in `routing-figures.md`, with their dollars.