Answer prose round 1: 0 🔴, 5 🟡 (0 misread); define the review standards at first use, retitle the worker decision, say where the judge reads the rules, and reword the citation, records and help comments

This commit is contained in:
2026-11-15 12:42:12 +01:00
parent 2e6f6d91cf
commit 39e4e5d4f8
7 changed files with 12 additions and 11 deletions
+2 -2
View File
@@ -139,8 +139,8 @@ places prints into places.md, and lists the plan's items into
plan.md, whatever store holds the plan; a file whose text is unchanged is left as it is. With --rerun, the
header names the report of a relaunch one rung up, in the same round, and the report that asked for
it. It exits 1 when the pass takes no more rounds, when `project-config` fails in the checkout, when
either folder it names is not a folder with a file in it, or, with --rerun, when the report that
asked is missing.
the principles or standards folder is not a folder with a file in it, or, with --rerun, when the
report that asked is missing.
reviewer-context is the SubagentStart hook. It reads the hook's input on stdin. For a reviewer
whose definition under ~/.claude/agents/ has `omitClaudeMd: true`, and so starts without CLAUDE.md,
+1 -1
View File
@@ -57,7 +57,7 @@ FINISHED_RULES = (
"finished=true when the chunk is complete: merged, or nothing remains that the worker could do on "
f"its own. Even then, it is finished only once {ANSWERS_RECORDED}.\n\n"
"An answer counts as recorded where the premises or the records above already hold it, the human's rules "
"(~/.claude/CLAUDE.md, ~/.claude/rules/, the project's review standards) included. "
"(~/.claude/CLAUDE.md, ~/.claude/rules/, the project's review standards, each headed by its path) included. "
f"It also counts where the transcript shows the worker writing it into {ANSWER_DESTINATIONS}, "
"but not into one of the human's rules.\n\n"
"finished=false when work remains that a further run can "
+2 -1
View File
@@ -9,7 +9,8 @@ from record_store.stores import store
RECORD_FILES = ("AGENTS.md", "docs/decisions.md")
# The setting in the project's config that places each of RECORD_FILES.
RECORD_SETTINGS = ("working-rules", "decisions")
# The human's rules: under ~/.claude, CLAUDE.md, then each .md file in the rules folder; then each .md file in the folder of review standards the project's config sets.
# The human's rules, in the order the judge reads them: ~/.claude/CLAUDE.md, each .md file in ~/.claude/rules/,
# then each .md file in the review standards folder the project's config sets.
HUMAN_RULES_FILE = "CLAUDE.md"
HUMAN_RULE_DIR = "rules"
HUMAN_RULE_NAMES = (f"~/.claude/{HUMAN_RULES_FILE}", f"~/.claude/{HUMAN_RULE_DIR}/", "the project's review standards")
+2 -2
View File
@@ -9,9 +9,9 @@ sys.path.insert(0, str(pathlib.Path(__file__).resolve().parents[1]))
from loop_claude.project.records import HUMAN_RULE_DIR
from repo_checks import ROOT
# The review standards this repo ships, which a project's config names as `standards` where it keeps them.
# The review standards this repo ships. A project's config may name another folder as `standards`.
STANDARDS = "skills/larv-review/standards"
# The folders whose files a citation names by path: the judge reads both, the standards where a project's config names them.
# The folders whose files a citation may name by path. The judge reads both.
RULE_DIRS = (HUMAN_RULE_DIR, STANDARDS)
RULE_PATH = rf"(?:{'|'.join(map(re.escape, RULE_DIRS))})/[\w-]+\.md"
NAMES = r'("[^"]+"(?:,? (?:and )?"[^"]+")*)'