Answer prose round 1: 0 🔴, 5 🟡 (0 misread); reword the help paragraph, the changelog bullet and the decision, and restore the entry's old sentence

This commit is contained in:
2026-11-11 14:19:48 +01:00
parent 3e289c95d9
commit 47c10c4565
4 changed files with 10 additions and 9 deletions
+2 -2
View File
@@ -104,7 +104,7 @@ class Breach:
detail: str
# The checkout whose log records an override of this breach.
directory: str
# Text beyond the call's own whose markers override this breach: the file a commit holds, as an Edit's text is for its file.
# The lines a commit adds to the breach's file: its markers override this breach, as a Write's text overrides its own file's.
marked: str = ""
@@ -126,7 +126,7 @@ def overrides(written: str) -> tuple[dict[str, str], list[str]]:
def check(breaches: list[Breach], written: str, markdown: bool, bash: bool) -> Checked:
granted, malformed = overrides(written)
# Each breach is overridden by the call's markers and by its own file's.
# A marker overrides a breach when it is in the call's own text or in the breach's file.
grants = [granted | overrides(breach.marked)[0] for breach in breaches]
blocking = [breach for breach, grant in zip(breaches, grants) if breach.rule not in grant]
messages = [f"`{marker}` names no rule below, or gives no reason." for marker in malformed] if blocking else []