Merge development into main: labels-sync repo detection fix #79

Merged
lmiranda merged 2 commits from development into main 2026-01-21 22:33:11 +00:00
Owner

Merges PR #78 from development to main.

Fixes #77, #73

🤖 Generated with Claude Code

Merges PR #78 from development to main. Fixes #77, #73 🤖 Generated with [Claude Code](https://claude.ai/code)
lmiranda added 2 commits 2026-01-21 22:26:35 +00:00
ROOT CAUSE: The MCP server runs with cwd set to the plugin directory,
not the user's project. It cannot auto-detect the repository.

SOLUTION: The command documentation now explicitly instructs Claude to:
1. Run `git remote get-url origin` via Bash first
2. Parse the URL to extract owner/repo
3. Pass repo parameter to ALL MCP tool calls

Also removed the "Label Reference" section that was causing Claude
to ask about creating a local reference file.

Key changes:
- Added "CRITICAL: Execution Steps" section with numbered steps
- Added "DO NOT" section to prevent common mistakes
- Removed confusing reference file documentation
- Made all MCP tool calls show required repo parameter

Fixes #77

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
lmiranda merged commit f714957d83 into main 2026-01-21 22:33:11 +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#79