Skip to content

skill-quality: check-skill mode that skips bundled tests, for the issue lane #7649

Closed as not planned

Description

@kyle-sexton

Refs #7555. Found while running #7598 through the issue lane.

Problem

The issue lane (work-resolve-issue) can run only the scripts listed under its verify-scripts grant (#7623). plugins/skill-quality/scripts/check-skill.sh <root> cannot be listed safely: it also runs every scripts/*.test.sh under the root it is given, plus markdownlint, so a lane run could execute code it wrote itself, with the lane token in its environment. Issues whose done-when names check-skill.sh (#7598) therefore cannot be verified by the lane.

Outcome

check-skill.sh gains a mode that runs only the static skill checks and skips the bundled test scripts and markdownlint. The issue lane's verify-scripts grant then lists check-skill.sh with that flag fixed, so the lane cannot drop it.

Done when

  • check-skill.sh with the new flag runs no *.test.sh and no markdownlint. A test shows a planted scripts/x.test.sh under the root is not executed.
  • Without the flag, behavior is unchanged.
  • docs/conventions/pr-pipeline.yaml resolve-issue.verify-scripts lists check-skill.sh with the flag fixed (Automation Lanes reviews this part).
  • work-items/work: guard the pull-request create reference #7598 is re-run through the lane and verifies.

Out of scope

  • Any other script in the grant.

Activity

  1. added
    needs-triage
    on Oct 16, 2026
  2. github-actions commented on Oct 16, 2026

    @github-actions
    Contributor

    Thanks for the report. Automated triage handed this issue to a maintainer.

    Proposed work class: work-class: scoped
    Basis: automated intake triage; a maintainer confirms or changes it.

    Automated triage. A maintainer reviews it.

  3. added
    needs-human
    and removed
    needs-triage
    on Oct 16, 2026
  4. kyle-sexton commented on Oct 18, 2026

    @kyle-sexton
    MemberAuthor

    Superseded by #7912 (merged): the issue lane now runs the full check-skill.sh with GH_TOKEN/GITHUB_TOKEN unset in its wrapper, so a skip-tests mode is no longer needed. Closed on the owner's approval.

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

    needs-human

    Fields

    No fields configured for Feature.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions