freeze

Restricts file edits to a specified directory. Pre-tool hooks intercept Edit and Write operations. Trailing-slash matching prevents partial path collisions.