I was on the fence about raising this on GitHub, but it's not necessarily a feature request and it certainly isn't a bug report.
I'd like to add some actionability to every reference to commits within Magit. For instance, I'd like to add a 'browse this commit on GitHub' feature to Magithub, but I don't want to track down all the places commits are displayed to a user – I'd like to just say 'commit references should have this additional behavior' and have that just work.
Soon, I'll want to do something similar for branches, and I can easily see this list growing. A one-off solution for commits clearly won't scale well.
Is this possible already in Magit? If not, how should an implementation approach this? My guess is that the text should use a local keymap that can be modified by consumers. (If the latter, I will definitely add this as a feature request on the tracker and link the discussions together.)