Prevent duplicate sends and sync worktree branch state

- Guard `onSend` with an in-flight ref to block double submits
- Set send phase before worktree prep and always clear in-flight state in `finally`
- Sync thread branch/worktree path immediately and await setup script execution
bb2164c945Julius Marminge committed on 2/27/2026, 4:51:29 AM· committed by Julius Marmingeparent8c91aa5
1 file changedLine totals unavailable