Restricts file editing capabilities to a specific directory to prevent accidental changes to unrelated code during development.
Directory Freeze is a workflow safety utility that locks Claude Code's edit and write operations to a user-defined path. By enforcing strict boundaries on tool usage, it ensures that AI-driven modifications remain contained within a specific target module or folder. This is particularly useful when debugging isolated issues, refactoring complex codebases, or performing surgical fixes where you want to eliminate the risk of the AI 'hallucinating' improvements in unrelated files.
주요 기능
01Real-time blocking of out-of-bounds file operations
020 GitHub stars
03Safe exclusion for read-only tools like Bash and Grep
04Session-based boundary persistence
05Directory-level edit and write locking
06Interactive path selection and resolution
사용 사례
01Scoping debugging sessions to a single module or package
02Enforcing strict guardrails during large-scale refactoring
03Preventing accidental changes to legacy or sensitive code