- SYNC_PROJECTS: Always use server scripts instead of falling back to
stale local scripts when server returns empty array
- runProjectScript: Pass T3CODE_WORKTREE_PATH via options.env to avoid
stale closure after SET_THREAD_BRANCH dispatch
- runProjectScript: Check hasReachedTerminalLimit before creating a new
terminal to prevent orphaned server-side PTY processes