WHOOSH-LABELS-004: Standardize Automatic Label Creation to Match Ecosystem Convention #4
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
WHOOSH automatically creates labels when repositories are added, but the current label set does not match the standardized label convention used across the CHORUS ecosystem (WHOOSH, CHORUS, KACHING repositories).
Current vs Required Label Sets
Currently Auto-Created Labels
Location:
internal/gitea/client.go:432-489bzzz-task(#ff6b6b) - Issues for CHORUS task conversionwhoosh-monitored(#4ecdc4) - Repository monitoring indicatorpriority-high(#e74c3c) - High priority taskspriority-medium(#f39c12) - Medium priority taskspriority-low(#95a5a6) - Low priority tasksRequired Standardized Labels
Source: WHOOSH repository standard label set
bug(#ee0701) - Something is not workingbzzz-task(#5319e7) - CHORUS task for auto ingestion (color correction)duplicate(#cccccc) - This issue or pull request already existsenhancement(#84b6eb) - New featurehelp wanted(#128a0c) - Need some helpinvalid(#e6e6e6) - Something is wrongquestion(#cc317c) - More information is neededwontfix(#ffffff) - This won't be fixedTechnical Requirements
1. Update Label Creation Function
File:
internal/gitea/client.goFunction:
EnsureRequiredLabels()(lines 432-489)Changes Required:
requiredLabelsarray with standardized ecosystem labelsbzzz-taskcolor from#ff6b6bto#5319e7whoosh-monitored(redundant with monitoring system)2. Maintain Backward Compatibility
3. Integration Points
Automatic Execution: Repository creation via
POST /api/v1/repositoriesManual Sync:
POST /api/v1/repositories/{id}/ensure-labelsImplementation Details
Updated Label Array
Benefits
Priority
Medium - Improves ecosystem consistency and developer experience
Requirement Traceability
@goal: WHOOSH-LABELS-004, WSH-CONSISTENCY - Ecosystem standardization
Dependencies
Testing Requirements
Unit Tests
Integration Tests
Acceptance Criteria
EnsureRequiredLabels()creates all 8 standardized labelsbzzz-tasklabel uses correct color (#5319e7)Future Enhancements
Assigned to: Claude AI Assistant
Status: Implementation already complete, proceeding to testing
Plan:
Implementation Status: ✅ Code changes already completed
EnsureRequiredLabels()ininternal/gitea/client.goETA: Testing and PR creation