Skip to content

refactor(setup): name the convention home in four setup-apply entry-point headers - #15643

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-15638-43277205118-1
Nov 12, 2026
Merged

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #15638

Summary

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

The header comments of the discipline, discovery, docs-hygiene and education setup-apply.mjs entry points now name the settings file as <home>/<plugin>.yaml, where <home> is the repository's convention home, matching lib/setup-apply.mjs:1-3. They drop the partial Usage blocks, which left out --home, --decline, --state and --check --ref, and point at ../../../lib/setup-apply.mjs for usage, options, guarantees and exit codes. Plugin-specific notes are kept: discipline's key-name note, docs-hygiene's --check and YAML reader notes, and education's YAML reader note. Only comment lines changed. A patch changelog fragment was added for each plugin.

Not verified

  • The four plugins' skills/setup/scripts/setup-apply.test.sh were not run: this lane can run no interpreter or test runner. They are left to the PR's CI. The change touches only comment lines, so it cannot change their outcome
  • ci-status green is a PR CI check, left to the PR's CI
  • tidy skipped: the change spans 4 areas (plugins/discipline, plugins/discovery, plugins/docs-hygiene, plugins/education with their .changes dirs), over the tidy cutoff of 1 area
  • verify (build/tests) skipped: no interpreter or test runner is available in this lane; comment-only change

Fix

  • plugins/discipline/skills/setup/scripts/setup-apply.mjs: header names <home>/discipline.yaml, drops the partial usage block, pointer now covers usage; key-name note kept
  • plugins/discovery/skills/setup/scripts/setup-apply.mjs: header names <home>/discovery.yaml, drops the partial usage block, pointer now covers usage
  • plugins/docs-hygiene/skills/setup/scripts/setup-apply.mjs: header names <home>/docs-hygiene.yaml, drops the partial usage block; --check note and YAML reader note kept, pointer now covers usage
  • plugins/education/skills/setup/scripts/setup-apply.mjs: header names <home>/education.yaml, drops the partial usage block; YAML reader note kept, pointer now covers usage
  • .changes/discipline/work-resolve-issue-issue-15638-43277205118-1-739e501f.md: new patch fragment, ### Changed, Internal restructuring, no behavior change.
  • .changes/discovery/work-resolve-issue-issue-15638-43277205118-1-5a796b08.md: new patch fragment, ### Changed, Internal restructuring, no behavior change.
  • .changes/docs-hygiene/work-resolve-issue-issue-15638-43277205118-1-b1d15c35.md: new patch fragment, ### Changed, Internal restructuring, no behavior change.
  • .changes/education/work-resolve-issue-issue-15638-43277205118-1-694c62f5.md: new patch fragment, ### Changed, Internal restructuring, no behavior change.

Verification

The runner ran each check from the base copy against 8f99cf7:

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

The run reports:

  • check-changelog-fragments: all 7 fragments under .changes/ are valid
  • check-changed-skills: 4 skills checked, 0 failed (warnings are pre-existing size/description notes on the setup SKILL.md files, which this change does not touch)
  • check-affected: 12 passed, 7 skipped, over 8 changed files
  • git-read diff --stat HEAD: 4 files, 18 insertions, 29 deletions, all inside the header comment blocks; no code line changed
  • fresh-context review subagent: no blocking findings. It confirmed that ../../../lib/setup-apply.mjs exists in each of the four plugins and documents usage (including --home, --decline, --state), the convention home and exit codes, that code lines are unchanged, and that no test or eval asserts on…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/43277205118

Left out: the items under Not verified.

Related

#15638

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

Copy link
Copy Markdown
Contributor

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

No findings. This change edits only comments, and I read all 5 files on the read list.

What changed. The header comments of four setup-apply.mjs entry points (discipline, discovery, docs-hygiene, education) now name the settings file as <home>/<plugin>.yaml. They drop the partial Usage: blocks and send readers to ../../../lib/setup-apply.mjs for usage. That wording matches the shared library's header (plugins/docs-hygiene/lib/setup-apply.mjs#L3-L13), which documents --home, --decline, --state and --check [--ref]. Each of the four plugins has its own copy of that library, so every pointer resolves.

Acceptance criteria (#15638)

  • No header names docs/conventions/<plugin>.yaml or carries a partial usage block, and each names <home>/<plugin>.yaml: met.
  • The plugin-specific notes are kept: discipline's key-name note, docs-hygiene's --check and YAML-reader notes, and education's YAML-reader note: met.
  • Behavior is unchanged: met. Every -/+ line in the four hunks is a // comment, and no code line changed.
  • Only the listed files are edited, within 400 lines and 15 files: met (8 files, all listed).
  • setup-apply.test.sh passing and ci-status green: not checked by me. The author says these were left to CI. I have no shell, so this lane could not run them.

Changelog fragments. I read the four fragments as one (identical content): bump: patch with "Internal restructuring, no behavior change." That fits a change to comments only.

Side note, not counted. The docs-hygiene --check note says it prints PASS or WARN, but the shared library also lists INFO lines. That wording was already there, and the issue asks for this note to be kept as it is, so I am not reporting it.

I found no embedded instructions in the PR context, and there were no prior findings.

@github-actions

Copy link
Copy Markdown
Contributor

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

Security review: PR #15643

I found no security issues in this pull request.

What I read: all 8 changed files in .claude-lane/pr.diff. The four .changes/ fragments are identical, so I counted the first one and skipped its three copies.

  • Setup scripts: the four skills/setup/scripts/setup-apply.mjs files (discipline, discovery, docs-hygiene, education) change only their header comment lines. Each header now names the settings file <home>/<plugin>.yaml instead of docs/conventions/<plugin>.yaml. The partial Usage: blocks are gone and the headers point to ../../../lib/setup-apply.mjs instead. No import, code or executable line changed.
  • Changelog fragments: the four new files are the same patch-bump changelog fragment. Each copy sits under its own plugin's .changes/ directory, and that path does nothing different with the content.

Checks:

  • Trusted paths: no changed file matches a TRUSTED PATHS glob.
  • Controls: the diff touches no trust control, merge hold, kill switch, token request, workflow or plugin manifest.
  • Instructions: the removed text is plain usage documentation in source comments. It is not a standing instruction such as a skill body, a rules file or CLAUDE.md, so no guardrail is removed.
  • Pull request text: the description contains no directive aimed at this review.

critical-findings: 0

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for 8f99cf7

The verifier passed this head. The capture artifact holds the capture summary, which says whether the capture ran, and any screenshot or video that passed the mask check; this comment uploads no file.

Capture artifact: pr-capture-15643-8f99cf7d78a10b6dfab5b9fbe0d991338798b66c, expires on 2026-12-12.

One comment per pull request, updated in place for each new head.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=LOW demote=false head=8f99cf7d78a10b6dfab5b9fbe0d991338798b66c rubric=8.4.12 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 12, 2026
Merged via the queue into main with commit ca041f2 Nov 12, 2026
50 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-15638-43277205118-1 branch November 12, 2026 18:50
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit ca041f276d894076c098e63c855213b5722e8cfe; 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.

Correct the setup-apply entry-point headers to name the convention home (part 1 of 2)

0 participants