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)