fix: remove destructive cache-clear instruction from CLAUDE.md #146

Merged
lmiranda merged 1 commits from fix/issue-145-cache-clear-instructions into development 2026-01-24 18:14:04 +00:00
Owner

Summary

  • Replace ALWAYS CLEAR CACHE rule with VERIFY AND RESTART
  • Update verify-hooks.sh to show cache as informational (not error)
  • Add DEBUGGING-CHECKLIST.md section on cache timing

Clearing cache mid-session breaks MCP tools because they load with absolute paths to the venv.

Fixes #145


Generated with Claude Code

## Summary - Replace ALWAYS CLEAR CACHE rule with VERIFY AND RESTART - Update verify-hooks.sh to show cache as informational (not error) - Add DEBUGGING-CHECKLIST.md section on cache timing Clearing cache mid-session breaks MCP tools because they load with absolute paths to the venv. Fixes #145 --- Generated with Claude Code
lmiranda added 1 commit 2026-01-24 18:13:23 +00:00
The CLAUDE.md mandatory rule instructed clearing the plugin cache
mid-session, which breaks all MCP tools that were already loaded.
MCP tools are loaded with absolute paths to the venv, and deleting
the cache removes the venv while the session still references it.

Changes:
- CLAUDE.md: Replace "ALWAYS CLEAR CACHE" with "VERIFY AND RESTART"
- verify-hooks.sh: Change cache existence from error to info message
- DEBUGGING-CHECKLIST.md: Add section explaining cache timing

Fixes #145

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
lmiranda merged commit f6a38ffaa8 into development 2026-01-24 18:14:04 +00:00
lmiranda deleted branch fix/issue-145-cache-clear-instructions 2026-01-24 18:14:04 +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#146