fix(projman): remove automatic cache clearing from session start hook #317

Merged
lmiranda merged 1 commits from fix/remove-auto-cache-clear into development 2026-01-29 16:59:53 +00:00
Owner

Summary

  • Remove automatic cache clearing from startup-check.sh hook
  • Add /clear-cache command for manual cache clearing when needed

The startup-check.sh hook was clearing ~/.claude/plugins/cache/ at every session start, which was aggressive and potentially disruptive. Cache clearing is now a manual operation.

Test plan

  • Start a new Claude Code session - no automatic cache clearing
  • Run /clear-cache - cache should be cleared manually
  • MCP servers should work without issues

Generated with Claude Code

## Summary - Remove automatic cache clearing from `startup-check.sh` hook - Add `/clear-cache` command for manual cache clearing when needed The startup-check.sh hook was clearing `~/.claude/plugins/cache/` at every session start, which was aggressive and potentially disruptive. Cache clearing is now a manual operation. ## Test plan - [ ] Start a new Claude Code session - no automatic cache clearing - [ ] Run `/clear-cache` - cache should be cleared manually - [ ] MCP servers should work without issues --- Generated with [Claude Code](https://claude.ai/code)
lmiranda added 1 commit 2026-01-29 16:59:33 +00:00
The startup-check.sh hook was clearing ~/.claude/plugins/cache/ at every
session start, which was aggressive and potentially disruptive. Cache
clearing is now a manual operation via the new /clear-cache command.

Changes:
- Remove automatic cache clearing from startup-check.sh
- Add /clear-cache command for manual cache clearing when needed

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
lmiranda merged commit 7c3a2ac31c into development 2026-01-29 16:59:53 +00:00
lmiranda deleted branch fix/remove-auto-cache-clear 2026-01-29 16:59:53 +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#317