Answer prose round 1: 0 🔴, 3 🟡; say what the rule checks and what the decision question names, and tighten the help and comments
This commit is contained in:
@@ -8,7 +8,7 @@ subagent. The rules:
|
||||
|
||||
{rules}
|
||||
|
||||
A file a Bash command writes, such as through `cat > Dockerfile`, is not checked. An Agent call takes no override.
|
||||
A file a Bash command writes, such as through `cat > Dockerfile`, is not checked. The reviewer-rung rule takes no override.
|
||||
|
||||
A call overrides a rule with `# rule-override <rule>: <reason>`:
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"""Hold each Agent call that launches a review to the rung loop-claude hands its worker: docs/decisions.md → `routing:`."""
|
||||
"""Refuse an Agent call that launches a review below the rung it needs, worked out from the two rungs loop-claude hands its worker: docs/decisions.md → `routing:`."""
|
||||
import pathlib
|
||||
import typing
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ RuleName = typing.Literal["action-pin", "commit-one-line", "ignorefile-sorted",
|
||||
class Rule:
|
||||
holds: str
|
||||
checked: str
|
||||
# False where no marker can waive the rule, since its call's text is not scanned for one.
|
||||
# False where no marker waives the rule: overrides() grants none for it.
|
||||
overridable: bool = True
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ RULES: dict[RuleName, Rule] = {
|
||||
# A rung is not a judgment call, and the refusal names the arguments to pass, so no marker waives it.
|
||||
"reviewer-rung": Rule(
|
||||
"a reviewer, a comprehension seat or the security pass's subagent runs on the rung loop-claude names for it: the project's rung, or for a reviewer the worker's rung where that is higher, so a worker below the project's rung cannot hand a review to its own cheaper model",
|
||||
"an Agent call that launches a reviewer type, a comprehension seat, or the security pass, whose prompt opens with the sentence larv-review's Security section sets, in a worker loop-claude started",
|
||||
"an Agent call, in a claude loop-claude started, whose subagent type is an agent under agents/, or whose prompt opens with seat-prompts.md's opening sentence or the one larv-review's Security section sets",
|
||||
overridable=False,
|
||||
),
|
||||
"round-title-counts": Rule(
|
||||
|
||||
Reference in New Issue
Block a user