From ef28f172d6e38606119ec508f5746c6fae7bc5bb Mon Sep 17 00:00:00 2001 From: lmiranda Date: Mon, 2 Feb 2026 22:26:24 -0500 Subject: [PATCH] fix(plugins): sync plugin.json versions with marketplace.json Plugin load failures were caused by version mismatch between marketplace.json and individual plugin.json files: - contract-validator: 1.2.0 vs 1.1.0 - git-flow: 1.2.0 vs 1.0.0 - projman: 3.4.0 vs 3.3.0 - clarity-assist: 1.2.0 vs 1.0.0 - doc-guardian: 1.1.0 vs 1.0.0 Claude Code silently fails to load plugins when versions don't match. Co-Authored-By: Claude Opus 4.5 --- plugins/clarity-assist/.claude-plugin/plugin.json | 2 +- plugins/contract-validator/.claude-plugin/plugin.json | 2 +- plugins/doc-guardian/.claude-plugin/plugin.json | 2 +- plugins/git-flow/.claude-plugin/plugin.json | 2 +- plugins/projman/.claude-plugin/plugin.json | 2 +- plugins/projman/hooks/startup-check.sh | 6 ++++-- 6 files changed, 9 insertions(+), 7 deletions(-) diff --git a/plugins/clarity-assist/.claude-plugin/plugin.json b/plugins/clarity-assist/.claude-plugin/plugin.json index 84ae5fd..e0b1d69 100644 --- a/plugins/clarity-assist/.claude-plugin/plugin.json +++ b/plugins/clarity-assist/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "clarity-assist", - "version": "1.0.0", + "version": "1.2.0", "description": "Prompt optimization and requirement clarification with ND-friendly accommodations", "author": { "name": "Leo Miranda", diff --git a/plugins/contract-validator/.claude-plugin/plugin.json b/plugins/contract-validator/.claude-plugin/plugin.json index 5fac840..2e5c8eb 100644 --- a/plugins/contract-validator/.claude-plugin/plugin.json +++ b/plugins/contract-validator/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "contract-validator", - "version": "1.1.0", + "version": "1.2.0", "description": "Cross-plugin compatibility validation and Claude.md agent verification", "author": { "name": "Leo Miranda", diff --git a/plugins/doc-guardian/.claude-plugin/plugin.json b/plugins/doc-guardian/.claude-plugin/plugin.json index edec5f9..a7d9e9f 100644 --- a/plugins/doc-guardian/.claude-plugin/plugin.json +++ b/plugins/doc-guardian/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "doc-guardian", "description": "Automatic documentation drift detection and synchronization", - "version": "1.0.0", + "version": "1.1.0", "author": { "name": "Leo Miranda", "email": "leobmiranda@gmail.com" diff --git a/plugins/git-flow/.claude-plugin/plugin.json b/plugins/git-flow/.claude-plugin/plugin.json index 5092f24..921d32c 100644 --- a/plugins/git-flow/.claude-plugin/plugin.json +++ b/plugins/git-flow/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "git-flow", - "version": "1.0.0", + "version": "1.2.0", "description": "Git workflow automation with intelligent commit messages and branch management", "author": { "name": "Leo Miranda", diff --git a/plugins/projman/.claude-plugin/plugin.json b/plugins/projman/.claude-plugin/plugin.json index 00a2339..25153a9 100644 --- a/plugins/projman/.claude-plugin/plugin.json +++ b/plugins/projman/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "projman", - "version": "3.3.0", + "version": "3.4.0", "description": "Sprint planning and project management with Gitea integration", "author": { "name": "Leo Miranda", diff --git a/plugins/projman/hooks/startup-check.sh b/plugins/projman/hooks/startup-check.sh index 8491ce1..2fed56e 100755 --- a/plugins/projman/hooks/startup-check.sh +++ b/plugins/projman/hooks/startup-check.sh @@ -29,17 +29,19 @@ if [[ -f ".env" ]]; then if [[ -n "$GITEA_API_URL" && -n "$GITEA_API_TOKEN" && -n "$GITEA_REPO" ]]; then # Quick check for open issues without milestone (unplanned work) + # Note: grep -c returns 0 on no match but exits non-zero, causing || to also fire + # Use subshell to ensure single value OPEN_ISSUES=$(curl -s -m 5 \ -H "Authorization: token $GITEA_API_TOKEN" \ "${GITEA_API_URL}/repos/${GITEA_REPO}/issues?state=open&milestone=none&limit=1" 2>/dev/null | \ - grep -c '"number"' || echo "0") + grep -c '"number"' 2>/dev/null) || OPEN_ISSUES=0 if [[ "$OPEN_ISSUES" -gt 0 ]]; then # Count total unplanned issues TOTAL_UNPLANNED=$(curl -s -m 5 \ -H "Authorization: token $GITEA_API_TOKEN" \ "${GITEA_API_URL}/repos/${GITEA_REPO}/issues?state=open&milestone=none" 2>/dev/null | \ - grep -c '"number"' || echo "?") + grep -c '"number"' 2>/dev/null) || TOTAL_UNPLANNED="?" echo "$PREFIX ${TOTAL_UNPLANNED} open issues without milestone - consider /sprint-plan" fi fi