The correct answer, I found, depends on the needs of your organization. This sounds vague, but the main reason to provide details for code verification is context and understanding if this registration needs to be revised or revised. It can be incredibly verbose, or it can be surprisingly simple.
At one company, our code checks will refer to the number # + ticket. This is compared with our SVN with respect to the Trac ticket number, which indicated all our data on this problem or function that we used. We referenced everything through Trac, so saving our data in this form worked best for us.
For you, it depends on how you and your team work. I would use the information that you store in your notes about the need for data, how often they are referenced, and what happens if you lose context (i.e., you don’t know why the change was made).
Another consideration might concern these notes outside your code repository, which may not be the most efficient mechanism for storing this information. However, I consider this a personal preference.
source share