Repository navigation
Description
Agent Brief
Type: Task
Summary: Correct the header comments of the planning, review, session-flow and verification setup-apply.mjs entry points so they name the settings file as <home>/<plugin>.yaml and point at the shared library for usage; part 1 corrects discipline, discovery, docs-hygiene and education (part of restructuring pass #14802).
Current behavior:
lib/setup-apply.mjs:1-3 says a plugin's settings file is <home>/<plugin>.yaml, where <home> is the repository's convention home, and :7-11 gives the full usage of an entry point, including --home, --decline, --state and --check [--ref <ref>]. Four entry points name the file as docs/conventions/<plugin>.yaml, which is only the default home, and three of them carry a partial usage block without those options:
plugins/planning/skills/setup/scripts/setup-apply.mjs:3, usage:5-7plugins/review/skills/setup/scripts/setup-apply.mjs:3, usage:5-7plugins/session-flow/skills/setup/scripts/setup-apply.mjs:3, usage:5-7plugins/verification/skills/setup/scripts/setup-apply.mjs:3, with no usage block
Each already says the options, guarantees and exit codes are in ../../../lib/setup-apply.mjs.
Desired behavior:
- Each header names the file as
<home>/<plugin>.yaml(for example<home>/planning.yaml), the form oflib/setup-apply.mjs:1-3. - planning, review and session-flow drop their partial usage lines and keep their pointer to
../../../lib/setup-apply.mjs; verification changes only line 3. - Each keeps its plugin-specific notes: planning's key-name note (
:9-11), review's--refnote (:9-12), session-flow's--checknote (:9-10) and YAML reader note (:12-14), verification's--refnote (:4-5). - Comments only: no code line changes.
Files:
plugins/planning/skills/setup/scripts/setup-apply.mjsplugins/review/skills/setup/scripts/setup-apply.mjsplugins/session-flow/skills/setup/scripts/setup-apply.mjsplugins/verification/skills/setup/scripts/setup-apply.mjs- a new
patchfragment in each of.changes/planning/,.changes/review/,.changes/session-flow/and.changes/verification/:### Changed, "Internal restructuring, no behavior change."
Key interfaces:
- Each entry point's arguments, output, exit codes and printed usage: unchanged; the printed usage comes from the shared library, not these comments.
- No test or eval reads these header lines.
Acceptance criteria:
- None of the four headers names
docs/conventions/<plugin>.yamlor carries a partial usage block, and each names<home>/<plugin>.yaml. - Behavior is unchanged: the same outputs, exit codes and printed results for the same inputs.
- The diff edits only the listed files and the lines of a test that assert on them when the change breaks that assertion.
- The pull request stays within 400 changed lines and 15 hand-edited files.
- The four plugins'
skills/setup/scripts/setup-apply.test.shpass. - ci-status is green.
Out of scope:
- The discipline, discovery, docs-hygiene and education entry points (part 1), the path wiring in each entry point,
lib/setup-apply.mjs, other duplication, eval cases, fixtures, and skill and agent text.
Metadata
Metadata
Assignees
Labels
Type
Fields
Work status
Priority
Activity
melodic-automation-lanes commentedon Nov 12, 2026
{"v":1,"actor_id":337595936,"title_sha256":"879688908bf1d134889eeb4368fbbf72cbd57d84fc97261c9a59592997b096df","body_sha256":"7d036d107954a3d1b4db84d01192f7d367c0e4ca26b69afdaab2a56ee0bf85ca"}
github-actions commentedon Nov 12, 2026