Distinct mechanisms for spiro-carbon formation reveal biosynthetic pathway crosstalk.