From supernovae to neutron stars: a systematic approach to axion production at finite density | Synapse