Merge development into main: dynamic label format detection #76

Merged
lmiranda merged 4 commits from development into main 2026-01-21 22:06:52 +00:00
Owner

Summary

Merges PR #75 from development to main.

Changes

  • Dynamic label format detection in suggest_labels
  • Supports slash (Type/Bug) and colon-space (Type: Bug) formats
  • Labels are fetched from repo first, then suggestions match actual format
  • Effort/Efforts normalization (handles singular/plural)

Fixes #73 (sub-issue 3: label format mismatch)

Test Plan

  • All 23 label tests pass

🤖 Generated with Claude Code

## Summary Merges PR #75 from development to main. ### Changes - Dynamic label format detection in `suggest_labels` - Supports slash (`Type/Bug`) and colon-space (`Type: Bug`) formats - Labels are fetched from repo first, then suggestions match actual format - Effort/Efforts normalization (handles singular/plural) ## Related Issues Fixes #73 (sub-issue 3: label format mismatch) ## Test Plan - [x] All 23 label tests pass 🤖 Generated with [Claude Code](https://claude.ai/code)
lmiranda added 4 commits 2026-01-21 22:05:38 +00:00
The command description still said "updates the local reference file"
which caused the agent to prompt about creating a reference file.

Updated to clarify: no local files are created or modified.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The suggest_labels function now dynamically detects the label naming convention
used in the repository (slash format like Type/Bug or colon-space format like
Type: Bug) instead of hardcoding slash format.

Changes:
- Added _build_label_lookup() to parse and normalize label formats
- Added _find_label() to find actual labels from the lookup
- Updated suggest_labels() to accept optional repo parameter
- Labels are fetched first, then suggestions match actual names
- Supports Efforts/Effort normalization (handles singular/plural)

Fixes issue #73 sub-issue 3: label format mismatch

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
lmiranda merged commit 5ad207520a into main 2026-01-21 22:06:52 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: personal-projects/leo-claude-mktplace#76