Skip to content

docs(prerequisites): name a skill that exists in the example's check field #9486

Closed as not planned

Description

@kyle-sexton

Problem

The example entry in docs/conventions/prerequisites/README.md sets "check": "/work-items:check" on line 53. The work-items plugin has no check skill (plugins/work-items/skills/ has no check directory). Every entry in plugins/work-items/prerequisites.json declares "check": "/harness-ops:prerequisites" instead. A reader who copies the example gets a field that points at a skill that does not exist.

There are two parts:

  • Part A (this PR): fix the example line.
  • Part B (follow-up): node scripts/check-declared-prerequisites.mjs never checks that a check value names a skill that exists (see "The CI gate" in the same file: the gate checks the schema, the checker copies and undeclared tools). Whether to add that check is a design decision the owner has not made.

This PR fixes part A only; link it with Refs: #<this issue>, not a closing keyword. The issue stays open for part B.

Done when

  • Line 53 of docs/conventions/prerequisites/README.md reads "check": "/harness-ops:prerequisites", with the same indentation, and no other line of the file changes.
  • The PR body links this issue with exactly one Refs: #<this issue> line and no Closes, Fixes or Resolves keyword.
  • scripts/check-affected.sh --uncommitted passes.

Remaining after this PR

  • Part B: decide whether scripts/check-declared-prerequisites.mjs should fail when a prerequisites.json check value names a skill that does not exist. The options are: (1) add the check to the gate; (2) add it to the schema's documentation only; (3) leave it unchecked. This needs an owner decision about a new CI mechanism, so the issue stays open for it after this PR merges.

Out of scope

  • Part B, the gate change or any decision on it. Do not edit scripts/check-declared-prerequisites.mjs, scripts/prerequisites-baseline.txt or the schema in this PR.
  • Making the other example fields (need, for, the gh version floor) match plugins/work-items/prerequisites.json. The example only illustrates the format.
  • Any plugins/*/prerequisites.json file.

Pipeline canary

This is a deliberately tiny fix used to test the issue-to-merge pipeline end to end (intake, admission, build, review, fix, verify, merge, post-merge) for a pull request that links its issue with Refs:, not a closing keyword. No human in the loop: part A needs no owner decision, and every stage should carry it to an unattended merge while the issue stays open for part B. If it stops at any stage, that stop is a pipeline defect to file, not a problem with this issue.

Activity

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

    @github-actions
    Contributor

    Proposed work class: work-class: mechanical
    Basis: automated intake triage; the lanes App applied this class.

    Size: Small
    Complexity: Low
    Uncertainty: Known
    Flags: none

    Understood: the example in docs/conventions/prerequisites/README.md (line 53) names a check skill that doesn't exist, and part A is a one-line fix to /harness-ops:prerequisites, linked with Refs:. Part B (whether the gate should verify that check skills exist) is an owner design decision. The issue says it is out of scope here and stays open after part A. No likely duplicates found among open issues.

    Automated triage, applied by the lanes App.

  3. added and removed
    needs-triage
    on Oct 23, 2026
  4. added
    status: ready
    agent-ready
    on Oct 23, 2026
  5. melodic-automation-lanes commented on Oct 23, 2026

    @melodic-automation-lanes
    Contributor

    The lanes App's pull request #9487 merged with Refs:, so this issue stays open and nothing starts the lane on it again. work-unblock added needs-triage and removed agent-ready, so triage decides what work is left.

  6. added
    needs-triage
    and removed
    agent-ready
    on Oct 23, 2026
  7. kyle-sexton commented on Oct 28, 2026

    @kyle-sexton
    MemberAuthor

    Part A merged in #9487. Part B (option 3: no new check): on main, all 71 plugins/*/prerequisites.json manifests hold 245 check values naming 31 distinct skills, and every one resolves to an existing plugins//skills//SKILL.md. A checker would catch nothing today. The schema gate stays as it is, and a real broken pointer would reopen this.

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-triagestatus: ready

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions