pub fn validate_worktree_path( worktrees_dir: &Path, subpath: &str, ) -> AppResult<PathBuf>
Validate a worktree path – ensures it’s under the configured worktrees directory.