Same way I do now, I write what prompted the change in the commit message.
Fwiw i don't like a session link in the commit message, because of link rot reasons.