chore(caveman): purge plugin + always-on integration

Disable + uninstall caveman@caveman and delete every repo dependency on
it: SessionStart/UserPromptSubmit hook blocks, standalone hook files,
settings.json enabledPlugins + marketplace entries, install-plugins.sh
STEP 5.5, update-all.sh refresh step, plugins.lock.json entry, doctor.sh
checks, lib/detect-plugins.sh helpers, lib/profile.sh + plugin-advisor +
skills/profile protected-list entries, .gitignore runtime-file block,
and README/USAGE docs. Dead /caveman:compress refs replaced with
manual/claude.ai guidance. Memory-registry terse-format convention kept
(separate subsystem). Version 3.4.0 -> 3.5.0.

On a subscription plan caveman's ~75% output-token compression has no
cost benefit, and the always-on hooks added friction on validation
gates and client deliverables.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01X3e8LaH2vymmxyh36h3jFU
This commit is contained in:
Bastien Chanot
2026-06-19 19:08:40 +02:00
co-authored by Claude Opus 4.8
parent 7403c658d2
commit d4a5cfec93
18 changed files with 29 additions and 234 deletions
-30
View File
@@ -271,36 +271,6 @@ else
info "design-motion-principles not installed — skipping"
fi
# ── 7.4. Update Caveman (hooks + MCP shrink) ──
# Plugin updates are handled by the marketplace plugin update loop below
# (step 8). This step refreshes the standalone hook files (statusline +
# stats badge) that live outside the plugin in ~/.claude/hooks/.
echo ""
echo "── Updating Caveman extras (hooks + MCP shrink)..."
if [ -f "$HOME/.claude/hooks/caveman-statusline.sh" ]; then
CAVEMAN_HOOKS_URL="https://raw.githubusercontent.com/JuliusBrussee/caveman/main/hooks/install.sh"
CAVEMAN_HOOKS_TMP="$(mktemp -t caveman-hooks-XXXXXX.sh)"
if curl -fsSL "$CAVEMAN_HOOKS_URL" -o "$CAVEMAN_HOOKS_TMP" \
&& bash "$CAVEMAN_HOOKS_TMP" --force 2>/dev/null; then
ok "Caveman hooks refreshed"
else
warn "Caveman hooks refresh failed — re-run install-plugins.sh"
fi
rm -f "$CAVEMAN_HOOKS_TMP"
else
info "Caveman hooks not installed — skipping (run: make plugin)"
fi
# MCP shrink uses 'npx -y caveman-shrink' which always fetches latest from
# npm at invocation time — no explicit update needed. We only check for
# user-defined wrappers (caveman-shrink-*), since the bare proxy fails
# health checks without an upstream.
if command -v claude &>/dev/null \
&& claude mcp list 2>/dev/null | grep -q '^caveman-shrink-'; then
ok "caveman-shrink wrappers detected (auto-update via npx -y)"
else
info "caveman-shrink not wrapped — manual setup (see install-plugins.sh STEP 5.5)"
fi
# ── 7.5. Update external skills (npx skills) ──
echo ""
echo "── Updating external skills (npx skills)..."