Cosmological feedback from a halo assembly perspective | Synapse