Ends always justify means. Means, however, can achieve goals. 'My goal is the end of murder' can be achieved through killing everyone but yourself (your death won't be murder, whatever it might be). 'I will not kill to achieve any goal' moves the world slightly toward a no-murder contition.
That having been said, keeping a diary and having children are some field tested near substitutes.
Reading a Reddit thread about the experiences of people who woke up after a long coma, got me thinking. If something similar happens to me, I might wake up with a significant portion of my memories gone (not to mention changes of personality). The question is, how do I make sure that the amnesiac future-me will continue to pursue the goals of present-me?
This can be divided into 3 sub-questions:
Any suggestions?
PS. You may ask, why am I focusing on goals? I'll just let agent Smith speak for me.