Topology and spectral entanglement in cavity-mediated photon scattering | Synapse