A software factory that asks you only what is yours to decide
+You write down what you want and who it is for. An AI plans the work, writes the code, gets it reviewed and merges it, one pull request at a time, for as long as the plan holds work.
+The problem
+-
+
- You babysit the agent. Every few minutes it asks something, or waits for a yes. +
- It forgets. Long sessions drift, and you explain the same context again. +
- It guesses. It decides what it should ask, and asks what it could decide. +
- AI review is noise. It nitpicks forever and still misses what matters. So you review it all again, and nobody can read the code six months later. +
What loop-claude does
+-
+
- It runs unattended. A judge reads every run, and interrupts you only for a choice that is yours. +
- It starts fresh every chunk. The repo is the memory: goals, plan and decisions are written down. +
- It decides by your goals. An answer you give is recorded once, and never asked again. +
- Review, refined by measurement. Narrow specialist reviewers report only real defects, and stop after two rounds: 110 later rounds found no red finding. Tests are checked by breaking the code on purpose. The review is tuned by replaying past rounds. +
What it aims for
+-
+
- Maintainable for years. Code that stays easy to read, change and debug, tomorrow and after seven years. +
- The highest quality, with the fewest interruptions. +
- Ask only when unsure, and never the same thing twice. +
- Keep lowering cost, unless that would cut quality. +
- The same rules in every project, and fast delivery. +
Each aim has a signal it is measured by, and a counter-signal that catches it being gamed.
+For developers and teams who build with AI agents and want a software factory: work that keeps flowing without someone watching it, at a quality they would sign off on.
+An AI that works through your plan, one pull request at a time
+Three sections. A picks the work, B does it, C checks the result. The next page opens up every box, in the same places.
+Why: sources 1
+The same three sections, opened up
+Same layout as the last page. Each big box there is the group of steps in the same place here.
+Four roles
+One human. Three kinds of AI, each with one job.
+Write the goals and the audience in the README. Approve the plan. Answer questions. Cut releases.
A Claude Code session with no human at the keyboard. It writes tests and code, opens the PR and runs the review.
A second, short AI run after each worker run. It reads the log and decides: finished, keep going, or ask you.
Specialist AIs. Each looks at the change from one angle and reports problems. They never edit code.
Three places
+Your project's repo holds its own goals, plan and decisions. The setup holds the rules, reviewers and tools that every project shares.
+Your project's repo
+One per project. Everything the next chunk needs.
+-
+
README.mdgoals and audience
+ todo.mdthe plan: one scored table
+ AGENTS.mdworking rules, and every decision's title
+ docs/decisions.mdanswers given once, with the reason
+ docs/comprehension-history.mdevery readability score
+ docs/reading-cost.mdwhat each chunk read
+ CHANGELOG.mdwhat users get, if it publishes
+ - the code and its tests +
The setup: ~/.claude
+ The claude-config repo, at a tagged release. Shared by every project.
-
+
CLAUDE.mdrules every session follows
+ rules/topic rules, loaded when a matching file is touched
+ agents/the reviewers
+ skills/larv-review/the review recipe and its standards
+ skills/comprehension-panel/the simulated readers
+ principles/technical principles reviewers hold code to
+ bin/the tools:loop-claude,loop-inbox,chunk-preflight,chunk-pr,rule-hook,rank_todo.py,run-heavyand more
+ settings.jsonrunsrule-hookbefore each Agent, Bash, Edit, Read, Skill and Write call
+
The machine and the forge
+Not tracked by either repo. The archive and the models file sit inside ~/.claude, but git ignores them.
-
+
~/code/<repo>-item-<ID>a worktree per chunk; its branchitem-<ID>becomes the PR
+ ~/.claude/loop-claude-transcripts/every run's full log
+ ~/.local/state/larv-review/every review report
+ ~/.local/state/loop-claude/open questions, forloop-inbox
+ ~/.claude/loop-claude-models.jsoneach project's model
+ - the forge (GitHub or Gitea) the pull request and CI +
The worker never commits to main. The setup itself is developed in ~/code/claude-config, by the same loop; ~/.claude only ever holds a release.
A · Start, in detail
+Plain code, no AI. It decides what the next chunk is, and which model does it.
+The README must hold ## Goals and ## Audience. Without them the loop refuses to start.
Each worker waits until a quarter of the machine's memory is free.
chunk-preflight fetches the repo and reads todo.md as main holds it.
It makes a worktree beside your checkout, on its own branch. There it runs four checks: the plan's ranking, whether a readability score is due, the reading cost, and the hardest places to read.
The task, the README's goals and audience, and every fact Prepare found: the last release, unreleased changes, the item, the items that may join it, the files it names, open PRs.
+It also names the models to review on.
Rank the plan, then pick the work
+-
+
- Rank:
rank_todo.pyscores every item from its L, E, I, size and the goals it moves, and sorts the plan. A commit that changestodo.mdwaits until it is ranked.
+ - An item waits while it is a question for the human, or while an item that blocks it is still in the plan. +
- The chunk takes the first item that doesn't wait, plus every item of the same release that needs the same reviewers. +
- An item with risk R above 5 ships alone. Up to ten tiny items can share a chunk. +
Pick model
+-
+
- Worker: by the item's L. L 1–2 one rung down, L 3 the project's model, L 4 one up. +
- Reviewers: the highest of the worker's model, the project's, and a step up for a high E + I. Readers and security: the project's model. The judge: never below it. +
- The worker steps up after every second unfinished verdict, or when stuck. At most two rungs without asking. +
| When the next release… | The chunk is |
|---|---|
| has a ready item | a normal chunk |
| has no items left, but unreleased work | the release review |
| has had its release review | none: the loop stops, and the human cuts the release |
| has no items and no work yet | planning: the worker moves the best items in, and the human approves them |
B · Work, in detail
+The worker follows a fixed recipe, called larv-review. The same six steps as page 1.
+A test comes first, and the worker sees it fail. Its expected values come from the item, never from the code.
+Then the simplest change that makes it pass. A draft PR opens, so CI runs while review goes on.
+Stuck? The same test fails after two fixes, or a round 2 still reports a red finding: the hard part goes to a stronger model.
Specialist reviewers, in waves. At most two rounds each per chunk. Only the fix for a red finding runs a reviewer again.
+The release review adds the architect and the principles auditor on top: the whole project, up to five rounds each.
Merge the latest main in. Check the plan's format. Run the tests. Wait for every CI check.
Mark the PR ready. Then wait up to ten minutes for the repo's own review bot, if it has one.
Does the PR break a goal the project must keep? Then it does not merge. The change is redesigned, or its item dropped.
+Does it work against a goal the project aims for? Then the human is asked.
When due, simulated readers score the project, or compare it before and after. It never blocks the merge. A low score adds a refactor item to the plan.
Merge the PR. Remove its items from todo.md, and move them to CHANGELOG.md if the repo publishes something.
The session ends. The next chunk starts fresh.
A planning chunk follows the same steps. Its change is plan rows, and the human approves them before any code is written. Why: sources 7, 8, 19, 20, 21
+The reviewers
+Each reviewer has one narrow job: a merged reviewer loses one pass's findings. They run in waves, each once the one before is done. Wave 1 runs only in the release review.
+| Reviewer | Runs when | Why it is its own reviewer |
|---|---|---|
| Architecture | Only in the release review, the last chunk of a release. | Structure drifts slowly over many small PRs; only a read of the whole project shows it. Each finding names a future change the code makes harder. |
| Principles | Only in the release review. | Holds the whole project to the goals and the written technical principles: a checklist read, not a design read. |
| Security | Code or config changed. A deeper multi-agent scan instead when it touches login, permissions, secrets, crypto, untrusted input or a new outside surface. | Finding holes takes an attacker's mindset. A correctness reviewer looks for what breaks, not for what can be abused. |
| Overrides | The worker bypassed a rule that a program enforces, with a written reason. | The worker cannot judge its own exception. A second opinion keeps the rule, or accepts the reason. |
| Stability | Code, config or tests changed. | Bugs, edge cases, error handling, line by line. It breaks the changed lines on purpose (mutation testing) to see whether the tests notice. |
| Product owner | Something users see changed: an API, CLI flags or exit codes, a file format, UI, error text, docs. | Reads the change as a user would. Ease of use and upgrade paths are invisible from inside the code. |
| Prose | Text changed: docs, comments, help, error messages. One round. | Writing has its own rules: short, clear, most important first. A docs-only change runs just this light pass, plus product owner for docs outside readers see. |
Reviewers only report; a program refuses every edit they try. The repo's own review bot, if it has one, runs at the Gate. Why: sources 14, 16, 17, 18, 26
+Findings and rounds
+Every finding gets a colour. The colour decides what must happen.
+-
+
- Outside this change? The finding becomes a new item in
todo.md, not a fix here.
+ - Only red fixes re-run reviewers. A fix for yellow, green or a question re-runs nothing. +
- A decline is written down, in a code comment or in
docs/decisions.md, so the next review does not raise it again.
+
The comprehension panel
+Simulated readers, from junior to architect, read the whole project and score it from 1 to 10.
+ +They score four things
+-
+
- Navigation
- Can I find where things are? +
- Locality
- Can I change one piece without holding the rest in my head? +
- Shape
- Does each level have few parts, with names that tell the truth? +
- Self-sufficiency
- Does the code explain itself? +
Real numbers: this setup's own latest scoring run (PR #397). Under 7.0, a refactor item is filed and ranked high.
+Two ways to ask
+Four readers give a 1–10 score. Runs when a release's items run out, or when an item aims at the 7.0 target.
Two readers compare before and after: better, same or worse? Runs in each release review.
Readability blocks no merge. It steers the plan: code health ranks first among every project's goals.
+ +C · Check, in detail
+A short AI run after every worker run. It decides what happens next, and when to ask the human.
+The end of the worker's log. The README's goals and audience. The project's AGENTS.md and docs/decisions.md. The setup's CLAUDE.md, rules/ and review standards.
A question those files already answer. It quotes the answer word for word, and the worker goes on.
+A quote not found word for word goes to the human instead.
A reply in the wrong shape, or with a made-up quote, counts as a failure and is retried. Three failures in a row stop the loop.
| Verdict | When | What happens next |
|---|---|---|
| Finished | The PR is merged, and every answer the human gave is written down. | Back to A. A new session, with a fresh, clean context. |
| Unfinished | Work is left. | Back to B. The same session goes on, told what is left. |
| Already settled | The worker asked something the records answer. | Back to B, with the quote. |
| Human's call | Only the human can decide. | The human types an answer, or opens /talk. Back to B with it. |
Rules it follows
+-
+
- Answers are written down. A chunk isn't finished until every answer the human typed is in the README,
AGENTS.md,docs/decisions.md,todo.mdor a code comment. The session is deleted at the end, so an unwritten answer would be lost.
+ - The worker makes its own small choices. A choice no rule reserves for the human, the worker makes and records. The judge doesn't interrupt for it. +
- No loops. A question asked again after its answer goes to the human. So does the fourth answered question in one cycle, and the sixth unfinished verdict in a row. +
The plan is one scored table
+Every item gets numbers. A program sorts them. The top item is next.
+| ID | Release | Item | L | E | I | R | S | Moves | Score |
|---|---|---|---|---|---|---|---|---|---|
| 281 | 0.7.0 | Remove a merged chunk's worktree and branch and fast-forward the main checkout with one command. | 3 | 2 | 3 | 6 | 3 | 1.4 by 2, 1.5 by 2 | 1.6 |
| 286 | 0.7.0 | Lower the reading cost of the files a chunk reads most before its first commit. | 3 | 2 | 2 | 5 | 5 | 1.4 by 4 | 1.0 |
Two real rows from this setup's own todo.md.
-
+
- Chunk = next item + every item that can share its review. Same release, same reviewers needed, nothing blocking. +
- Security findings rank first in their release. Only open questions to the human rank above them. +
The model ladder
+Easy work runs on a cheaper model. Risky work gets a stronger one, and stronger reviewers.
+How a rung is picked
+-
+
- Worker: L 1–2 one rung down, L 3 the project's rung, L 4 one up. +
- Reviewers: never below the project's rung or the worker's. E + I of 5 or more steps them up, one rung per point. +
- Readers and security: always the project's rung. The judge: never below it. +
When the worker climbs
+-
+
- The same test fails after two fixes. +
- A reviewer still finds a red problem in round 2. +
- A review rules the work below standard. +
At most two rungs above the start without asking you. The ladder shown is for a project on Opus 5.5.
+A release
+Chunks fill a release. A final review cleans up. You cut it.
+-
+
- Release review: the architect and the principles auditor read the whole project, up to five rounds each, and fix what they find. +
- Then the readers compare before and after. +
-
+
- When the release is ready, the loop stops and opens a session for you. It never starts the next release on its own. +
- Version number and publishing are always yours. +
Why: sources 17
+Talking to the loop
+You start it with one command. It interrupts you in its terminal and in a shared inbox.
+# inside a project checkout whose README has ## Goals and ## Audience +$ loop-claude "Do the next chunk." +… worker running: item 12 on claude-opus-5-5 at medium effort +… judge: unfinished; resuming the same session +… worker running +? The worker asks: goal 2 says the CLI stays stable, but item 12 renames a flag. + Keep the old name, or change goal 2? +answer › Keep the old name. Record it in docs/decisions.md. +… worker resumes with your answer +✓ judge: finished · PR merged · next chunk starts in a fresh session+
An example. Only a choice reserved for the human interrupts: a goal, a release's items and its cut, or the model ladder. Why: sources 4, 28
+ +| You type | What happens |
|---|---|
| a line of text | The worker resumes headless with your answer. It must record it before the chunk can finish. |
/talk | Opens the worker's session for you (claude --resume). Read the diff, discuss, then exit. |
| Enter alone | Stops the loop. Rerunning resumes where it was. |
loop-inbox | One screen for every loop on the machine: waiting questions, oldest first, and what each loop works on. Answer there or in the loop's own terminal; the first answer counts. |
When the loop stops by itself
+It stops only when it needs you, or something is broken.
+| Reason | What to do |
|---|---|
| Release ready to cut | It opens a session for you. Cut the release. |
| 6 unfinished verdicts in a row | Look at what is stuck; rerun to give it 6 more. |
| Worker or judge failed 3 times | Read the reason it prints. A usage limit is not a failure; it waits instead. |
| No goals in the README | Write ## Goals and ## Audience first. Nothing else runs until they exist. |
Guard rails
+Rules a program can check are enforced by a program, not by trust.
+| Rail | What it does |
|---|---|
| Sandbox | Runs only on a dedicated machine, such as a VM, with no access to production. Claude Code skips permission prompts there. |
rule-hook | Runs before each Agent, Bash, Edit, Read, Skill and Write call. Blocks e.g. multi-line commit messages, unpinned images, containers without memory limits, a third review round. Some rules allow a written override; the Overrides reviewer judges each one. |
run-heavy | Heavy commands (builds, mutation tests, full test runs) wait for a shared slot: one per 4 CPUs on the machine. |
| Memory | Every container gets a memory limit. A new worker starts only while a quarter of the machine's memory is free. |
| Context | Each worker session, the /talk session and their subagents compact their context at about 170k tokens, keeping what the chunk still needs. |
| Archive | Every run's full log is saved. Every 20 cycles, figures from it may ask the human to change which model does what. |
| Main branch | Nothing is pushed to main. Every change merges through a PR whose gate passed. |
Measured, so it can improve
+-
+
- Interrupts per chunk: should fall. Fewer questions to you. +
- Red and yellow findings per chunk: should fall. Better first drafts. +
- Later fixes to merged code: should not rise. Review is not missing things. +
- Tokens per chunk: should fall, without more review rounds or unfinished verdicts. +
- Hours per chunk: should fall, without more red findings. +
Why it works this way
+Each choice rests on research, a book, our own measurements, or trial and error. The numbers match the "Why" line at the bottom of each page.
+The loop
+| 1 | A fresh, clean context every chunk | Reasoning Every turn re-sends the whole context, and compaction loses detail. The repo holds the memory between chunks, so a new chunk loses little. Own measurement Simulated on 90 archived chunks, compacting at about 170k tokens would save about $78, 21% of the workers' spend. 36 full rewrites of a context after a cache gap cost $61, up to 785k tokens each. Within a chunk the session goes on: a fresh context for review would save $39, which compaction already saves as part of its $78. Research Models use facts in the middle of a long context worst: Liu et al., "Lost in the Middle", TACL 2024. Answers degrade as input grows: Hong et al., "Context Rot", Chroma Research, 2025. |
| 2 | Several items per chunk; risky items alone | Own measurement Over 165 chunks, one item cost a median 1.30M tokens and two items 1.33M. Review costs about the same per chunk, so sharing it is cheap. At risk R 6 the median rose to 2.7M, and one in ten passed 8.8M, so R above 5 ships alone. |
| 3 | The worker makes its own small choices | Own measurement 92 of 255 interrupts already held the worker's recommendation. A chunk with an interrupt took a median 7.1 hours, against 0.44 hours without one. So the worker takes its recommendation on any choice no rule reserves for the human, and records it. |
| 4 | Every answer is written down | Reasoning A finished chunk's session is deleted. An answer kept nowhere else would be asked again in a later chunk. One goal of the setup is to never ask the same thing twice. |
| 5 | A program enforces every rule it can check | Vendor docs Anthropic's best-practices page calls CLAUDE.md advisory and hooks deterministic. So rule-hook blocks a rule-breaking tool call before it lands, in every project.Own measurement The override marker's spelling was picked by a panel of three fresh readers, two to one. |
| 6 | Rules load by topic, not all at once | Research Anthropic's memory docs say a longer CLAUDE.md reduces adherence. IFScale (arXiv:2507.11538) measures adherence falling as the number of instructions grows. So each topic's rules load only when a matching file is touched. |
| 7 | The worker delegates only searches | Own measurement A subagent's report cost a median 8% of the worker's peak context. Search output (sed, grep) was 41% of its shell results. So searches go to subagents; edits stay with the worker, which would re-read a delegated diff anyway. |
| 8 | A limit on how much the worker reads at once | Own measurement Under "no more than 80 lines of a file, or 3,000 characters of output, at once", three test tasks read 45–60% less, at the same or lower cost, every task done as well. |
The plan
+| 9 | Goals with a signal and a counter-signal; achieve vs. maintain | Research Specific, hard goals beat vague ones: Locke & Latham 2002. A narrow goal makes people neglect the rest: Ordóñez et al. 2009, "Goals gone wild". A measure made a target gets gamed: Manheim & Garrabrant 2018 (arXiv:1803.04585). Goals that keep a state differ from goals that reach one: van Lamsweerde 2001 (KAOS). Research Instruction files alone did not raise agents' success (arXiv:2602.11988). So each goal names a signal that shows it still decides cases. |
| 10 | Risk = L + E + I, each level about ×10 | Research Multiplying 1–10 labels misleads: Stevens 1946; Cox 2008, Risk Analysis. Adding levels on a ×10 scale multiplies the real chance and cost: Kaplan & Garrick 1981. Impact is the worst case, not a sum: NIST; CVSS v4. |
| 11 | What makes L high: size, spread, something new, live config | Research Size predicts a defect best: Zeng et al. 2021, ISSTA. So does spread across files: Kamei et al. 2013. About 70% of Google's outages come from changes to a live system: Google SRE book. Complexity metrics add little once size is known: El Emam et al. 2001. |
| 12 | Order the plan by value over size | Book Doing the highest value per unit of work first minimises total waiting: Smith's rule, 1956; Reinertsen, The Principles of Product Development Flow, 2009 (WSJF). |
| 13 | Check every score against finished chunks | Research Compare guesses with outcomes: Brier 1950. Correct estimates against similar past cases: Flyvbjerg 2006. Anchor each level to real examples: Smith & Kendall 1963. People are overconfident: Hubbard, How to Measure Anything. Own measurement score-outcomes shows each finished item's guessed scores beside what its chunk measured. |
Review
+| 14 | Narrow, separate reviewers | Experience Early on, a reviewer with too broad a responsibility found fewer issues. Own measurement On 2026-11-09, merged reviewers were replayed on archived rounds. Stability, product owner and prose as one reviewer cost half as much, but found 15 of 34 prose findings again, against 22–23 for the prose reviewer. Architect and principles auditor as one found 5 of 17 principles findings, against 10, and lost both red ones. Even stability and product owner alone, as one, found 4–5 of 16 product-owner findings, against 7–10. In every merge, one absorbed pass lost findings, at a third to half the cost. Method and figures: reviewer-merge-trials/ in the setup's repo. Merging reviewers that check the same kind of thing did hold up: one principles auditor found as much as several. |
| 15 | At most two rounds per reviewer | Own measurement Since 2026-10-21, across all projects: round 1 ran 357 times and found 59 red findings. Round 2 ran about 200 times and found 12, mostly in round 1's fixes. Rounds 3 and later ran about 110 times and found none, for about $125. Asks for more rounds were 24 of 59 interrupts. |
| 16 | Reviewers report only real problems | Vendor docs Anthropic's Claude Code best practices: "A reviewer prompted to find gaps will usually report some, even when the work is sound." Own measurement 320 of this repo's 876 commits answered a review round. So stability and product owner report only defects, broken requirements or broken principles. |
| 17 | Architect and principles only in the release review | Own measurement The principles audit was the costliest reviewer after the worker, and filed findings unrelated to the chunk. Once a release, over the whole project, catches the same drift. |
| 18 | Security: /security-review, not a hand-written reviewer | Reasoning Its tuned exclusion list and confidence floor would be reproduced worse by hand. Own measurement Run beside the deep scan, it returned a near-identical report, so the deep scan replaces it when both would run. |
| 19 | Mutation testing instead of coverage | Research Coverage barely predicts fault detection: Inozemtseva & Holmes, ICSE 2014. Surviving mutants do predict real faults: Just et al., FSE 2014. Google runs mutation testing in code review: Petrović et al., arXiv:2102.11378. |
| 20 | Test first, with expected values from the item | Research Tests that copy the code's current output pass on a bug: Charoosaei et al., arXiv:2610.11835 (preprint); Mathews & Nagappan, arXiv:2412.14137. Agents add mocks more often than people: Hora & Robbes, MSR 2026. Book Software Engineering at Google, ch. 11, 12, 14; Beck, "Test Desiderata"; Khorikov, Unit Testing, ch. 4. |
| 21 | The worker reads a principle only when a finding names it | Own measurement Over five chunks on each side of the change, review rounds per reviewer fell from 2.26 to 1.52. |
Readability
+| 22 | Code that fits in your head: about seven things per level | Book Seemann, Code That Fits in Your Head, 2021. Ousterhout, A Philosophy of Software Design (deep modules). Research Working memory holds about four chunks: Cowan 2001. A list found by name is no memory limit: Nielsen Norman Group. No study supports a fixed limit on function length: Jones 2023. |
| 23 | Reader panel: before-and-after rulings, never blocking | Own measurement Two independent four-reader runs moved up to 0.4 on near-identical code (PR #224). Readers comparing before and after should cancel that noise. A check of that is still pending: it needs 10 commits each scored twice. Research No published study validates simulated reader panels yet. So the panel steers the plan and blocks no merge. |
| 24 | Reading cost: the median of five chunks | Own measurement One chunk read 2.99M tokens before its first commit, against a typical 80k–370k. An average let that one chunk decide the trend alone, so a rise is the last five chunks' median above the five before. |
Models
+| 25 | The model ladder, and no Haiku | Benchmark The rungs follow the Artificial Analysis Intelligence Index, except Fable 5.1 at max: the index scores it below Opus 5.5 at high, and the human put it on top for the hardest tasks. Own measurement A chunk on Haiku 5.5 ran 2 h 17 min and wrote 3.1M tokens. The chunk before it, on Sonnet 5.5, took 29 min and 111k. Chunks on Haiku took 7.8 extra review rounds, against 2.8 on Sonnet. So Haiku left the ladder. |
| 26 | Judge and reviewers never run below the project's model | Own measurement A replay of 39 judge verdicts, 31 of which the reference judge reproduced: on those 31, Opus 5.5 at medium missed none, and Sonnet 5.5 mislabelled 3 interrupts. A replay of review rounds: Sonnet 5.5 missed 44–55% of what the project's model found. |
The machine
+| 27 | Shared heavy slots and memory limits | Experience On 2026-10-22 an 8-CPU, 16 GiB machine thrashed for hours: four to six loops ran mutation tests, builds and e2e tests at once. The next day, with 7.6 GiB, it hung until a hard reset, from containers with no memory limit. So heavy commands wait for a slot, one per 4 CPUs, and every container gets a limit. |
| 28 | Names and syntax picked by the people who use them | Own measurement A panel of three readers, seated as the users, picks each new name or spelling. It picked loop-inbox 3–0. |
Most measurements come from loop-claude's archive of every run, across all projects; others from git history, review replays, the readability history and two machine incidents. The setup's own docs/decisions.md and docs/scoring-and-goals-research.md hold the full reasoning.
Words used here
+-
+
- Chunk
- One unit of work, shipped as one pull request. One or more plan items. +
- Cycle
- One worker run plus the judge's verdict on it. +
- Item
- One row of
todo.md, with a bold one-sentence goal and its scores.
+ - Worker
- The headless Claude Code session that does the chunk. +
- Judge
- The short AI run that reads each worker run and gives a verdict. +
- Interrupt
- A question only you can answer. Shown in the terminal and in
loop-inbox.
+ - Pass
- One kind of review, such as Stability. It runs in rounds. +
- Round
- One review by one reviewer. At most two per pass per chunk. +
- Gate
- The checks a PR must pass to merge: tests, CI, plan format. +
- Rung
- A model at an effort level, such as "Opus 5.5 at high". +
- Premises
- The README's
## Goalsand## Audience. Nothing runs without them.
+ - Release review
- A release's last chunk: whole-project review before you cut it. +
- Seat
- One simulated reader on the comprehension panel. +
- Worktree
- A separate git checkout per chunk, so your main checkout stays untouched. +
The two commands you use
+$ loop-claude "Do the next chunk." # start the loop in a project +$ loop-inbox # answer every loop's questions+