Define reviewer, cycle, interrupt and session outright; trim chunk, memory and release

This commit is contained in:
2026-09-24 23:45:21 +02:00
parent 779d98e67c
commit d3864237f6
5 changed files with 16 additions and 16 deletions
+8 -8
View File
@@ -6,17 +6,17 @@ Shorter is better, none is best — chat output, commit messages, comments, docs
One word per concept, across this file, the agents, the skills and `loop-claude`:
- **chunk** — the unit of work: the smallest PR-able change, one `todo.md` item or a sub-item of one.
- **cycle** — one iteration of `loop-claude`, per its `--help`.
- **chunk** — the unit of work: the smallest PR-able change.
- **cycle** — one worker run and the judge's verdict on it, in `loop-claude`.
- **gate** — the merge gate: the checks a PR passes before it merges, CI where configured, local tests otherwise.
- **handoff** — the per-project document under `~/code/claude-handoffs/`.
- **interrupt** — `loop-claude` handing the terminal to the human, per its `--help`.
- **memory** — a memory file, the harness's own notes; project knowledge goes in the repo.
- **interrupt** — `loop-claude` handing the terminal to the human, `claude --resume`, for a decision that is theirs.
- **memory** — a memory file, the harness's own notes.
- **plan** — `todo.md`.
- **premises** — the goals and audience under `## Goals` and `## Audience` in the project's `README.md`.
- **release** — a semver version the human cuts; `CHANGELOG.md`'s `## Unreleased` holds what waits for it.
- **reviewer** — an agent under `~/.claude/agents/` that reports findings and changes nothing.
- **session** — a Claude Code session, one transcript.
- **release** — a semver version the human cuts.
- **reviewer** — a reporter of findings: an agent under `~/.claude/agents/`, `/security-review` or a forge's auto-reviewer; it fixes nothing and writes only what the protocol's Documenting decisions names.
- **session** — a Claude Code session: one id, what `claude --resume` continues.
- **trigger** — the signals in `larv-review` §2 that say the architecture pass is warranted.
## Prose
@@ -74,7 +74,7 @@ How work proceeds in any repo, unless that repo's `AGENTS.md` says otherwise.
## Handoffs
- One document per project: `~/code/claude-handoffs/<project>_<YYYY-MM-DD>.md`, with its supporting files (scripts, probes, saved sessions) under `~/code/claude-handoffs/<project>/<YYYY-MM-DD>/`, dated the day they were written.
- Each document stands alone — projects move in parallel, so never reference another project's handoff. A fact two of them share (a test site, where credentials live) is stated in each, or kept in a memory file and named there.
- Content: only what the repo cannot hold — probe results, where credentials live. The plan, what is done and the next step live in `todo.md`; goals, audience and decisions in `README.md`/`AGENTS.md`. A handoff never restates them: the repo's copy travels with the code and this one does not.
- Content: only what the repo cannot hold — probe results, where credentials live. What is done and the next step live in the plan; goals, audience and decisions in `README.md`/`AGENTS.md`. A handoff never restates them: the repo's copy travels with the code and this one does not.
## Tests
- Write tests first for the behaviour we want, then implement until they pass.
+1 -1
View File
@@ -1,6 +1,6 @@
# Claude Code configuration
My personal `~/.claude`, version controlled, its words defined once under `CLAUDE.md` → "Vocabulary": `CLAUDE.md` and `AGENTS.md` for instructions; `agents/` and `skills/`; `principles/` for what the reviewer agents hold every project to; `docs/` for decisions; `settings.json` for the harness and `.claude/settings.json` for the harness inside this repo; `statusline.sh`; `CHANGELOG.md` and `todo.md`; and the tools in `bin/`.
My personal `~/.claude`, version controlled: `CLAUDE.md` and `AGENTS.md` for instructions, the words under `CLAUDE.md` → "Vocabulary"; `agents/` and `skills/`; `principles/` for what the reviewer agents hold every project to; `docs/` for decisions; `settings.json` for the harness and `.claude/settings.json` for the harness inside this repo; `statusline.sh`; `CHANGELOG.md` and `todo.md`; and the tools in `bin/`.
## Goals
+5 -5
View File
@@ -3,11 +3,11 @@
usage: loop-claude <task>
Words: ~/.claude/CLAUDE.md, "Vocabulary". Run it in a project checkout whose README.md has ## Goals
and ## Audience, the premises. Each cycle a worker runs the task; a judge then reads the transcript
against them. A question only the human can answer, or a release ready to cut, is an interrupt:
`claude --resume` on the terminal. An unfinished chunk resumes the same session next cycle; a
finished one starts a fresh session. Cycles continue until that interrupt or Ctrl-C.
Run it in a project checkout whose README.md has ## Goals and ## Audience, the premises. Each cycle
a worker runs the task; a judge then reads the transcript against them. A question only the human
can answer, or a release ready to cut, is an interrupt: `claude --resume` on the terminal. An
unfinished chunk resumes the same session next cycle; a finished one starts a fresh session. Cycles
continue until that interrupt or Ctrl-C. Words: ~/.claude/CLAUDE.md, "Vocabulary".
Exit 1: no task, no premises, claude leaves no transcript, or the worker or the judge fails three
times running, a verdict missing a field or quoting nothing in the transcript being a judge failure.
+1 -1
View File
@@ -24,7 +24,7 @@ Hold all of these or the comparison proves nothing.
shape. Only the persona differs. A cheaper model for the juniors turns persona into a confound.
- **One depth.** Pick a reading depth below, name it in every brief, and give every seat the same
one. Seats that read different amounts produce numbers nothing can compare.
- **Blind.** Deny the project's own conclusions — `todo.md`, a decision log, a plan, prior review
- **Blind.** Deny the project's own conclusions — the plan, a decision log, prior review
output — and never show a panelist the metric under test. An anchored reader is a wasted one.
- **Check what the harness pre-loads, before launching.** `CLAUDE.md` may be nothing but
`@AGENTS.md`, and an `@file` import lands in a subagent's context ahead of its first tool call.
+1 -1
View File
@@ -28,7 +28,7 @@ A re-entry is a new loop with its own round cap.
- Someone else's PR, or the user asked for opinions only → single stability pass, report findings, done (skip shipping, fixing, the loops and the merge).
- Prose only — markdown, docs, comments, no code — → the reviewer loops add nothing: ship the branch (§1), the prose pass (§7), green gate (§8), merge (§10). Say so in the summary. Prose an outside reader lands on — public API docs, README, CHANGELOG, error or deprecation text — still takes §6's product-owner pass.
- Issue trackers are project-specific — the project's own docs say whether it has one. When it does and the work has a ticket, follow that tracker's conventions for assignment and status.
- **Nothing merges and nothing is reported done without premises**, which `~/.claude/CLAUDE.md` → "Working loop" holds all planned work on. Neither heading present, or a version too vague to settle a decision → this chunk cannot be judged: stop, say so, and write them with the user as the chunk instead. That chunk's whole review is the human's approval, since a reviewer's findings on it could only be declined by citing the goals it exists to write; a later change to a goal takes the full review. The same content in `AGENTS.md`, in `docs/` or in a decision log does not satisfy it, and neither does an earlier chunk having passed it. Only what that section lets through without them reaches review.
- **Nothing merges and nothing is reported done without premises**, which `~/.claude/CLAUDE.md` → "Working loop" holds all planned work on. Premises missing, or too vague to settle a decision → this chunk cannot be judged: stop, say so, and write them with the user as the chunk instead. That chunk's whole review is the human's approval, since a reviewer's findings on it could only be declined by citing the goals it exists to write; a later change to a goal takes the full review. The same content in `AGENTS.md`, in `docs/` or in a decision log does not satisfy it, and neither does an earlier chunk having passed it. Only what that section lets through without them reaches review.
## 1. Ship the branch (idempotent — skip whatever already exists)