Name the Claude Code internals loop-claude rests on in its --help
This commit was merged in pull request #13.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
- Track the authored configuration: `CLAUDE.md`, `AGENTS.md`, `settings.json`, `statusline.sh`, agents, skills and principles. Credentials, transcripts and memory stay untracked.
|
||||
- `loop-claude <task>` runs a project's next chunk round after round, handing the session over only for a decision that is yours or a release ready to cut.
|
||||
- `loop-claude --help` names the Claude Code version its transcript, session and trust handling were observed on; check it first when an upgrade breaks a round.
|
||||
- `loop-claude` runs the model each project's settings pick; `WORKER_MODEL` and `JUDGE_MODEL` override it. This repo runs on Fable 5.1.
|
||||
- Reviewers share one protocol for verdicts, severities, rounds and declines: `agents/review-protocol.md`.
|
||||
- Skills and agents cite `CLAUDE.md` by heading; the comment and documentation bar lives there alone.
|
||||
|
||||
@@ -18,6 +18,16 @@ resumed while present and deleted when the chunk finishes. Its transcript is arc
|
||||
$AUTO_MODE_TRANSCRIPTS (default ~/.claude/auto-mode-transcripts/<path>/) whenever the human is asked
|
||||
and when the chunk finishes. JUDGE_MODEL and WORKER_MODEL override the model the project's
|
||||
Claude Code settings pick. A change to this file takes effect at the next round boundary.
|
||||
|
||||
Claude Code internals this rests on, observed on 2.1.282:
|
||||
- The transcript is ~/.claude/projects/*/<session-id>.jsonl, one JSON object per line. A <session-id>/
|
||||
folder and <session-id>.superseded-*/ and .orphaned-*.jsonl siblings belong to the same session.
|
||||
- A typed human turn is a "user" entry without isMeta whose message.content is a string not starting
|
||||
with "<", or a list of "text" parts none of which starts with "[Request interrupted".
|
||||
- An "assistant" entry, in the transcript and in --output-format stream-json, carries message.content
|
||||
parts of type "text" (text) and "tool_use" (name, input); stream-json ends with a "result" event.
|
||||
- `claude -p --output-format json --json-schema` returns the verdict under "structured_output".
|
||||
- ~/.claude.json holds projects.<path>.hasTrustDialogAccepted per checkout.
|
||||
"""
|
||||
import glob
|
||||
import json
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
Nine-seat comprehension panel, 2026-09-24, depth 1: Navigation 7.6, Locality 5.0, Shape 6.2, Self-sufficiency 5.3, overall 5.9. Every seat was capped by Locality or Self-sufficiency, and seven of nine named `bin/loop-claude`'s round loop as the unit they would least want to modify. The items below are ordered by how many seats named the place and how much of the cap it carries; each is one chunk.
|
||||
|
||||
- State in `bin/loop-claude`'s docstring the Claude Code internals it rests on, with the version they were observed on (2.1.281): the transcript entry shapes `human_turns` reads, the `<id>.jsonl` file and its `.superseded-*`/`.orphaned-*` siblings, `~/.claude.json`'s `hasTrustDialogAccepted`, and `--json-schema` returning `structured_output`. Seven seats reconstructed these from the tests.
|
||||
- Fix in `bin/loop-claude`: a judge failure re-judges after a minute instead of re-running the worker with "stopped before it was finished"; the failure counter survives a reload; `reload_if_edited` runs the new file with `--help` before exec so an import-time error keeps the old one; every directory `archive` creates is 0700, not only the leaf; `human_turns` states the list case positively; `project_path` and `session_name` share one branch; `sections` stops at any heading. Add a test for `run_round`'s resume decision against a stub `claude`.
|
||||
- Replace `/home/lilleman` in `settings.json` (lines 9, 16, 59) and the three agents' principles pointers with a form that holds on another machine, and read the status line's time zone from the environment instead of `statusline.sh:65`.
|
||||
- Give the four things called "gate" (README gate, architecture gate, green gate, stability reviewer) one word each, and stop "round", "session", "handoff" and "memory" from each meaning two things across `CLAUDE.md`, `bin/loop-claude` and the skills.
|
||||
|
||||
Reference in New Issue
Block a user