Files
CatoandClaude Opus 5.5 9594eb1682 feat(hooks): auto-approve EnterWorktree into a sibling repo's worktree (#76)
EnterWorktree(path=~/dev/<repo>/.claude/worktrees/<name>) from a session at ~
raises a 'permission-root relocation' prompt that the EnterWorktree allow rule
does not silence. A PermissionRequest hook approves exactly that shape (resolved
with realpath, so .. and symlinks cannot escape) and falls through to the
normal prompt for anything else. Tested in both directions, wired into CI.

Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-25 00:13:41 -07:00
..