{"version":"1.0.122","anchor":"dynamic-auto-protection-for-claude-directories","canonical_anchor":"dynamic-auto-protection-for-claude-directories","heading":"Dynamic Auto-Protection for Claude Directories","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/1.0.122\/e\/dynamic-auto-protection-for-claude-directories","release_url":"https:\/\/changelogs.core-directive.com\/v\/1.0.122","markdown":"### Dynamic Auto-Protection for Claude Directories\n\n**What changed:** Protected directories are now discovered dynamically instead of using a static list\n\n**How it works now:**\n\n- Automatically finds and protects all `.claude\/commands` and `.claude\/agents` directories in your project\n- Uses ripgrep to locate Claude-specific directories at runtime\n- Prevents accidental deletion or modification of Claude configuration\n- Also protects user config files: `.gitconfig`, `.bashrc`, `.zshrc`, `.profile`, `.ripgreprc`, `.mcp.json`\n\n**Details:**\n\n- Adapts to your project structure automatically\n- No manual configuration needed\n- More reliable protection across different project layouts\n- **Evidence**: `iR2() at line 370172` (replaces static `ZQB() at line 374759` in v1.0.120)"}