diff --git a/AGENTS.md b/AGENTS.md index 74d41f68..4feb90b9 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -31,7 +31,7 @@ Decisions live in `docs/decisions.md`: - review: a pass skips only on a precedent: a decision, or a plan item crediting the pass, that the repo held before the chunk began - review: a project decision may opt every chunk out of the architect, the product-owner pass or the comprehension check, and a project opting out of the comprehension check voids code health - review: a project decision may suspend the comprehension check for the plan items it names -- review: a release review fixes its findings in the release it reviews, and files only a finding that needs a human answer or adds a feature, under that release +- review: a release review fixes its findings in the release it reviews, and files under that release only a finding that needs a human answer, adds a feature or outlasts its five rounds - review: a reviewer or comprehension seat that rules the work below standard may ask to rerun once, one rung up, in the same round; the ruling that stands is an escalation trigger for the worker, never for the judge - review: a reviewer under `agents/` marks a ๐Ÿ”ด or ๐ŸŸก `[misread]` where the implementer misread code that had already shipped, each round title counts the marked findings, and `score-outcomes` lists them per chunk - review: an ask no user answers leaves the PR unmerged diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ea1d1cd..a4290dff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,8 @@ ## Unreleased -- A release review now fixes the findings of its architecture and principles passes in the release it reviews. Before, it filed every one in `todo.md` under a later release, so the release held the drift the review had found. It files only a finding whose fix needs a human answer, marked `question`, or adds a feature, and a finding left after round five, all under the release being reviewed, which keeps that release from being ready to cut. -- `chunk-preflight` now calls a release that never had a tag finished once `todo.md` no longer files an item under it, so its release review is due and no later release's item is taken. Before, a repo with no tag lost sight of such a release. +- A release review now fixes the findings of its architecture and principles passes in the release it reviews. Before, it filed each one in `todo.md`, so the release held the drift the review had found. It files only three kinds of finding, each under the release being reviewed: one whose fix needs a human answer, marked `question`; one whose fix adds a feature; and one whose fix the five rounds cannot finish. Until each is done, the release isn't ready to cut. +- In a repo with no tag yet, `chunk-preflight` now calls a release finished once `todo.md` files no item under it: its release review is due, and no later release's item is taken. Before, it lost sight of such a release. ## 0.4.0 diff --git a/docs/decisions.md b/docs/decisions.md index 304fa0e6..6ca14814 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -107,7 +107,7 @@ Valid while cache reads cost a twentieth of input and Claude Code's compaction k ## loop-inbox: a loop-claude lists itself while it runs, and its waiting question, as files per session under `~/.local/state/loop-claude/`, and takes the first answer, from its terminal or from loop-inbox, that names that question -2026-10-28, lilleman, todo item 243. Serves goal 1. With several loops running, each asked on its own terminal, and the human searched the terminals for the ones that waited. loop-inbox lists every loop's interrupts, the routing calls included, oldest first, and the human answers each one there. A loop asking for its project's model, as on a project's first run, asks on its terminal only: the human has just started it there, and no worker session exists yet. `bin/loop_claude/waiting.py` holds the protocol: +2026-10-28, lilleman, todo item 243. Serves goal 1. With several loops running, each asked on its own terminal, and the human searched the terminals for the ones that waited. loop-inbox lists every loop's interrupts, the routing calls included, oldest first, and the human answers each one there. A loop asking for its project's model, as on a project's first run, asks on its terminal only: the human has just started it there, and no worker session exists yet. `bin/loop_claude/waiting/` holds the protocol: - An answer reaching the wrong loop is the worst failure. Each answer names the question it answers by a fresh id, so an answer meant for an earlier question, or sent as the terminal answered, never answers a later one. - `/talk` from loop-inbox waits for the loop to stop reading its terminal before claude opens, so only one claude holds the worker's session. - While claude is open for a question, as for a release ready to cut, the routing calls or a `/talk`, loop-inbox lists the loop and where claude is open, but takes no answer for it. @@ -200,9 +200,9 @@ Valid while the later fixes per finished chunk, which `score-outcomes` and the r 2026-10-04, lilleman. Serves goal 1.4. In a restructure, each step's scoring run measures code the next step deletes. It costs a run and, below the floor, blocks the step, yet says nothing about what the restructure buys. The scoring run after the last step measures that. 2026-10-08: the paired ruling replaced the scoring run in most chunks, and the suspension covers it too; the ruling after the last step compares with the commit measured before the first step. 2026-10-13, lilleman: the comprehension check blocks nothing now, so a suspension saves only the runs. Valid while such a decision names its items and the plan item that ends it. -## review: a release review fixes its findings in the release it reviews, and files only a finding that needs a human answer or adds a feature, under that release +## review: a release review fixes its findings in the release it reviews, and files under that release only a finding that needs a human answer, adds a feature or outlasts its five rounds -2026-10-30, lilleman through todo item 258. Serves goal 1.1. fejkdata.dev's release review of 0.1.0 filed the architect's findings as items 28 to 36, in releases after 0.1.0, so the release the human was about to cut still held the drift the review had found. A release review's branch opens with an empty commit, so under `larv-review` ยง3 โ†’ "Findings" โ†’ "Outside the chunk" every finding lay outside its change and was filed. The review's whole point is to leave the release without the drift its small changes made, so the whole project is its chunk and the passes fix within their five rounds. Two kinds of finding are still filed, marked `question` where a human must answer: one whose fix needs a human answer, and one whose fix adds a feature. A finding left after round five is filed under the release being reviewed, which keeps the release from being ready to cut until a chunk answers it. Valid while a release review's rounds can fix what they find. +2026-10-30, lilleman through todo item 258. Serves goal 1.1. fejkdata.dev's release review of 0.1.0 filed the architect's findings as items 28 to 36, in releases after 0.1.0, so the release the human was about to cut still held the drift the review had found. A release review's branch opens with an empty commit, so under `larv-review` ยง3 โ†’ "Findings" โ†’ "Outside the chunk" every finding lay outside its change and was filed. The review's whole point is to leave the release without the drift the release's small changes made, so the whole project is its chunk and the passes fix within their five rounds. Three kinds of finding are still filed, each under the release being reviewed, or under the earliest release `rules/todo-items.md` allows where that release's semver bump forbids it, such as a feature in a patch release: one whose fix needs a human answer, marked `question`; one whose fix adds a feature; and one whose fix the five rounds cannot finish. The release isn't ready to cut while one is open, so `CLAUDE.md` โ†’ "Working loop" calls a release finished only once its review has merged and it holds no item. Valid while a release review's rounds can fix what they find. ## review: a reviewer or comprehension seat that rules the work below standard may ask to rerun once, one rung up, in the same round; the ruling that stands is an escalation trigger for the worker, never for the judge diff --git a/skills/larv-review/SKILL.md b/skills/larv-review/SKILL.md index bb6b0b0f..6aef2bd8 100644 --- a/skills/larv-review/SKILL.md +++ b/skills/larv-review/SKILL.md @@ -104,7 +104,7 @@ A fix meets every row it fits. Prose has no row, so a comment or doc edit inside **Findings.** A reviewer rates each finding ๐Ÿ”ด must fix, ๐ŸŸก should fix, ๐ŸŸข nit, โ“ question, or ๐Ÿ”€ escalation naming the reviewer whose concern it is. -- **Outside the chunk.** In the release review, the whole project is the chunk's change: fix each finding there, unless it needs a human answer or adds a feature, and file such a finding per this item, marked `question` where it needs the answer, under the release being reviewed. A finding outside the chunk's change, whatever its pass or severity, is scored and filed in `todo.md` per `~/.claude/rules/todo-items.md`. A ๐Ÿ”ด is marked `defect`. A ๐ŸŸก against a file under `~/.claude/principles/` is marked `principle`, its detail naming the principle, where no other reason fits. One under the bar and not exempt is named in the summary with its score. A verified security HIGH is handled per "Security". +- **Outside the chunk.** A finding outside the chunk's change, whatever its pass or severity, is scored and filed in `todo.md` per `~/.claude/rules/todo-items.md`. A ๐Ÿ”ด is marked `defect`. A ๐ŸŸก against a file under `~/.claude/principles/` is marked `principle`, its detail naming the principle, where no other reason fits. One under the bar and not exempt is named in the summary with its score. A verified security HIGH is handled per "Security". In the release review the whole project is the chunk's change, so nothing lies outside it; "Release review" โ†’ "Findings" says which of its findings are filed. - **Goal or decision.** A fix that would change a goal, or a `docs/decisions.md` entry the repo held before the chunk began, is asked; no user reachable โ†’ filed, marked `question`, the goal or decision left as is. - **๐Ÿ”ด.** A ๐Ÿ”ด is fixed, or shown factually wrong, and what disproved it recorded per `~/.claude/skills/larv-review/standards/comments.md` โ†’ "Where a choice goes": in a comment at the code the finding concerns, or in `docs/decisions.md` when it concerns more than one place. Never declined. - **๐ŸŸก.** A ๐ŸŸก is fixed, shown factually wrong like a ๐Ÿ”ด, or declined. Decline one only where the reason is sound, consistent with the goals and the technical principles, and confidence is very high; the decline and its reason are recorded the same way. A reason neither speaks to is a gap in the goals: fix the finding, or ask per `~/.claude/CLAUDE.md` โ†’ "Working loop", "Ask, don't guess"; no user reachable โ†’ fix. Never drop one silently, and never decline one for convenience or the size of the fix. @@ -120,7 +120,7 @@ The release review is a release's last chunk, run once the release holds no item - **Branch.** `release-review-`, off the default branch. Open it with `git commit --allow-empty -m "Release review of "`. - **Passes.** Architecture, then Principles, each over the whole project, per "Waves". Tell both to refactor boldly where the code needs it. Each takes up to five rounds. - **Their fixes** re-enter Stability, Security, Overrides and Prose per "Re-entry", each at most two rounds. -- **Findings.** The passes fix their findings in the release they review, within their five rounds, so the release ready to cut holds no drift the review found. A finding left after round five is filed under that release, not a later one, so the release isn't ready to cut until a chunk answers it. "Findings" โ†’ "Outside the chunk" says which findings are filed. +- **Findings.** The passes fix their findings in the release they review, within their five rounds, so the release holds no drift the review found. They file only three kinds in `todo.md`, each under that release, or under the earliest release `~/.claude/rules/todo-items.md` allows where that release's bump forbids it: a finding whose fix needs a human answer, marked `question`; one whose fix adds a feature; and one whose fix the five rounds cannot finish. The release isn't ready to cut while one is open. - **Comprehension check.** It runs its paired ruling here, per "Comprehension check". ### Architecture