Skip to content

feat(docs-naming): hand the file-name rule file choice to corrections:codify - #17487

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-17162-44582023900-1
Nov 19, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-17162-44582023900-1

Conversation

@melodic-automation-lanes

@melodic-automation-lanes melodic-automation-lanes Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Closes #17162

Summary

Opened by the work-resolve-issue lane. The run's own summary:

The generate-file-name-gate Purpose keeps 'The gate is the deliverable' and drops the skill's own argument that a rule file is not a substitute. It now hands the question of whether a path-scoped rule file should also carry the naming rule to /corrections:codify "<the naming rule>" when that skill is available, using the gate sentence and the shared strongest-first fallback word for word, with 'for the operator to run; never make it' as in the harness-config siblings. The skill's allowed-tools has no Skill tool, so it names the call and never makes it. The --rule gotcha keeps the flag opt-in, and its offer now gives the route Purpose names. The docs pointer stays. emit-gate.sh, the templates, the completion criteria and the not-wired report are unchanged, and no ladder copy or Selection rules row was added (AC10: no new enforcement-placing skill). Eval cases that read the changed text: gate-not-replaced-by-rule reads the rewritten Purpose directly. Its expected_outcome and explains-rule-limit grader still expect the reply to say a rule file blocks nothing and does not run in CI, an argument the skill no longer makes, so the host eval in #17200 should check that case first. gate-emits-and-names-unwired runs the skill, but none of its graders depend on the changed text. The lane ran no eval.

Pre-change sentence that picked a mechanism from a private list (plugins/docs-naming/skills/generate-file-name-gate/SKILL.md, Purpose): "A path-scoped rule file is not a substitute. A rule is guidance Claude reads during its own session: it blocks nothing, binds no human editor or other tool, and never runs in CI. The gate runs over the whole tracked set wherever it is invoked. That is why the gate is the deliverable and the rule is the option."

