Guard branch sync when no active thread is selected

- Prevent `SET_THREAD_BRANCH` dispatch unless both `activeThreadId` and `syncedBranch` exist
- Avoids updating thread-branch state without an active thread context
6d8d39a5d1Julius Marminge committed on 2/17/2026, 11:12:07 PM· committed by Julius Marmingeparentafdfe16
1 file changedLine totals unavailable