Repository navigation
Description
Environment
- macOS (Darwin 25.5.0)
- System git: 2.23.0 (older Xcode Command Line Tools)
- Install:
curl -fsSL https://plannotator.ai/install.sh | bash - Plannotator v0.26.4
Symptom
The installer succeeds through the binary, sem sidecar, and agent terminal runtime, then ends with:
Updated plugin hooks at ~/.claude/plugins/marketplaces/plannotator/apps/hook/hooks/hooks.json
Error: unable to fetch backnotprop/plannotator at v0.26.4 (network or git error).
Something went wrong — run the installer again.
Re-running the installer fails identically every time, so the "run the installer again" advice loops forever. Network is fine — curl works, and a plain git clone/git fetch of the repo succeeds.
Root cause
The skills step runs:
git clone --depth 1 --filter=blob:none --sparse \
"https://github.com/${REPO}.git" --branch "$latest_tag" repo 2>/dev/null || exit 1git clone --sparse was added in git 2.25. On git 2.23 the command exits immediately with:
error: unknown option `sparse'
usage: git clone [<options>] [--] <repo> [<dir>]
…which the 2>/dev/null swallows, so the failure surfaces as the generic "network or git error" message. No network call is ever attempted.
Reproduce with any git < 2.25 on PATH:
$ git --version
git version 2.23.0
$ git clone --depth 1 --filter=blob:none --sparse https://github.com/backnotprop/plannotator.git --branch v0.26.4 repo
error: unknown option `sparse'Impact
Binary/hook install is unaffected, but the Claude Code skills (plannotator-review, plannotator-annotate, plannotator-last) and other per-agent commands never install, and the error message points users at their network and an endless retry. macOS ships git this old on machines that haven't updated their Command Line Tools, so it's a deterministic failure for that population (similar in spirit to #1162, which was the same step dying on a PowerShell quirk).
Suggested fixes
Any of these would do it:
- Preflight version check before the skills step: if
git version< 2.25, print a clear message ("skills install needs git >= 2.25; found 2.23 — upgrade viaxcode-select --installor Homebrew") and skip the step gracefully instead of hard-failing the installer. - Fall back to a plain shallow clone (
git clone --depth 1+ copy the needed paths) when--sparseis unsupported. - Stop discarding stderr on the clone — capture it and include it in the failure message so the next unexpected git incompatibility self-diagnoses.
Workaround that worked here
The Claude Code plugin marketplace clone already contains the tag, so:
git -C ~/.claude/plugins/marketplaces/plannotator fetch origin --tags
git -C ~/.claude/plugins/marketplaces/plannotator archive v0.26.4 apps/skills/claude \
| tar -x --strip-components=3 -C ~/.claude/skillslands the exact files the installer would have copied.
Activity
dubbl-a commentedon Aug 8, 2026
Closing from our side — tracking this internally instead. The diagnosis above stands if it's useful to you.
fix(install): fall back to a plain shallow clone when git lacks --spa…