Skip to content

Release v7.182.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 23:41
2c95cc4

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 protectedPaths from 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)

Fixed

  • The write guard keeps applying the protections of the enclosing repository when a command runs inside a nested repository (#1303)
  • The worktree cleanup hook no longer keeps a delivered worktree when lsof shortens a long Linux eventpoll descriptor list (#1310)