- ChatView: Stabilize terminalIds/terminalGroups dependencies by using
JSON.stringify so React compares by value instead of reference, preventing
an infinite write loop when normalizeThreadTerminals creates new arrays.
- persistenceService.test: Fix catchUp ordering assertion to compare each
event's seq against the previous event's seq instead of itself.
- BranchToolbar: Remove redundant api.threads.updateBranch call since the
useEffect in ChatView already syncs branch changes to the server.