Correct --help's end of the loop and drop prose the code or the log already holds

This commit is contained in:
2026-09-28 20:31:56 +02:00
parent c9afc369f9
commit 20db779a0d
5 changed files with 6 additions and 10 deletions
-2
View File
@@ -20,7 +20,6 @@ class UserEntryKind(enum.Enum):
def locations(home):
"""~/.claude.json, the model catalog folder and the projects folder."""
return home / ".claude.json", home / ".claude" / "cache" / "model-catalog", home / ".claude" / "projects"
@@ -35,7 +34,6 @@ def session_files(transcript):
return glob.glob(glob.escape(transcript.removesuffix(".jsonl")) + "*")
# One line of a transcript or of stream-json, or --output-format json's whole output.
def parse(raw):
try:
entry = json.loads(raw)
-1
View File
@@ -40,7 +40,6 @@ JUDGE_SCHEMA = {
def judge(root, task, premises, transcript, model):
# No tools, so the verdict rests on the transcript grounded() checks it against; no persistence, so its runs stay out of the session picker.
# Without --bare, claude -p loads the project's and ~/.claude's CLAUDE.md.
args = [
"-p",
"--json-schema", json.dumps(JUDGE_SCHEMA),
+1 -1
View File
@@ -8,7 +8,7 @@ the transcript against them and rules whether the chunk, the smallest PR-able ch
A question only the human can answer, or a release ready to cut, is an interrupt: `claude --resume`
on the terminal, every worktree first marked trusted in ~/.claude.json. An unfinished chunk resumes
its session next cycle; the next chunk starts a fresh session.
Cycles continue until that interrupt or Ctrl-C. Words: ~/.claude/CLAUDE.md → "Vocabulary".
Cycles continue until an exit below or Ctrl-C. Words: ~/.claude/CLAUDE.md → "Vocabulary".
Exit 1: no task, not inside a checkout, no premises, a models file it cannot read or write, claude
leaves no transcript or one it cannot read or archive, claude cannot start for an interrupt, a
+1 -2
View File
@@ -19,8 +19,7 @@ class Session:
def session_for(root, paths):
"""The project's one session, at an id fixed by its name. It exists while its transcript does: a chunk's first
cycle starts it, each later cycle of the chunk resumes it, and the finished chunk deletes it."""
"""Exists while its transcript does."""
# "A " is the human's cue in the session picker that the session is the loop's.
name = f"A {project_name(root, paths.code)} loop-claude"
return Session(uuid.uuid5(NAMESPACE, name), name, paths.projects)
+4 -4
View File
@@ -4,18 +4,18 @@
**⚠️ THE REBUILD NEVER MERGES INTO MAIN WITHOUT THE HUMAN'S EXPLICIT APPROVAL.** Every rebuild chunk is a worktree based on `origin/rebuild` with its PR into `rebuild`, never into main. Other sessions run on `~/.claude` main throughout; only the human merges `rebuild` into main, once they have approved the finished whole.
The rebuild lifts every dimension: each item below is one chunk on a worktree based on `origin/rebuild`, its PR into `rebuild`, until the last item merges `rebuild` into main. The sketches, the judges' verdicts and what to take from each: `~/code/claude-handoffs/claude-config_2026-09-28.md`.
The rebuild lifts every dimension: each item below is one chunk on a worktree based on `origin/rebuild`, its PR into `rebuild`, until the last item opens `rebuild`'s PR into main. The sketches, the judges' verdicts and what to take from each: `~/code/claude-handoffs/claude-config_2026-09-28.md`.
The panel on `rebuild` at 37edc9a scored Self-sufficiency 6.5, Locality 6.63 and Shape 6.88 (`docs/decisions.md`). The places its seats named, capping dimension first:
The places the panel on `rebuild` at 37edc9a named (`docs/decisions.md`), capping dimension first:
- **State in larv-review's §3 what a pass's run is, and whether a Stage 0 rerun, a panel rerun after a floor fix, an auto-reviewer re-review and a 🔀 escalation each count against the round cap.** Four seats reread the re-entry rule with the table, `principles/review-findings.md` → "Rounds" and the Vocabulary open; round and run name one thing.
- **Point `agents/stability-reviewer.md`'s 🔀 list at larv-review's pass table.** Its security trigger (auth/session, payment, file upload) disagrees with the table's (authn/authz, secrets, crypto, untrusted input).
- **Return the verdict from `run_cycle`'s judge–interrupt loop, so nothing reads `verdict` after it.** Three seats; `archive`'s skip on an existing copy holds only because each interrupt appends a turn, which nothing at `cycle.py` says.
- **Return the verdict from `run_cycle`'s judge–interrupt loop, so nothing reads `verdict` after it.** Three seats; `archive`'s skip on an existing copy holds only because each interrupt appends a turn.
- **Name the minute `strike` sleeps, and the exec `reload_if_edited` may not return from, where each is called.** Four seats and three.
- **Let `render` join a human entry's text without relying on `user_entry_kind` having checked every part.** Three seats.
- **Give failure one spelling: `Failure.reason` and `Retry.failure`, `replace_file`'s raw `OSError`, and `typed`/`said` named for what they test.** Keep `LoopState`'s fields: they are main's `--reloaded` state (`docs/decisions.md`).
- **Group `bin/loop_claude/`'s 18 flat modules, and move `principles/review-findings.md` beside larv-review.** Two seats; `claude_code.py` is the first group.
- **Score `rebuild` with the four-seat panel at 7.0 or above on every dimension and the overall, none below the last run, and open its PR into main for the human.** ⚠️ Leave that PR ready and unmerged: only the human merges it, after approving the whole rebuild. A dimension under the floor gets its places filed above this item. A loop running main's script reloads into the new one and carries on (`docs/decisions.md`).
- **Score `rebuild` with the four-seat panel at 7.0 or above on every dimension and the overall, none below the last run, and open its PR into main for the human.** ⚠️ Leave that PR ready and unmerged: only the human merges it, after approving the whole rebuild. A dimension under the floor gets its places filed above this item.
## 0.2.0