Repository navigation
Description
Problem or Motivation
#5503 added a removed list to .github/labels.yml so that devops gh label sync deletes ten unused labels. No sync ran after its merge. A read on 2026-11-30 showed that the repository still holds all ten: review/ai-reviewed, review/approved, review/changes-requested, documentation, duplicate, good first issue, help wanted, invalid, question and wontfix.
Pull request #7948 renders .github/labels.yml from the repository template, and the render holds no removed list. After that merge, a plain devops gh label sync deletes none of the ten labels.
Proposed Solution & Architectural Design
A person chooses to delete the ten labels or to keep them. A deletion also takes the label off each old issue, and git cannot undo it.
To delete them, run these commands on a checkout of main. The commit d766fbf59 holds the last removed list. Read the dry run first. The sync also creates or updates each other label that the old file declares.
git show d766fbf59:.github/labels.yml > /tmp/labels-5503.yml
uv run devops gh label sync --file /tmp/labels-5503.yml --dry-run
uv run devops gh label sync --file /tmp/labels-5503.ymlIf the labels stay, close this issue as not planned. The labels then stay on GitHub, and no file declares them.
Target Subsystem
SDLC, Git & PR Governance
Existing Tool Considered
devops gh label sync covers the need. The change builds nothing.
Source
Source: #7948
Alternatives check of 2026-11-30: not-applicable.
Class: chore, no model call.
Tool: none found.
Activity
dan-petty commentedon Nov 30, 2026
Unused labels cause no user-facing problem, no CI failure, and no blocker; nothing waits for this cleanup.devops-cli-service commentedon Dec 1, 2026
Next step: this item cannot be built as written. Edit the body to run refine again.
Reason: The item asks for one live GitHub label operation. It changes no repository file, so one pull request cannot deliver it. The deletion also takes the ten labels off each old issue, and git cannot undo that. A person must accept that loss before the run.
Evidence:
.github/labels.ymlheader: the template writes the file from the answersscopes,scope_descriptionsandextra_labels, and a person must not edit it here. The commands in the issue rungit show d766fbf59:.github/labels.ymlanduv run devops gh label sync --file /tmp/labels-5503.yml; they change GitHub labels only.AGENTS.mdrule 1 says one issue, one pull request.AGENTS.mdrule 8 forbids a pull request that only updates tracking. Pull request #7948 removed theremovedlist from the render, so the labels file holds noremovedlist.