Answer stability round 1: 0 🔴, 2 🟡 (0 misread); inject home into the goals file lookup and rename readme in ranking

This commit is contained in:
2026-11-13 00:29:22 +01:00
parent ad6118d19f
commit 7b6201cab6
27 changed files with 110 additions and 96 deletions
+8 -8
View File
@@ -3,13 +3,13 @@ HELP = """Run a task as headless claude cycles; a judge interrupts only when a d
usage: loop-claude <task>
Run it anywhere inside a project checkout whose goals file has ## Goals and ## Audience, the
premises: the file its config, ~/.claude-projects/<key>/config.toml, sets as goals-and-audience,
which `project-config goals-and-audience` prints. The task runs at the checkout root. Each cycle a
worker runs the task. A chunk's first worker prompt also quotes the premises. They, with code health
(~/.claude/CLAUDE.md → "Shared goal") ranked first unless the goals file voids it, choose between
ways to deliver the chunk's todo.md items, or else the task, and never widen them. A judge then
reads the transcript's end, the premises, and the records: the project's AGENTS.md and
docs/decisions.md, and the human's ~/.claude/CLAUDE.md, ~/.claude/rules/*.md and
premises. The goals file is the one the project's config, ~/.claude-projects/<key>/config.toml, sets
as goals-and-audience; `project-config goals-and-audience` prints it. The task runs at the checkout
root. Each cycle a worker runs the task. A chunk's first worker prompt also quotes the premises.
They, with code health (~/.claude/CLAUDE.md → "Shared goal") ranked first unless the goals file
voids it, choose between ways to deliver the chunk's todo.md items, or else the task, and never
widen them. A judge then reads the transcript's end, the premises, and the records: the project's
AGENTS.md and docs/decisions.md, and the human's ~/.claude/CLAUDE.md, ~/.claude/rules/*.md and
~/.claude/skills/larv-review/standards/*.md, where they exist. It rules whether the chunk, the work
of one PR, is finished. A chunk stays unfinished until each answer the human typed in it that a
later chunk could need is recorded: the premises or the records hold it, or the transcript shows the
@@ -100,7 +100,7 @@ Exit 1, saying why, when:
- git cannot start or finds no checkout
- the goals file, or AGENTS.md, docs/decisions.md, ~/.claude/CLAUDE.md, ~/.claude/rules/*.md or
~/.claude/skills/larv-review/standards/*.md where they exist, cannot be read or is not UTF-8
- no config names the checkout, or the goals file holds no premises
- no config names the checkout, its config cannot be read, or the goals file holds no premises
- the models file cannot be read or written
- claude leaves no transcript
- a transcript cannot be read or archived