Repository navigation
Description
Overview
This is Phase 1 of the label-prefix-enforcement-2026-08-05 project. This phase MUST be completed TODAY to prevent new label violations.
Status: π΄ CRITICAL β Blocks Phase 2β5
Priority: Highest
Duration: 2β3 hours
Related Project: label-prefix-enforcement-2026-08-05
What This Phase Does
Stops new label prefix violations by:
- Delete defective code in
scripts/agents/includes/labeling-agent.js - Update governance documents to reflect fix
- Verify that no further bare labels can be created
Root Cause
The labeling agent script applies bare labels (e.g., bug, feature) without required family prefixes (e.g., type:bug, type:feature). This must be removed immediately.
File: scripts/agents/includes/labeling-agent.js
Deliverables
- Delete defective labeling code from
scripts/agents/includes/labeling-agent.js - Update
.github/labels.ymlgovernance document with fix notes - Update CLAUDE.md label creation rules section
- Test: Verify labeling agent now enforces prefixes only
- Create PR for Phase 1 completion
- Merge PR and verify CI green
Timeline
- Start: 2026-08-21 (after approval)
- Target Completion: 2026-08-21 (same day, 2β3 hours)
- Next Phase Unblocks: Phase 2 (fix existing ~100 issues)
Acceptance Criteria
β
Defective code removed from labeling agent
β
No bare labels can be created by any script
β
Governance documents updated
β
PR created and merged
β
CI green on main branch
Related Issues
- Phase 2: #1604 β Fix Existing Label Prefix Violations (24-48 hrs)
- Phase 3: #1605 β Enforce Label Validation (3-5 days)
- Audit Report: #1592 β Label Prefix Governance Enforcement
Notes
This is the blocking first step. Do not proceed to Phase 2 until this issue is closed.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
linear-code commentedon Aug 21, 2026
LS-2734
github-actions commentedon Aug 21, 2026
Issues preventing closure:
status:needs-more-infoβ resolve outstanding feedback firstWhat you can do:
meta:force-closelabel to this issue if closure is necessary despite incomplete requirementsAfter fixing: The issue will no longer show this warning and can be closed normally.
Need help? See the issue template guide: https://github.com/lightspeedwp/.github/issues/new/choose
fix: Update issue-management-orchestration workflow for Phase 1
feat(label-prefix): add bare-label-fixer agent for Phase 2 remediation
fix: Stop new label prefix violations - Phase 1
fix: Update issue-management-orchestration workflow for Phase 1
docs: Add Phase 1 changelog entry for label prefix enforcement - Issue β¦
fix: Phase 1 - Stop New Label Prefix Violations (#2476)
fix: Phase 1 - Stop New Label Prefix Violations (#2476)
github-actions commentedon Aug 30, 2026
Milestone Allocation
fix: Phase 1 - Stop New Label Prefix Violations (#2476)
docs: Add comprehensive work plan for PR labeling enforcement (#2352)
Merge PR #2549: Add comprehensive planning hub for PR labeling enforcβ¦
fix: Address CodeRabbit pre-merge checks on PR #2554
fix: Address CodeRabbit pre-merge checks on PR #2554
github-actions commentedon Sep 8, 2026
This issue has labels that are not in the canonical taxonomy:
migrate:priority:criticalmigrate:status:needs-more-infomigrate:type:taskarea:labelsstatus:needs-template-fixValid Canonical Labels
Please use labels with a prefix from the canonical taxonomy:
type:bug,type:feature,type:task,type:documentation, etc.status:needs-triage,status:in-progress,status:done, etc.priority:critical,priority:high,priority:normal,priority:lowarea:ci,area:docs,area:labels,area:security, etc.meta:needs-changelog,meta:duplicate,meta:blocked, etc.For the complete list, see .github/labels.yml.