Every Qubes-related components are open source and hosted on Github/Gitlab.
These components are also built publicly too using Gitlab CI and tested using OpenQA.
When it comes to the kernel, the full build process is visible. Example with kernel 6.1.62.