You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(docs-hygiene): stop the setup probe running markdownlint-cli2 --version #13201
The docs-hygiene setup skill probes markdownlint-cli2 with --version (plugins/docs-hygiene/skills/setup/SKILL.md:37, :169; plugins/docs-hygiene/README.md:26; plugins/docs-hygiene/skills/setup/evals/evals.json). markdownlint-cli2 v0.24.0 has no such flag and treats it as a glob, so the run loads the repository's markdownlint config and any code that config names. A check run can therefore execute repository code it was only meant to detect. Observed on v0.24.0 for the same probe in markdown-format.
Fix
Probe with --help, read as executing when its first line is the version banner, as markdown-format's setup does after its conversion PR under #8635. It printed the banner and loaded nothing on v0.24.0, and exited 2.
Done when
No file in plugins/docs-hygiene runs markdownlint-cli2 --version; git grep shows it.
Any eval expectation on the probe names --help.
A cut or rewrite of the skill text carries eval evidence of no loss.
Proposed work class: work-class: scoped
Basis: automated intake triage; the lanes App applied this class.
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
Understood: the docs-hygiene setup skill, README and evals probe markdownlint-cli2 with --version. On v0.24.0 that flag is treated as a glob, so the run can load repo config and any code it names. The fix is to probe with --help and treat the install as live when the first output line is the version banner, even though the exit code is 2. The eval expectations that say the shim exits non-zero need a matching update.
The third done-when item needs a person: eval evidence that any cut or rewrite of the skill text loses nothing. The earlier refinement comment already split it out.
Not admitted to the issue lane: its done-when asks for what an unattended lane run cannot perform: item 3 (eval: "A cut or rewrite of the skill text carries eval evidence of no loss."); recommended split: keep the other items here as the admissible issue and move these to a child issue for the host queue (host-run). Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).
Probe, 2026-11-04: markdownlint-cli2 v0.24.0, markdownlint v0.42.0, beside a config that names a custom rule.
Command
First output line
Loads the config's code
Exit
markdownlint-cli2 --version
the version banner, then Finding: --version
yes
2 here
markdownlint-cli2 --help
the version banner
no
2
Its own help text says --help "writes this message to the console and exits without doing anything else". The probe in markdown-format's setup uses --help and reads the first line, ignoring the exit code.
Activity
github-actions commentedon Nov 4, 2026
Proposed work class: work-class: scoped
Basis: automated intake triage; the lanes App applied this class.
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
Understood: the docs-hygiene setup skill, README and evals probe markdownlint-cli2 with
--version. On v0.24.0 that flag is treated as a glob, so the run can load repo config and any code it names. The fix is to probe with--helpand treat the install as live when the first output line is the version banner, even though the exit code is 2. The eval expectations that say the shim exits non-zero need a matching update.The third done-when item needs a person: eval evidence that any cut or rewrite of the skill text loses nothing. The earlier refinement comment already split it out.
No duplicates found among the open issues.
Automated triage, applied by the lanes App.
melodic-automation-lanes commentedon Nov 4, 2026
Not admitted to the issue lane: its done-when asks for what an unattended lane run cannot perform: item 3 (eval: "A cut or rewrite of the skill text carries eval evidence of no loss."); recommended split: keep the other items here as the admissible issue and move these to a child issue for the host queue (
host-run). Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).melodic-automation-lanes commentedon Nov 4, 2026
The latest triage verdict holds nothing: the issue is at
status: ready.1 remaining item
github-actions commentedon Nov 4, 2026
github-actions commentedon Nov 4, 2026
kyle-sexton commentedon Nov 4, 2026
Probe, 2026-11-04:
markdownlint-cli2v0.24.0, markdownlint v0.42.0, beside a config that names a custom rule.markdownlint-cli2 --versionFinding: --versionmarkdownlint-cli2 --helpIts own help text says
--help"writes this message to the console and exits without doing anything else". The probe in markdown-format's setup uses--helpand reads the first line, ignoring the exit code.kyle-sexton commentedon Nov 4, 2026
Addendum to the probe above, same setup:
markdownlint-cli2 -his also read as a glob and loads the config's code. Only the literal--helpdid not.