Cross-correlations in the dark energy survey : from redshift distribution inference to probes of gravity with the cosmic microwave background