Skip to content

chore(labels): restore canonical label source file#422

Merged
ss-o merged 2 commits into
mainfrom
chore/labels-source-file
May 22, 2026
Merged

chore(labels): restore canonical label source file#422
ss-o merged 2 commits into
mainfrom
chore/labels-source-file

Conversation

@ss-o
Copy link
Copy Markdown
Member

@ss-o ss-o commented May 22, 2026

Summary

  • add lib/labels.yml as the canonical machine-readable label source referenced by the org runbooks
  • mirror the current live z-shell/.github label set exactly
  • include conservative legacy migration mappings and sync-policy metadata for future dry-run rollout tooling

Validation

  • parsed with Ruby YAML.load_file
  • confirmed 31 labels and 31 unique names
  • confirmed all required runbook labels are present
  • compared against live z-shell/.github labels; no missing or extra labels
  • signed commit verified locally with SSH signing

Notes

  • This does not change repository labels.
  • This does not run any org-wide label migration.
  • Future work should add dry-run sync tooling before applying labels across child repos.

Refs #411

Add lib/labels.yml as the machine-readable source of truth referenced by the org runbooks. The file mirrors the current z-shell/.github label set and includes conservative legacy migration metadata for future dry-run sync tooling.
@ss-o ss-o requested a review from a team as a code owner May 22, 2026 22:28
Copilot AI review requested due to automatic review settings May 22, 2026 22:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Restores a canonical, machine-readable source of truth for the z-shell organization’s GitHub label taxonomy, including legacy label migration mappings and conservative sync policy metadata to support future automation.

Changes:

  • Adds lib/labels.yml defining the canonical label set (name/color/description).
  • Adds legacy_migrations mappings to translate historical labels into the canonical taxonomy.
  • Adds sync_policy metadata to guide safe, non-destructive rollout behavior.

Comment thread lib/labels.yml Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Sall <59910950+ss-o@users.noreply.github.com>
@ss-o ss-o merged commit 6255b56 into main May 22, 2026
2 checks passed
@ss-o ss-o deleted the chore/labels-source-file branch May 22, 2026 22:37
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.

2 participants