Skip to content

feat(skills): extract issue and PR labeling - #5355

Draft
purp wants to merge 26 commits into
NVIDIA:mainfrom
purp:feat/5276-extract-label-issue/purp
Draft

purp wants to merge 26 commits into
NVIDIA:mainfrom
purp:feat/5276-extract-label-issue/purp

Conversation

@purp

@purp purp commented Nov 7, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Extract /label-issue and a shared helper to classify accepted issues and PRs. Correct legacy, malformed, inaccurate and incomplete area/topic labels while preserving unrelated labels and human dispositions.

Related Issue

Closes #5353 (implicitly accepted through maintainer authorship; no explicit state:accepted label). Delivers Part 2 of #5276; automatic invocation remains Part 3.

Depends on #5260. This draft targets main because the parent branch exists only in the fork. Review extraction changes alone.

Changes

  • Classify from relevant expandable evidence: exactly one area and all supported topics. Existing labels describe state, not subject evidence; ambiguity stays local and the labeler posts no comments.
  • Share reconciliation with triage, preserving assessment judgment, triage comments and caller-specific confirmations.
  • Preview exact requests and verify additions before removals. Native checkpoints support model-free unchanged skips and partial-failure recovery. Fingerprints bind substantive content, identities, authority and taxonomy, ignoring reaction/profile/color noise while retaining raw evidence.

Supports POSIX with one coordinated executor per item; local locking provides neither cross-host serialization nor atomic GitHub writes. Dispatch and provider runtime belong to Part 3.

Live previews report missing canonical topic:dx; no-addition checkpoint paths require approved meta:labeler-checkpoint. This PR provisions neither label and applies no backlog changes.

Release Notes

Testing

  • 259 focused Python tests and 19 JavaScript acceptance tests.
  • SPDX check (1,442 files), Python syntax, skill metadata/inventory, 23 local links/anchors, and diff checks.
  • Read-only live preparation/preview of feat: extract shared issue and PR labeling skill #5353; fresh four-case classifier refactor control. Small observed samples do not establish general classifier accuracy. No live label/checkpoint writes.
  • Full Python discovery: optional pytest/PyYAML dependencies unavailable for four existing test modules.
  • Ruff, Markdownlint and external skill discovery: tools/dependencies unavailable; not claimed as passing.

Checklist

  • Conventional Commits and DCO signoffs
  • Contributor guidance, design and plan updated

purp added 25 commits November 4, 2026 16:59
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
Signed-off-by: Jim Meyer <jimeyer@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Nov 7, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

Signed-off-by: Jim Meyer <jimeyer@nvidia.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: extract shared issue and PR labeling skill

1 participant