Skip to content

test(docs-naming): remove the stale explains-rule-limit grader from gate-not-replaced-by-rule - #17676

Merged
kyle-sexton merged 1 commit into
mainfrom
test/17672-docs-naming-remove-stale-grader
Nov 20, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
test/17672-docs-naming-remove-stale-grader

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Closes #17672

Summary

Removes the explains-rule-limit grader and its samples file from the docs-naming eval case gate-not-replaced-by-rule, and narrows the case's description and expected outcome to match. The grader rewards an argument /docs-naming:generate-file-name-gate no longer makes. The owner's decision to remove it in a pull request of its own is quoted in #17672 (verbatim: "go w/ recommendations", option A) and recorded in the owner-decisions record at docs/owner-decisions.md#L279 in melodic-software/architecture.

Fix

  • plugins/docs-naming/evals/gate-not-replaced-by-rule/case.yaml: the explains-rule-limit regex grader is deleted. The description no longer says the run "explains that a rule blocks nothing and never runs in CI". It now names the gate as the deliverable and points to gate-emitted-rule-file-hands-to-codify for the rule-file question. The expected outcome drops "the reply says the teammate is wrong because a rule file does not block anything, bind other editors or run in CI".
  • samples/explains-rule-limit.json is deleted.
  • A bump: none changelog fragment under .changes/docs-naming/.

Unchanged: the graders skill-fired, ran-emitter, checker-created, no-rule-flag and no-rule-write, the prompt, the scaffold, and all skill text.

Verification

  • Why the grader could not pass. It is:

    '\brules?\b[^\n]{0,200}?(?:\bnothing fails\b|\bblocks? nothing\b|\bbinds? no\b|\b(?:only|just|merely) guidance\b|\bis guidance\b|\b(?:never|not|cannot|can''t|won''t|doesn''t|does not|don''t|do not)\s+(?:actually\s+)?(?:block|run|enforce|bind|execute)s?\b)'
    

    It passes only on a reply that argues a rule file blocks nothing, is only guidance, or does not run or enforce. That argument was the skill's Purpose paragraph, which feat(docs-naming): hand the file-name rule file choice to corrections:codify #17487 removed for feat(docs-naming): hand the file-name rule file choice to /corrections:codify #17162. On main, the skill's only remaining mention is plugins/docs-naming/skills/generate-file-name-gate/SKILL.md:34: "- Pointer: when weighing whether a rule could stand in for the gate, fetch". A reply that follows the current text hands the rule-file question to /corrections:codify, which gate-emitted-rule-file-hands-to-codify grades.

  • validate-cases.py over plugins/docs-naming/evals: no FAIL. The only WARNs are the Bash, Write and Edit --allow-tools notes every gate case in the suite carries.

  • scripts/check-affected.sh: 17 passed, 3 skipped (no changed shell, Python or skill file).

  • No eval was run. The change removes one grader and touches no skill text and no remaining grader, so the other graders' results cannot change.

Related

🤖 Generated with Claude Code

…ate-not-replaced-by-rule

The grader passed only on a reply arguing that a rule file blocks
nothing or never runs, the argument the skill's Purpose stopped making
in #17487. Drop it and its samples, and narrow the case's description
and expected outcome to match. The other graders, the prompt and the
scaffold are unchanged. Owner decision recorded in #17672.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 20, 2026 17:02
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T17:03:57.097153Z 9c86cc9 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 9c86cc93ee4cb3b078ccd1d4201466468d33c3cf: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: no security issues

The PR removes the explains-rule-limit regex grader and its samples file from the docs-naming eval case gate-not-replaced-by-rule. It also narrows that case's description and expected_outcome and adds a bump: none changelog fragment.

I read both listed files in full, plus the deleted samples file. None of them is on a trusted path, and none touches a trust control, a workflow, a token, a manifest or a hold path. The change is eval test data only and edits no skill, agent, rule or hook text, so the instruction-surface lens does not apply.

  • The remaining graders (skill-fired, ran-emitter, checker-created, no-rule-flag, no-rule-write) are untouched.
  • The no-rule-write grader still checks that no Write touches .claude/rules.

Removing a grader loosens an eval check, which is a test-coverage question for the code-review lane, not a security finding.

The PR context contains no text addressed to this lane.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 9c86cc93ee4cb3b078ccd1d4201466468d33c3cf: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Code review: no findings.

