Repository navigation
Description
Description
The issue templates in .github/ISSUE_TEMPLATE/ reference labels that either don't exist in the repository or conflict with the existing label names. This mismatch will cause issues when templates are used — GitHub silently drops labels that don't exist, so new issues won't be labelled correctly.
As noted by @c-vigo in PR #68 comment:
There is a clash between the template labels in
.github/ISSUE_TEMPLATEand the default labels (which only apply to new repos, existing ones must be edited manually). The clash will only become visible when these changes are merged intomain.
Current mismatches:
| Template | Label in template | Repo label exists? | Notes |
|---|---|---|---|
feature_request.yml |
enhancement |
No (feature exists) |
Name mismatch |
ci_build.yml |
ci |
No | Missing |
refactor.yml |
refactor |
No | Missing |
task.yml |
task |
No | Missing |
documentation.yml |
docs |
No (documentation exists) |
Name mismatch |
bug_report.yml |
bug |
Yes | OK |
Acceptance Criteria
- Decide on canonical label names (align templates to repo, or repo to templates)
- Create missing labels in the repository (or update templates to match existing labels)
- Verify all issue templates reference labels that exist in the repo
- Consider adding a label provisioning script or documenting the required labels for new repos
Implementation Notes
Two approaches:
- Update the repo labels to match the templates — create
ci,refactor,tasklabels and renamefeature→enhancement,documentation→docs. - Update the templates to match existing repo labels — change
enhancement→feature,docs→documentationin template files, and create the remaining missing labels.
A provisioning script (create-gh-issue-labels.sh) could also be added so that any new repo gets the expected label set automatically.
Related Issues
Related to #68 (PR where the clash was identified), #67, #63, #61
Priority
Medium
Changelog Category
No changelog needed
Activity
gerchowl commentedon Feb 18, 2026
Implementation Plan
Issue: #80
Branch:
feature/80-reconcile-template-labelsTasks
.github/label-taxonomy.toml— single source of truth for 7 canonical labels (name, description, color)ghCLI — delete stale labels (documentation,duplicate,good first issue,help wanted,invalid,question), create/update canonical labels from taxonomybug_report.yml→bug.yml,feature_request.yml→feature.yml(fixenhancement→feature),documentation.yml→docs.yml, mergeci_build.yml+task.ymlintochore.yml, keeprefactor.ymlcreate-issue.mdcommand — new label mappings + reference to.github/label-taxonomy.tomlscripts/setup-labels.sh— reads.github/label-taxonomy.toml, idempotent create/update, optional--pruneto delete unlisted labels.github/label-taxonomy.tomlto sync manifest —scripts/sync_manifest.pyjust sync-workspace— verified source and workspace templates matchfeat: reconcile issue template labels with repository labels
feat: add Single Source of Truth guidelines
feat: agent-driven development workflows, templates, and declarative …