Convert issue templates to YAML forms, fix label sync quoting bug - #3
Merged
Conversation
- Convert all templates/<repo>/ISSUE_TEMPLATE/*.md sources to structured YAML issue forms (required fields, checkboxes for editor/feature-flag lists, render hints for code samples). config.yml files unchanged. - sync-labels.sh: trim whitespace before stripping quotes so quoted label names no longer keep a literal leading double-quote. This bug created the mangled priority labels on mux-compiler. - retire-labels.sh: add the mangled-name variants so retiring actually deletes them. - Add scripts/validate-labels.py to diff live labels against the canonical YAML across all repos; exits nonzero on drift. Part of muxlang/mux-context#5. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
| Filename | Overview |
|---|---|
| scripts/validate-labels.py | Adds live label drift validation with paginated label fetching and blank description handling. |
| scripts/sync-labels.sh | Updates label name parsing so whitespace is trimmed before quote stripping. |
| templates//ISSUE_TEMPLATE/.yml | Replaces Markdown issue templates with structured GitHub issue forms. |
Reviews (3): Last reviewed commit: "chore: address review findings on valida..." | Re-trigger Greptile
This was referenced Jul 7, 2026
retire-labels.sh and clear-milestones.sh have been run against the org (labels validate clean in all 8 repos; no milestones remain). Ongoing enforcement is sync-labels.sh, sync-templates.sh, and validate-labels.py. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- validate-labels.py: paginate the live-label fetch via gh api so repos with >100 labels are fully covered; accept blank canonical descriptions; tolerate null live descriptions. - api bug form: restore the deployed-version prompt in Environment. - compiler bug form and syntax spec form: render code fields as mux. - editor bug forms: plain Other checkbox plus a structured Other editor input instead of burying the name in the description. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
DerekCorniello
added a commit
to muxlang/mux-compiler
that referenced
this pull request
Jul 8, 2026
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
DerekCorniello
added a commit
to muxlang/mux-website-api
that referenced
this pull request
Jul 8, 2026
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
DerekCorniello
added a commit
to muxlang/mux-syntax-highlighting
that referenced
this pull request
Jul 8, 2026
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
DerekCorniello
added a commit
to muxlang/tree-sitter-mux
that referenced
this pull request
Jul 8, 2026
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
DerekCorniello
added a commit
to muxlang/mux-compiler
that referenced
this pull request
Jul 9, 2026
* chore: sync issue templates as YAML forms from muxlang/.github Synced with scripts/sync-templates.sh from muxlang/.github (source PR: muxlang/.github#3). Markdown templates become structured issue forms; labels.yml bootstrap refreshed where stale. Part of muxlang/mux-context#5. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * chore: re-sync forms after review fixes in muxlang/.github#3 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix: documentation form labels bootstrap consistency Remove 'documentation' label from documentation_fix.yml form. This label is provisioned by sync-labels.sh (which runs post-bootstrap) and won't exist in the initial repo state. The form should only reference 'needs triage', which is created in the bootstrap labels.yml. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
DerekCorniello
added a commit
to muxlang/mux-runtime
that referenced
this pull request
Jul 9, 2026
Synced with scripts/sync-templates.sh from muxlang/.github (source PR: muxlang/.github#3). Markdown templates become structured issue forms; labels.yml bootstrap refreshed where stale. Part of muxlang/mux-context#5. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
DerekCorniello
added a commit
to muxlang/mux-website
that referenced
this pull request
Jul 9, 2026
* chore: sync issue templates as YAML forms from muxlang/.github Synced with scripts/sync-templates.sh from muxlang/.github (source PR: muxlang/.github#3). Markdown templates become structured issue forms; labels.yml bootstrap refreshed where stale. Part of muxlang/mux-context#5. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix: documentation form labels bootstrap consistency Remove 'documentation' label from documentation_fix.yml form. This label is provisioned by sync-labels.sh (which runs post-bootstrap) and won't exist in the initial repo state. The form should only reference 'needs triage', which is created in the bootstrap labels.yml. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Part of muxlang/mux-context#5 (org normalization).
What
templates/<repo>/ISSUE_TEMPLATE/*.mdsources converted to structured issue forms (required fields, checkboxes for editor lists / runtime feature flags / sync checklists,renderhints for code samples).config.ymlfiles unchanged. Deploying these to each repo happens viasync-templates.shin follow-up PRs per repo."priority: urgent"kept a literal leading quote - this is exactly how the four mangled"priority:labels on mux-compiler were created. Order fixed.scripts/validate-labels.py: diffs live labels (viagh) againstlabels/labels.yml+ per-repo overlays; exits nonzero on drift. Current drift it reports: the 4 mangled labels (mux-compiler), straybug/featurelabels (mux-website, mux-syntax-highlighting, tree-sitter-mux).Verification
- name: "priority: urgent"->priority: urgent.validate-labels.pyrun against all 8 repos; 4 exact matches, drift matches the known retire list.🤖 Generated with Claude Code
https://claude.ai/code/session_0144f6odut5zs2SjZ32CgEAp