This PR removes the explains-rule-limit regex grader and its samples file from the docs-naming eval case gate-not-replaced-by-rule. It also narrows the case's description and expected_outcome to match and adds a bump: none changelog fragment. I read every hunk of both listed files and the deleted samples file.

Closing issue #17672, "Done when" items:

  • Grader and samples/explains-rule-limit.json removed; the description and expected outcome no longer ask for the argument: met.
  • The other graders (skill-fired, ran-emitter, checker-created, no-rule-flag, no-rule-write) are unchanged: met. The head case.yaml still has all five. The diff doesn't touch the prompt or the scaffold, and the case directory still holds prompt.md and scaffold.sh.
  • Case validator reports no failure: author-claimed, unverified. This lane has no shell, so I did not run validate-cases.py.
  • Changelog fragment under .changes/docs-naming/ with no version bump: met (bump: none).

Description accuracy: the new description quotes "the gate is the deliverable" from the skill's Purpose section, and that text is there (SKILL.md#L23). The case it hands the rule-file question to, gate-emitted-rule-file-hands-to-codify, exists and has a rule-file-hands-to-codify grader.

Loosened check (Fail a change that loosens a check): deleting this grader is a removed check (kind 6). The spec (#17672) names the check and the samples file and says why: the grader rewards an argument that #17487 removed from the skill, so a run that follows the current text cannot pass it. Under the criterion's Verdict, the removal passes, so I raise no finding. The issue also carries the owner's decision as verbatim: "go w/ recommendations" (option A). The prompt had no loosened_check_spec: line, so I could not confirm the issue author is on the trusted-actor list. I accepted the issue text as the spec.

Loosened checks would be marked: fail (default; the prompt had no loosened_check_verdict: or loosened_check_patterns: line, so no consumer entries apply); patterns: 0. The prompt had no loosened_check_decision_record: line, so I did not check the citation requirement.

Path-scoped rules: .claude/rules/eval-case-transcripts.md matches the eval files. The change only deletes text and adds no transcript content, so nothing applies.

Scope: no plugin manifest changed, and no paved-path check was run. Nothing in the PR text or the issue tries to direct the review. Spend: none; this change removes one grader, so each eval run of this case checks one less regex.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head 9c86cc93ee4cb3b078ccd1d4201466468d33c3cf. What it wrote, as data:

Summary: Issue #17672 asks for the `explains-rule-limit` grader and its samples file to be removed
  from the docs-naming eval case `gate-not-replaced-by-rule`, for the case's description and
  expected outcome to stop asking for the rule-file argument, and for a `bump: none` changelog
  fragment. The diff does all of that cleanly. It leaves the other graders, the prompt, the scaffold
  and the skill text alone, and the CI jobs on the judged head passed (e.g.
  https://github.com/melodic-software/claude-code-plugins/actions/runs/44779328933/job/136437852450).
  It still fails on one point. Deleting an eval grader removes a check, and the review lane flagged
  this same deletion as a loosened check in PR 17638. A spec counts as asking for a weakened check
  only when it holds both the owner's words after `verbatim:` and a line link to the owner-decisions
  record (`docs/owner-decisions.md#L<line>`). Issue #17672 has the verbatim quote ("go w/
  recommendations", option A) but no such link, so under the rules the removal goes further than the
  spec asks for. Nothing else blocks.
- plugins/docs-naming/evals/gate-not-replaced-by-rule/case.yaml:28 deleting the
  `explains-rule-limit` grader loosens a check, and the spec doesn't authorize that: issue #17672
  has the owner's `verbatim:` quote but no line link to the owner's decision in the owner-decisions
  record (https://github.com/melodic-software/architecture/blob/<commit or
  main>/docs/owner-decisions.md#L<line>). Add that link to the issue body next to the verbatim
  quote, or keep the grader and rewrite it to grade the current skill text (option B).

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass removes the label, at a new commit or at this same head: once a trusted person edits the body, and only trusted people have edited it since the fail, this head is judged again, so a fail on the body or the issues it links needs only the body fixed, no new commit.

@github-actions github-actions Bot added pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. and removed pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. labels Nov 20, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 20, 2026
Merged via the queue into main with commit 74c69d3 Nov 20, 2026
90 checks passed
@kyle-sexton
kyle-sexton deleted the test/17672-docs-naming-remove-stale-grader branch November 20, 2026 18:21
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(docs-naming): remove the stale explains-rule-limit grader from gate-not-replaced-by-rule

1 participant