Repository navigation
Closed
1 / 11 of 1 issue completed
Copy link
Labels
effort/lowEffort Low: little workpriority/p2-mediumPriority P2: standard workscope/roadmapThe roadmap jobs: intake, refine, stage, implement and the Service that runs themsource/agentFiled by an agenttype/refactorType refactor: a new structure, same behaviorvalue/mediumValue Medium
Description
Problem or Motivation
- devops-cli
.github/labels.ymlholds 83 labels: 33 workflow labels that the roadmap code reads or writes (type 9, status 6, priority 4, value 3, effort 3, owner 3, review 3, plan 1 and source 1) and 45scope/labels. - The 6 other repositories hold the same old hand copy (blob 8886b989: budget 1, priority 4, source 1, status 5 and type 9).
- homelab lacks
status/planned,owner/*andplan/*on GitHub, which the Service writes (src/devops_cli/config/constants.py:3593-3599,stage_verify.py:84). src/devops_cli/roadmap/onboard.py:123-176checks only YAML validity and atype/*label, so it cannot find a missing workflow label.
Proposed Solution & Architectural Design
- Declare the 33 workflow labels once in the package (name, colour and description), next to the constants that read them.
- Onboard row 4 compares GitHub with this list plus the
labels.ymlof the repository.--confirmcreates the missing labels through the REST labels API, as it does today. - The readers of
type/*(title_labels.declared_type_labels) read the package list. - The
labels.ymlof each repository keeps only its own labels (scope/*and local labels).pull_labels.pyreads the scopes from it as today. - devops-cli's
labels.ymlgets the same split, anddevops gh labels syncapplies both sources.
Target Subsystem
SDLC, Git & PR Governance (src/devops_cli/roadmap/onboard.py and src/devops_cli/github/labels.py).
Existing Tool Considered
The GitHub REST labels API creates the labels, as today. The Probot Settings app syncs labels only from a file in each repository, so the copies drift again. Cost: about 80 lines and 4 tests, about 250,000 tokens and 3 hours to build.
Acceptance Criteria
- A test: every label name that the roadmap code writes is in the package list (the test collects the constants).
- A test: onboard row 4 for a fake repository with no
status/plannedreports it missing. - devops-cli
.github/labels.ymlholds nostatus/,priority/,value/,effort/,owner/,review/,plan/,source/ortype/label. -
uv run devops roadmap onboard --repo dan-petty/homelablistsstatus/planned,owner/*andplan/needs-fixas missing.
Dependencies
None.
Source: #4627
Sub-issues
Collapse Sub-issuesSub-issues
Loading 1 sub-issues
Metadata
Metadata
Assignees
Labels
effort/lowEffort Low: little workpriority/p2-mediumPriority P2: standard workscope/roadmapThe roadmap jobs: intake, refine, stage, implement and the Service that runs themsource/agentFiled by an agenttype/refactorType refactor: a new structure, same behaviorvalue/mediumValue Medium
Activity
dan-petty commentedon Nov 11, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
refactorprefix of the title gives the type.(roadmap)scope of the title gives the scope.It fixes label drift across repositories but does not block a release or fix a crash.It stops missing labels in repositories such as homelab, but users do not see the change directly.The body states about 80 lines and 4 tests, roughly 3 hours of work.Both touch onboard and labels, but #3753 writes the labels.yml file to a repository while the candidate moves the canonical label definitions into the package.dan-petty commentedon Nov 11, 2026
Scope from the design spec plan (2026-11-11)
The design spec tracker #4735 folds its label item into this issue.
Problem. 83 labels use 27 colors. One green (
#0e8a16) has 5 meanings. There are 3 reds and 3 brand colors (326ce5,0db7ed,f6821f).Scope added. The package label list and
.github/labels.ymltake one color for each label family from the light token hex values of #4738:priority/p0status.errorb3261epriority/p1status.warn946200priority/p2accent0b6e8apriority/p3fg-muted5f5f59type/*data.cat.1a463f2,data.cat.2e7298a,data.cat.3002d9c, and the grays86867fanddcdcd6No label uses a brand color.
Acceptance criteria added.
.github/labels.ymlis a token hex value ofsrc/devops_cli/design/tokens-light.json.Dependencies added. #4738 (the token JSON).
devops-cli-service commentedon Nov 11, 2026
Released in v0.114.1: https://github.com/dan-petty/devops-cli/releases/tag/v0.114.1
devops-cli-service commentedon Nov 11, 2026
Live since 2026-11-11 23:31 UTC