Skip to content

feat(vig-utils): merge repo-local label-taxonomy extension in setup-labels - #1256

Merged
c-vigo merged 3 commits into
release/1.4.1from
feature/1254-label-taxonomy-local-extension
Jul 22, 2026
Merged

c-vigo merged 3 commits into
release/1.4.1from
feature/1254-label-taxonomy-local-extension

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

setup-labels now discovers an optional, non-managed .github/label-taxonomy.local.toml (same [[labels]] schema) and merges it into the effective taxonomy before reconcile/prune: extension labels are created/updated normally, --prune only deletes labels absent from BOTH files, and on a name collision the local entry wins (justfile-layering convention). Absent file = byte-identical behavior. Headers of both taxonomy copies, the vig-utils README, and the changelog document the extension.

Targeted at release/1.4.1 per maintainer decision (semver:minor feature folded into the patch train).

Closes #1254
Refs #1254

Verification

  • TDD red-first; test_shell_entrypoints.py 24/24 (extension reconcile, prune-spares-union, local-wins single edit, absent-file byte-identical baseline, dry-run preview)
  • Full pre-commit suite green (51 hooks)
  • Live acceptance (dry-run) against vig-os/org-config: canonical 25 + extension 4 → 29 effective; drift/critical/change-request update, inventory creates, none pruned. Counterfactual without the extension shows all of them as prune deletions — exactly the motivating bug.
  • Local file confirmed unmanaged: exact-path manifest entry only, consumer rsync runs without --delete

@c-vigo
c-vigo merged commit b129e65 into release/1.4.1 Jul 22, 2026
13 checks passed
@c-vigo
c-vigo deleted the feature/1254-label-taxonomy-local-extension branch July 22, 2026 17:27
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.

1 participant