[Bug] Projman diagnostic failure: Repository auto-detection and label sync state issues #67
Reference in New Issue
Block a user
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?
Summary
During
/projman:labels-syncexecution onpersonal-projects/personal-portfolio, multiple plugin issues were identified that affect usability and expected autonomous behavior.Issue 1: Repository Auto-Detection Fails
Severity: Medium
Tools Affected:
validate_repo_org,get_labelsError Message:
Context:
MCP tools fail when called without explicit
repoparameter, even though git remote is available in cwd:Expected: Plugin should auto-detect repository from git remote URL.
Workaround: Manual
git remote -vparsing and explicitrepoparameter.Issue 2: No Persistent Label Reference Storage
Severity: Low
Component: Skill design / plugin state
Problem:
skills/label-taxonomy/labels-reference.mdbut path doesn't existExpected: Plugin maintains state in
~/.config/claude-code/projman/or creates reference file automatically.Issue 3: Unclear Skill Autonomy Expectations
Severity: Medium
Component: Skill documentation
Problem:
Skill example output shows
Update local reference file? [Y/n]suggesting user confirmation, but actual expectation is full autonomous execution unless real discrepancy exists.Recommendation: Clarify what actions are automatic vs. require confirmation.
Issue 4: Organization Labels Empty (Needs Investigation)
Severity: Info
Tool:
get_labelsObservation:
Questions:
Environment
personal-projects/personal-portfolio/projman:labels-syncLabels
All Issues Addressed
Issue 1: Repository Auto-Detection Fails ✅
Fixed in PR #66 (already merged to main)
_detect_repo_from_git()method inconfig.pyowner/repoIssue 2: No Persistent Label Reference Storage ✅
Clarified in PR #68/#69
skills/label-taxonomy/labels-reference.md) is static documentation, not a sync target/labels-syncfetches fresh data - no persistent state neededIssue 3: Unclear Skill Autonomy Expectations ✅
Fixed in PR #68/#69
[Y/n]prompts from documentationIssue 4: Organization Labels Empty ✅
Fixed in PR #66 (already merged to main)
is_org_repo()to use/orgs/{owner}endpointPRs Created
Next Steps
Merge PR #69 to deploy documentation improvements to main.