Not verified

  • Review MEDIUM finding: plugins/docs-naming/evals/gate-not-replaced-by-rule/case.yaml (description, expected_outcome, explains-rule-limit grader, samples/explains-rule-limit.json) still cites the removed Purpose argument as its source. Not edited, because the issue puts the eval case in host steps…
  • Tidy: the ai-slop pass ran as a rubric read only. Its detector (detect.sh) and digest-guard scripts are not among the wrappers this lane may run, so no deterministic scan, findings file or semantic-diff verification ran. Passes 1-3 do not apply, because the change is all markdown.
  • No eval run: the lane runs no eval. The before-and-after case on sonnet, the detection-control result and the hold record are host steps (#17200).
  • check-affected subchecks that could not run here (typos, comment-hygiene, size-check, validate-plugins tree-run subchecks) and the CI-only checks are left to the PR's CI.
  • verify step: the change has no build or test target (markdown only), so the build and tests were skipped.

Fix

  • plugins/docs-naming/skills/generate-file-name-gate/SKILL.md: Purpose replaces the 'not a substitute' argument with the presence-gated /corrections:codify call and the shared fallback. The first Gotchas bullet keeps --rule opt-in and names that route when offering it.
  • .changes/docs-naming/work-resolve-issue-issue-17162-44582023900-1-b74982b3.md: new patch changelog fragment describing the change

Verification

The runner ran each check from the base copy against dd057ff:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • check-changelog-fragments: all 17 fragments under .changes/ valid
  • check-changed-skills: generate-file-name-gate PASS, 0 errors, 2 warnings (description 676 chars over the 419 warn setting, already over before this change; body grew 128 -> 136 lines)
  • check-affected: 14 passed, 9 skipped (typos not installed; comment-hygiene fetch blocked; size-check script absent; validate-plugins subchecks and changed-skills skipped as tree-run code), the rest CI-only
  • fresh-context review subagent: no HIGH findings, 1 MEDIUM, 3 LOW; the 3 LOW (add 'never make it', make the gotcha's route conditional, reflow) were fixed and the checks re-run green
  • tidy-diff over the 3 changed hunks: write-for-agents pass made one edit (who runs the named call); ai-slop rubric read of the listed lines found no tells
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44582023900

Left out: the items under Not verified.

Related

#17162

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

Copy link
Copy Markdown
Contributor

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

Security review: no security issues found

I read both changed files in full. This was a first, full review: there are no prior findings and it is not blocking only.

  • plugins/docs-naming/skills/generate-file-name-gate/SKILL.md: this is a markdown-only edit to a skill body. The skill no longer argues on its own that a path-scoped rule file cannot replace the gate. Instead it sends the rule-file choice to /corrections:codify, and offers a fallback that proposes the strongest mechanism first.
  • .changes/docs-naming/...md: a new changelog fragment, with no executable content.

Instruction-surface lens. The diff softens a standing instruction, so I checked what the removed text did. I judged it by consequence, because I did not open the instruction exception register. The removed rule was a design argument about naming enforcement and guarded no security action.

  • "The gate is the deliverable" stays, so the gate is still produced and still runs in CI.
  • The new text adds a restriction: the skill names the /corrections:codify call "for the operator to run; never make it".
  • The diff does not change any tool grants, allowed-tools, emit-gate.sh, templates, or the untrusted-config hazards gotcha (SKILL.md L122 onward).

No request now reaches a privileged or off-machine action that the removed text used to check.

Other checks. The diff changes no trust control, token scope, kill switch, merge hold or plugin manifest. Neither changed file matches a trusted-path glob.

Embedded text. The pull request description and the closing issue contain no directive aimed at this lane.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

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

No blocking or advisory findings.

The change only touches markdown: the generate-file-name-gate skill text and a new changelog fragment. I checked it against the "Done when" list in #17162:

  • Purpose (SKILL.md:23-32): it keeps "The gate is the deliverable." and drops the skill's own argument that a rule file "is not a substitute". The /corrections:codify availability gate matches the issue's wording, and the fallback matches the shared two sentences word for word. The call form is /corrections:codify "<the naming rule>". The skill's allowed-tools has no Skill tool, so "name the call … never make it" is right. The docs pointer stays, which the issue allows. Met.
  • --rule gotcha (SKILL.md:119-124): the flag is still opt-in, and the offer now names the codify route, with the fallback when codify is absent. Met.
  • Untouched files: emit-gate.sh, the templates and the completion criteria have no changes in the diff. The skill adds no ladder copy, Selection rules row or rung list; the fallback's ordering is the shared fallback text the issue requires, not a rung list. AC10 holds. Met.
  • Eval cases: the PR body names gate-not-replaced-by-rule and gate-emits-and-names-unwired. Met.
  • Changelog: the fragment .changes/docs-naming/…b74982b3.md has bump: patch. That fits a wording change to the skill's guidance. Met.

These criteria are all prose, so no test could fail if one broke. The issue puts verification in the host eval step (#17200).

Notes (not counted as findings):

  • The eval case gate-not-replaced-by-rule/case.yaml still names the removed Purpose paragraph as its source. Its expected_outcome and the explains-rule-limit grader (L28-L32) still expect a reply saying the rule blocks nothing and never runs in CI. The PR discloses this, and the issue assigns eval-case work to chore: run the host steps for the nine #16029 follow-ons #17200. The host eval should look at this case first, because a run that follows the new text may no longer make that argument.
  • plugins/docs-naming/README.md:16 still makes the "a rule alone cannot enforce…" argument for this skill. The issue lists only SKILL.md, so I did not flag it. It may be worth a follow-up to keep the README in line with the skill.

Lane spend: none beyond this review run.

Loosened-check verdict: pass. This change loosens no check. The prompt had no loosened_check_verdict: or loosened_check_patterns: lines, so I used the default fail with no consumer entries. There was no decision-record line, so the citation requirement was not checked.

No author verification claims were re-run. The checks in the PR body are author-claimed and unverified.

Verifier dropped 0 of 0 candidates.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head dd057ff3e166d4ee6a5444a80b63e75e4c4b3f00. No person needs to act: a lane clears this reason, and the next scheduled run judges it again.

pr-merge's gate refuses its verifier verdict (verify:missing)

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head dd057ff3e166d4ee6a5444a80b63e75e4c4b3f00, the head its arming checks judged.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=MEDIUM demote=false head=dd057ff3e166d4ee6a5444a80b63e75e4c4b3f00 rubric=10.4.0 rater=claude-opus-5-5 checker=claude-opus-5-5

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit 8c79f2e Nov 19, 2026
49 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-17162-44582023900-1 branch November 19, 2026 19:28
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 8c79f2e377070b9d82e1096e1f55129b23aaf038; later checks count it verified from this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(docs-naming): hand the file-name rule file choice to /corrections:codify

0 participants