Answer prose round 1: 0 🔴, 1 🟡 (0 misread); state the repo's fact in the comment and drop the one that restates the pattern
CI / tests (pull_request) Successful in 3m23s
CI / tests (pull_request) Successful in 3m23s
This commit is contained in:
@@ -61,7 +61,6 @@ def score_bullets(skill: str) -> tuple[list[str], list[str]] | Failure:
|
||||
return anchors, [line.replace("**", "") for _, line in dimensions]
|
||||
|
||||
|
||||
# The heading of the section that holds a project's values: `Scoring run`, numbered or not, or `<name>'s values`.
|
||||
VALUES_HEADING = r"(\d+\.\s+)?Scoring run|.+'s values"
|
||||
|
||||
|
||||
@@ -145,7 +144,7 @@ def prepare_scoring(worktree: str, home: pathlib.Path, run: Git = git) -> str |
|
||||
rules = read(source) if source.is_file() else ""
|
||||
if isinstance(rules, Failure):
|
||||
return rules
|
||||
# Where the working rules hold no values, this repo keeps them in seat-prompts.md: .claude/rules/this-repo-keeps-no-agents-md.md.
|
||||
# This repo keeps the values in seat-prompts.md, so its working rules hold none: .claude/rules/this-repo-keeps-no-agents-md.md.
|
||||
if section(rules, VALUES_HEADING) is None and (own := pathlib.Path(worktree) / "skills" / "comprehension-panel" / "seat-prompts.md").is_file():
|
||||
source, rules = own, read(own)
|
||||
if isinstance(rules, Failure):
|
||||
|
||||
Reference in New Issue
Block a user