Bug: CLAUDE.md instructs cache clear mid-session, breaking MCP tools #145
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?
Problem Description
The
CLAUDE.mdfile contains a mandatory rule that instructs Claude to clear the plugin cache after making plugin updates:This instruction is fundamentally flawed. Clearing the cache mid-session breaks all MCP tools that were already loaded, because:
certififor TLS)Reproduction
rm -rf ~/.claude/plugins/cache/leo-claude-mktplace/Actual Error
Root Cause
The CLAUDE.md rule was written without understanding that:
Required Fixes
1. Update CLAUDE.md
Remove or modify the cache clear instruction:
Current (WRONG):
Should be:
2. Update verify-hooks.sh
The script should NOT recommend clearing cache. Instead, it should recommend restarting the session.
3. Document in DEBUGGING-CHECKLIST.md
Add a section explaining:
Acceptance Criteria
Fix Proposed
Branch:
fix/issue-145-cache-clear-instructionsChanges:
Create PR:
https://gitea.hotserv.cloud/personal-projects/leo-claude-mktplace/compare/development...fix/issue-145-cache-clear-instructions
Next Steps: