Repository navigation
Release v7.182.0
Summary
Repositories can now protect their own files and folders from agent writes and destructive commands, and the worktree cleanup hook no longer keeps worktrees because of long Linux descriptor lists.
Added
- The write guard reads
protectedPathsfrom the repository's hook configuration and protects each listed file, folder (folder/) or folder contents (folder/*) like the built-in protected paths; an entry in any other shape makes the guard protect the whole repository until the configuration is fixed (#1303)