Add pull-request thread setup for local and worktree modes

- Add git APIs to resolve PR refs and prepare PR thread workspaces
- Support fetching PR head refs into local branches and reusing existing worktrees
- Wire new websocket/contracts/web composer flows for PR-based thread creation
- Expand server/web/contracts tests for PR routing and branch/worktree behavior
3d3586800eJulius Marminge committed on 3/10/2026, 5:50:45 AM· committed by Julius Marmingeparent767de27
27 files changedLine totals unavailable