Carry the new words into the changelog, todo, gitignore and the test class; name vague goals as missing premises
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
# Allowlist: Claude Code writes credentials (.credentials.json), full session
|
||||
# transcripts (projects/, history.jsonl), memory and shell env dumps
|
||||
# transcripts (projects/, history.jsonl), memory files and shell env dumps
|
||||
# into this directory, and each release adds more. Ignore everything, then
|
||||
# un-ignore authored config only.
|
||||
*
|
||||
|
||||
+2
-2
@@ -2,9 +2,9 @@
|
||||
|
||||
## Unreleased
|
||||
|
||||
- Track the authored configuration: `CLAUDE.md`, `AGENTS.md`, `settings.json`, `statusline.sh`, agents, skills and principles. Credentials, transcripts and memory stay untracked.
|
||||
- Track the authored configuration: `CLAUDE.md`, `AGENTS.md`, `settings.json`, `statusline.sh`, agents, skills and principles. Credentials, transcripts and memory files stay untracked.
|
||||
- `loop-claude <task>` runs a project's next chunk cycle after cycle, interrupting 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 --help` names the Claude Code version its transcript, session and trust handling were observed on; check it first when an upgrade breaks a cycle.
|
||||
- `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.
|
||||
|
||||
@@ -38,7 +38,7 @@ Apply it as a question to any design that routes A through B, or has A reach int
|
||||
|
||||
How work proceeds in any repo, unless that repo's `AGENTS.md` says otherwise.
|
||||
|
||||
- **`README.md` states the goals and the audience under literal `## Goals` and `## Audience` headings — and until it does, nothing else proceeds.** Two different things, both required, both public: an outside reader judges the project by where it is heading and who it is for. Goals are priority-ordered and specific enough that a design decision can be derived from them; the audience names who depends on this and what they may rely on. These are the premises. The check is those two headings in `README.md`, run at the start of every chunk: 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. A repo missing either, or holding a version too vague to settle a decision, gets one chunk that writes them and takes approval **before any planned work**, `todo.md` included. While the premises are missing nothing merges and no work is reported as done: the only output is that chunk, or a statement that the premises are missing. Without them only: a security fix — which passes even where it alters an interface — a bot's dependency bump, and a repair restoring behaviour the repo already claims: a red gate, a failing build, a false doc, where it is the doc that gets corrected unless consumers already rely on what the doc promises. None of them decides direction. Anything else that adds capability, alters an interface, or picks between options is planned work and waits. Once written they stand; a later question they do not settle is the ask rule below, never reopened premises.
|
||||
- **`README.md` states the goals and the audience under literal `## Goals` and `## Audience` headings — and until it does, nothing else proceeds.** Two different things, both required, both public: an outside reader judges the project by where it is heading and who it is for. Goals are priority-ordered and specific enough that a design decision can be derived from them; the audience names who depends on this and what they may rely on. These are the premises. The check is those two headings in `README.md`, run at the start of every chunk: 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. A repo missing either, or holding a version too vague to settle a decision, has no premises and gets one chunk that writes them and takes approval **before any planned work**, `todo.md` included. While the premises are missing nothing merges and no work is reported as done: the only output is that chunk, or a statement that the premises are missing. Without them only: a security fix — which passes even where it alters an interface — a bot's dependency bump, and a repair restoring behaviour the repo already claims: a red gate, a failing build, a false doc, where it is the doc that gets corrected unless consumers already rely on what the doc promises. None of them decides direction. Anything else that adds capability, alters an interface, or picks between options is planned work and waits. Once written they stand; a later question they do not settle is the ask rule below, never reopened premises.
|
||||
- **`todo.md` is the plan, ordered as semver releases** — every item sits under the release that ships it. Where the earliest unreleased release names no items and nothing has shipped toward it, that chunk is planning it: weigh the unscheduled items against the goals, write the order, take approval before any code. A `todo.md` in any other shape gets that shape as the chunk, approval taken.
|
||||
- **A release is the human's, and a finished one stops all work.** The version bump and the publishing credentials are the human's whatever any other rule says; prepare everything around it so the release is one decision. Open every chunk with one line: the last version cut, what is unreleased (`CHANGELOG.md`'s `## Unreleased`, else the log since the last tag), and the release this chunk ships into; a repo that publishes nothing says so once. Where the earliest unreleased release has no items left and work has shipped toward it, that is the terminal state: report what it holds and that it is ready to cut, and stop. A security fix still lands, into the waiting release. Never roll forward into a later release's items, and never plan a new release, while a finished one waits — the bump is the next decision. Under `/loop`, that stop ends the loop.
|
||||
- **One chunk at a time**, the smallest PR-able unit; split a milestone into sub-items in `todo.md` before starting it. A finding inside the chunk is fixed in the chunk; outside it, it becomes a `todo.md` item under a release.
|
||||
|
||||
@@ -144,7 +144,7 @@ Improvements for clarity, maintainability, or defensive coding that reduce futur
|
||||
Explicitly list any violations of the shared principles in `~/.claude/principles/`.
|
||||
|
||||
### 🔀 Escalations
|
||||
You are the per-PR reviewer — and therefore the dispatcher for the other reviewers, which have no trigger of their own. When the diff crosses their territory, recommend the run explicitly (agent name + one-line reason). Omit this section when none applies.
|
||||
You are the per-PR reviewer — and therefore the dispatcher for the other reviewers. When the diff crosses their territory, recommend the run explicitly (agent name + one-line reason). Omit this section when none applies.
|
||||
- **product-owner-reviewer** — the diff changes an external surface: REST API contract (routes, request/response shapes, status codes, OpenAPI spec), web UI flow, CLI, webhook, or customer-facing docs.
|
||||
- **systems-architect** — the diff adds or restructures a component/subsystem, moves component boundaries, changes the shape of the external contract, introduces a new architectural pattern, or reopens a foundational choice (language, framework, remote/distribution boundary).
|
||||
- **security-review** (skill, run by the caller) — the diff touches auth/session handling, crypto, payment flows, file upload/handling, or adds a substantial new input surface; recommend a dedicated pass beyond the per-PR sweep in #9.
|
||||
|
||||
@@ -176,7 +176,7 @@ else:
|
||||
"""
|
||||
|
||||
|
||||
class RunRound(unittest.TestCase):
|
||||
class RunCycle(unittest.TestCase):
|
||||
def test_resumes_until_the_judge_calls_the_chunk_finished_and_rejudges_a_judge_failure(self):
|
||||
with tempfile.TemporaryDirectory() as home:
|
||||
stub = os.path.join(home, "claude")
|
||||
|
||||
@@ -17,7 +17,7 @@ Verdicts, severities, round caps, declining a finding and where decisions are re
|
||||
- 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. The chunk that first writes the goals and audience is the exception — a later change to a goal is not: the human's approval is its whole review, since a reviewer's findings on it could only be declined by citing the goals it exists to write.
|
||||
- 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.
|
||||
- The repo states its goals and audience under literal `## Goals` and `## Audience` headings in `README.md` — `~/.claude/CLAUDE.md` → "Working loop" calls them the premises and holds all planned work until they exist. Neither heading present, or a version too vague to settle a decision → this chunk cannot be judged against them: stop, say so, and write them with the user as the chunk instead. 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; nothing merges and nothing is reported done while they are missing. Only what that section lets through without them reaches review.
|
||||
- The repo states its goals and audience under literal `## Goals` and `## Audience` headings in `README.md` — `~/.claude/CLAUDE.md` → "Working loop" calls them the premises and holds all planned work until they exist. Neither heading present, or a version too vague to settle a decision → no premises, so this chunk cannot be judged against them: stop, say so, and write them with the user as the chunk instead. 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; nothing merges and nothing is reported done while they are missing. Only what that section lets through without them reaches review.
|
||||
|
||||
## 1. Ship the branch (idempotent — skip whatever already exists)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
## 0.1.0
|
||||
|
||||
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.
|
||||
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 cycle 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.
|
||||
|
||||
- Make `README.md`'s first line name every top-level entry (`AGENTS.md`, `statusline.sh`, `principles/`), make `principles/README.md` say who the principles are for instead of "Org-wide", and give the decision title "Merged under the comprehension floor" a subject.
|
||||
- Re-run the four-seat scoring panel and record the score in `docs/decisions.md`; the target is every dimension at 7.0 or above.
|
||||
|
||||
Reference in New Issue
Block a user