Skip to content

fix(docs-hygiene): stop the setup probe running markdownlint-cli2 --version #13201

Closed

Description

@kyle-sexton

Problem

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.

Refs: #8635

Filed by the lane 4 session. This was generated by AI.

Activity

  1. added
    needs-triage
    on Nov 4, 2026
  2. github-actions commented on Nov 4, 2026

    @github-actions
    Contributor

    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.

    No duplicates found among the open issues.

    Automated triage, applied by the lanes App.

  3. added and removed
    needs-triage
    on Nov 4, 2026
  4. added
    status: ready
    on Nov 4, 2026
  5. added
    needs-owner-decision
    and removed
    status: ready
    on Nov 4, 2026
  6. melodic-automation-lanes commented on Nov 4, 2026

    @melodic-automation-lanes
    Contributor

    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).

  7. melodic-automation-lanes commented on Nov 4, 2026

    @melodic-automation-lanes
    Contributor

    The latest triage verdict holds nothing: the issue is at status: ready.

  8. added
    needs-triage
    and removed
    needs-owner-decision
    on Nov 4, 2026
  9. 1 remaining item

  10. removed
    needs-triage
    on Nov 4, 2026
  11. added
    status: ready
    on Nov 4, 2026
  12. added
    admission-deferred
    agent-ready
    and removed
    admission-deferred
    on Nov 4, 2026
  13. github-actions commented on Nov 4, 2026

    @github-actions
    Contributor
    No description provided.
  14. github-actions commented on Nov 4, 2026

    @github-actions
    Contributor
    No description provided.
  15. kyle-sexton commented on Nov 4, 2026

    @kyle-sexton
    MemberAuthor

    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.

  16. kyle-sexton commented on Nov 4, 2026

    @kyle-sexton
    MemberAuthor

    Addendum to the probe above, same setup: markdownlint-cli2 -h is also read as a glob and loads the config's code. Only the literal --help did not.

  17. removed
    status: ready
    agent-ready
    on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Work status

    agent-ready

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions