What problem does it solve? When debugging or working on one module, AI-assisted edits can accidentally modify unrelated files across the repository. This Skill enforces a hard boundary so Edit and Write operations outside a chosen directory are blocked, not just warned about. ## Core Features & Use Cases - Directory-scoped edit enforcement: A PreToolUse hook intercepts every Edit and Write call and denies any operation targeting files outside the frozen path. - Session-persistent boundary: The freeze directory is stored in a state file and re-read on every tool invocation, so the restriction lasts the whole session. - Path normalization and symlink resolution: The hook script resolves relative paths, symlinks, and .. sequences before comparing against the boundary, preventing trivial bypasses. - Use Case: While debugging a failing module in src/payments/, freeze edits to that directory so the AI cannot "fix" unrelated code elsewhere in the repo. ## Quick Start Ask the AI to freeze edits to the directory you are working in, for example by saying: restrict all edits to the src/payments folder for this session.