Sort the new modules' imports by their first binding
CI / tests (pull_request) Successful in 4m16s

This commit is contained in:
2026-11-17 07:52:33 +01:00
parent 934a398be0
commit 351bbc022f
4 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -1,12 +1,12 @@
"""round-title: print the opening of a round commit's title, counted from the round's report."""
import pathlib
from failure import Failure
from git_cli.git_repo import branch_titles, top
from larv_review.reviewer_header import unanswered_round
from project_config.main import title_templates
from failure import Failure
from review_rules.review_folder import findings_in, review_folder, standing_report
from review_rules.round_titles import round_prefix
from project_config.main import title_templates
from larv_review.reviewer_header import unanswered_round
def round_title(default: str, pass_: str, home: pathlib.Path) -> str | Failure:
+2 -2
View File
@@ -1,13 +1,13 @@
import pathlib
import tempfile
import sys
import tempfile
import unittest
sys.path.insert(0, str(pathlib.Path(__file__).resolve().parents[1]))
from failure import Failure
from review_rules.review_folder import findings_in, review_folder, standing_report
from review_rules.round_titles import Findings
from review_rules.review_folder import findings_in, review_folder, standing_report
class ReviewFolder(unittest.TestCase):
+6 -6
View File
@@ -1,13 +1,13 @@
"""rule-hook's check of a round commit's counts against the round's report in the chunk's review folder."""
import pathlib
from failure import Failure
from git_cli.git_command import CommitCall
from git_cli.git_repo import git
from project_config.templates import Titles
from review_rules.review_folder import findings_in, review_folder, standing_report
from review_rules.round_titles import ROUND, round_prefix, title_counts
from rule_hook.rules import Breach
from git_cli.git_command import CommitCall
from failure import Failure
from review_rules.review_folder import findings_in, review_folder, standing_report
from git_cli.git_repo import git
from review_rules.round_titles import ROUND, round_prefix, title_counts
from project_config.templates import Titles
def round_report_breaches(commit: CommitCall, titles: Titles, home: pathlib.Path) -> list[Breach]:
+1 -1
View File
@@ -63,7 +63,7 @@ A comment is prose, not code, in any file, and so is a docstring. A change to co
Give a reviewer without Bash `git ls-files`'s output in its prompt, since some harnesses grant it Read alone.
`~/.claude/bin/larv-review` holds this section's mechanical rules: the chunk's review folder, the round count, the paired ruling's base and vote count, the scoring run's trigger; the history's format, its latest places and its count of how often seats agree; and the header of each reviewer's prompt. Run it in the chunk's worktree; `~/.claude/bin/larv-review --help` states each rule. On exit 1, repair what its message names and run it again; when you cannot, ask the user.
`~/.claude/bin/larv-review` holds this section's mechanical rules: the chunk's review folder, the round count and each round commit's counts, the paired ruling's base and vote count, the scoring run's trigger; the history's format, its latest places and its count of how often seats agree; and the header of each reviewer's prompt. Run it in the chunk's worktree; `~/.claude/bin/larv-review --help` states each rule. On exit 1, repair what its message names and run it again; when you cannot, ask the user.
**Reports.** Run `~/.claude/bin/larv-review reviewer-header <pass>` in the chunk's worktree, and open each prompt to an agent under `~/.claude/agents/` with what it prints; then say in a few lines what the change does and which files it touches. The command makes the chunk's review folder and writes the branch diff and the plan's listing into it. The header names that diff, the reviewer's full report, `<pass>-round-<n>.md`, in the folder, the folders of technical principles and review standards the project's config sets, the listing, and for architecture and stability the places too. For a reviewer whose definition starts it without `CLAUDE.md`, the header's last line names the file that holds the project principles and decision titles, which the reviewer reads first. For a relaunch one rung up, add `--rerun`: the report becomes `<pass>-round-<n>-rerun.md`, and the header names the report that asked. Before you answer a 🔴 or 🟡, read its entry: Grep the report for the finding's place, with the lines after it, rather than Read the whole report. rule-hook refuses a reviewer's Edit and MultiEdit, and any Write outside `~/.local/state/larv-review/`. Keep the folder after the merge: `review-replay` replays a round from the reports its prompt names, and `compress-archives` gzips each file 30 days after it last changed.